Created
September 19, 2015 18:54
-
-
Save sebbaum/3325aed90e1f00ccc411 to your computer and use it in GitHub Desktop.
My default pom.xml for JSF projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>de.sebbaum</groupId> | |
<artifactId>coffeeCounter</artifactId> | |
<version>0.1-SNAPSHOT</version> | |
<packaging>war</packaging> | |
<dependencies> | |
<dependency> | |
<groupId>javax</groupId> | |
<artifactId>javaee-api</artifactId> | |
<version>7.0</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.12</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.mockito</groupId> | |
<artifactId>mockito-all</artifactId> | |
<version>1.9.5</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<finalName>coffeeCounter</finalName> | |
<plugins> | |
<plugin> | |
<groupId>org.jacoco</groupId> | |
<artifactId>jacoco-maven-plugin</artifactId> | |
<version>0.7.4.201502262128</version> | |
<!--<version>0.7.5.201505241946</version>--> | |
<executions> | |
<execution> | |
<id>default-prepare-agent</id> | |
<goals> | |
<goal>prepare-agent</goal> | |
</goals> | |
</execution> | |
<execution> | |
<id>default-report</id> | |
<phase>prepare-package</phase> | |
<goals> | |
<goal>report</goal> | |
</goals> | |
</execution> | |
<execution> | |
<id>default-check</id> | |
<goals> | |
<goal>check</goal> | |
</goals> | |
<configuration> | |
<rules> | |
<rule> | |
<element>BUNDLE</element> | |
<limits> | |
<limit> | |
<counter>COMPLEXITY</counter> | |
<value>COVEREDRATIO</value> | |
<minimum>0.90</minimum> | |
</limit> | |
</limits> | |
</rule> | |
</rules> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.18.1</version> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<version>2.18.1</version> | |
</dependency> | |
</dependencies> | |
<configuration> | |
<includes> | |
<include>**/*IT.java</include> | |
<include>**/*Test.java</include> | |
</includes> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.pitest</groupId> | |
<artifactId>pitest-maven</artifactId> | |
<version>1.1.6</version> | |
<configuration> | |
<targetClasses> | |
<param>de.sebbaum.*</param> | |
</targetClasses> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<properties> | |
<maven.compiler.source>1.8</maven.compiler.source> | |
<maven.compiler.target>1.8</maven.compiler.target> | |
<failOnMissingWebXml>false</failOnMissingWebXml> | |
</properties> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment