Commit 5e435acd authored by Greg Messner's avatar Greg Messner
Browse files

Restructured plugins.

parent e706de0d
...@@ -61,143 +61,145 @@ ...@@ -61,143 +61,145 @@
</scm> </scm>
<build> <build>
<defaultGoal>package</defaultGoal> <defaultGoal>package</defaultGoal>
<pluginManagement> <plugins>
<plugins> <plugin>
<plugin> <groupId>org.apache.maven.plugins</groupId>
<groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId>
<artifactId>maven-release-plugin</artifactId> <version>2.5.3</version>
<version>2.5.3</version> <configuration>
<configuration> <goals>deploy</goals>
<goals>deploy</goals> </configuration>
</configuration> </plugin>
</plugin>
<plugin> <plugin>
<artifactId>maven-scm-plugin</artifactId> <artifactId>maven-scm-plugin</artifactId>
<version>1.9.5</version> <version>1.9.5</version>
<configuration> <configuration>
<tag>${project.artifactId}-${project.version}</tag> <tag>${project.artifactId}-${project.version}</tag>
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<version>3.7.0</version> <version>3.7.0</version>
<configuration> <configuration>
<source>${java.source.version}</source> <source>${java.source.version}</source>
<target>${java.target.version}</target> <target>${java.target.version}</target>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
<id>default-compile</id> <id>default-compile</id>
<configuration> <configuration>
<excludes> <excludes>
<exclude>**/module-info.java</exclude> <exclude>**/module-info.java</exclude>
</excludes> </excludes>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId> <artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version> <version>1.6</version>
<executions> <executions>
<execution> <execution>
<id>sign-artifacts</id> <id>sign-artifacts</id>
<phase>verify</phase> <phase>verify</phase>
<goals> <goals>
<goal>sign</goal> <goal>sign</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId> <artifactId>maven-source-plugin</artifactId>
<version>3.0.0</version> <version>3.0.0</version>
<executions> <executions>
<execution> <execution>
<id>attach-sources</id> <id>attach-sources</id>
<goals> <goals>
<goal>jar-no-fork</goal> <goal>jar-no-fork</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.0</version> <version>3.0.0</version>
<executions> <executions>
<execution> <execution>
<id>attach-javadocs</id> <id>attach-javadocs</id>
<goals> <goals>
<goal>jar</goal> <goal>jar</goal>
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.jacoco</groupId> <groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId> <artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.0</version> <version>0.8.0</version>
<executions> <executions>
<execution> <execution>
<id>default-prepare-agent</id> <id>default-prepare-agent</id>
<goals> <goals>
<goal>prepare-agent</goal> <goal>prepare-agent</goal>
</goals> </goals>
</execution> </execution>
<execution> <execution>
<id>default-report</id> <id>default-report</id>
<phase>prepare-package</phase> <phase>prepare-package</phase>
<goals> <goals>
<goal>report</goal> <goal>report</goal>
</goals> </goals>
</execution> </execution>
<execution> <execution>
<id>default-check</id> <id>default-check</id>
<goals> <goals>
<goal>check</goal> <goal>check</goal>
</goals> </goals>
<configuration> <configuration>
<rules> <rules>
<!-- implementation is needed only for Maven 2 --> <!-- implementation is needed only for Maven 2 -->
<rule implementation="org.jacoco.maven.RuleConfiguration"> <rule implementation="org.jacoco.maven.RuleConfiguration">
<element>BUNDLE</element> <element>BUNDLE</element>
<limits> <limits>
<!-- implementation is needed only for Maven 2 --> <!-- implementation is needed only for Maven 2 -->
<limit implementation="org.jacoco.report.check.Limit"> <limit implementation="org.jacoco.report.check.Limit">
<counter>COMPLEXITY</counter> <counter>COMPLEXITY</counter>
<value>COVEREDRATIO</value> <value>COVEREDRATIO</value>
<minimum>0.50</minimum> <minimum>0.50</minimum>
</limit> </limit>
</limits> </limits>
</rule> </rule>
</rules> </rules>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId> <artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version> <version>2.19.1</version>
<configuration> <configuration>
<systemPropertyVariables> <systemPropertyVariables>
<jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile> <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
</systemPropertyVariables> </systemPropertyVariables>
</configuration> </configuration>
</plugin> </plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin> <plugin>
<groupId>se.bjurr.gitchangelog</groupId> <groupId>se.bjurr.gitchangelog</groupId>
<artifactId>git-changelog-maven-plugin</artifactId> <artifactId>git-changelog-maven-plugin</artifactId>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment