diff --git a/pom.xml b/pom.xml index e8bc66d2fe711b60c52ff4cc86d70fe562f8dc06..d95430e2a4d4d94a8fa750b40e22222943f4924a 100644 --- a/pom.xml +++ b/pom.xml @@ -25,6 +25,7 @@ <rugged.maven-bundle-plugin.version>2.5.3</rugged.maven-bundle-plugin.version> <rugged.maven-resources-plugin.version>2.7</rugged.maven-resources-plugin.version> <rugged.maven-clean-plugin.version>2.6.1</rugged.maven-clean-plugin.version> + <rugged.jacoco-maven-plugin.version>0.7.2.201409121644</rugged.jacoco-maven-plugin.version> <rugged.maven-plantuml-plugin.version>7940</rugged.maven-plantuml-plugin.version> <rugged.plantuml.version>7999</rugged.plantuml.version> <rugged.maven-site-plugin.version>3.4</rugged.maven-site-plugin.version> @@ -149,93 +150,112 @@ </dependencies> <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>${rugged.maven-compiler-plugin.version}</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-jar-plugin</artifactId> - <version>${rugged.maven-jar-plugin.version}</version> - <configuration> - <archive> - <manifest> - <addClasspath>true</addClasspath> - <classpathPrefix>lib/</classpathPrefix> - </manifest> - </archive> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-assembly-plugin</artifactId> - <version>${rugged.maven-assembly-plugin.version}</version> - <configuration> - <descriptors> - <descriptor>src/assembly/source-assembly.xml</descriptor> - <descriptor>src/assembly/binary-assembly.xml</descriptor> - </descriptors> - </configuration> - <executions> - <execution> - <id>make-assembly</id> - <phase>package</phase> - <goals> - <goal>single</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-resources-plugin</artifactId> - <version>${rugged.maven-resources-plugin.version}</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-clean-plugin</artifactId> - <version>${rugged.maven-clean-plugin.version}</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <version>${rugged.maven-site-plugin.version}</version> - </plugin> - <plugin> - <groupId>com.github.jeluard</groupId> - <artifactId>maven-plantuml-plugin</artifactId> - <version>${rugged.maven-plantuml-plugin.version}</version> - <configuration> - <sourceFiles> - <directory>${basedir}</directory> - <includes> - <include> - design/**/*.puml - </include> - </includes> - </sourceFiles> - <outputDirectory> - ${basedir}/target/site/images/design - </outputDirectory> - </configuration> - <executions> - <execution> - <phase>pre-site</phase> - <goals> - <goal>generate</goal> - </goals> - </execution> - </executions> - <dependencies> - <dependency> - <groupId>net.sourceforge.plantuml</groupId> - <artifactId>plantuml</artifactId> - <version>${rugged.plantuml.version}</version> - </dependency> - </dependencies> - </plugin> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>${rugged.maven-compiler-plugin.version}</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-jar-plugin</artifactId> + <version>${rugged.maven-jar-plugin.version}</version> + <configuration> + <archive> + <manifest> + <addClasspath>true</addClasspath> + <classpathPrefix>lib/</classpathPrefix> + </manifest> + </archive> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>${rugged.maven-assembly-plugin.version}</version> + <configuration> + <descriptors> + <descriptor>src/assembly/source-assembly.xml</descriptor> + <descriptor>src/assembly/binary-assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <version>${rugged.maven-resources-plugin.version}</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-clean-plugin</artifactId> + <version>${rugged.maven-clean-plugin.version}</version> + </plugin> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>${rugged.jacoco-maven-plugin.version}</version> + <executions> + <execution> + <id>prepare-agent</id> + <phase>process-test-classes</phase> + <goals> + <goal>prepare-agent</goal> + </goals> + </execution> + <execution> + <id>report</id> + <phase>site</phase> + <goals> + <goal>report</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <version>${rugged.maven-site-plugin.version}</version> + </plugin> + <plugin> + <groupId>com.github.jeluard</groupId> + <artifactId>maven-plantuml-plugin</artifactId> + <version>${rugged.maven-plantuml-plugin.version}</version> + <configuration> + <sourceFiles> + <directory>${basedir}</directory> + <includes> + <include> + design/**/*.puml + </include> + </includes> + </sourceFiles> + <outputDirectory>${basedir}/target/site/images/design</outputDirectory> + </configuration> + <executions> + <execution> + <phase>pre-site</phase> + <goals> + <goal>generate</goal> + </goals> + </execution> + </executions> + <dependencies> + <dependency> + <groupId>net.sourceforge.plantuml</groupId> + <artifactId>plantuml</artifactId> + <version>${rugged.plantuml.version}</version> + </dependency> + </dependencies> + </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> @@ -369,6 +389,11 @@ </reportSet> </reportSets> </plugin> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>${rugged.jacoco-maven-plugin.version}</version> + </plugin> </plugins> </reporting>