Skip to content

Commit 5e435ac

Browse files
committed
Restructured plugins.
1 parent e706de0 commit 5e435ac

File tree

1 file changed

+131
-129
lines changed

1 file changed

+131
-129
lines changed

pom.xml

Lines changed: 131 additions & 129 deletions
Original file line numberDiff line numberDiff line change
@@ -61,143 +61,145 @@
6161
</scm>
6262

6363
<build>
64-
<defaultGoal>package</defaultGoal>
65-
<pluginManagement>
66-
<plugins>
67-
<plugin>
68-
<groupId>org.apache.maven.plugins</groupId>
69-
<artifactId>maven-release-plugin</artifactId>
70-
<version>2.5.3</version>
71-
<configuration>
72-
<goals>deploy</goals>
73-
</configuration>
74-
</plugin>
64+
<defaultGoal>package</defaultGoal>
65+
<plugins>
66+
<plugin>
67+
<groupId>org.apache.maven.plugins</groupId>
68+
<artifactId>maven-release-plugin</artifactId>
69+
<version>2.5.3</version>
70+
<configuration>
71+
<goals>deploy</goals>
72+
</configuration>
73+
</plugin>
7574

76-
<plugin>
77-
<artifactId>maven-scm-plugin</artifactId>
78-
<version>1.9.5</version>
79-
<configuration>
80-
<tag>${project.artifactId}-${project.version}</tag>
81-
</configuration>
82-
</plugin>
75+
<plugin>
76+
<artifactId>maven-scm-plugin</artifactId>
77+
<version>1.9.5</version>
78+
<configuration>
79+
<tag>${project.artifactId}-${project.version}</tag>
80+
</configuration>
81+
</plugin>
8382

84-
<plugin>
85-
<groupId>org.apache.maven.plugins</groupId>
86-
<artifactId>maven-compiler-plugin</artifactId>
87-
<version>3.7.0</version>
88-
<configuration>
89-
<source>${java.source.version}</source>
90-
<target>${java.target.version}</target>
91-
</configuration>
92-
<executions>
93-
<execution>
94-
<id>default-compile</id>
95-
<configuration>
96-
<excludes>
97-
<exclude>**/module-info.java</exclude>
98-
</excludes>
99-
</configuration>
100-
</execution>
101-
</executions>
102-
</plugin>
83+
<plugin>
84+
<groupId>org.apache.maven.plugins</groupId>
85+
<artifactId>maven-compiler-plugin</artifactId>
86+
<version>3.7.0</version>
87+
<configuration>
88+
<source>${java.source.version}</source>
89+
<target>${java.target.version}</target>
90+
</configuration>
91+
<executions>
92+
<execution>
93+
<id>default-compile</id>
94+
<configuration>
95+
<excludes>
96+
<exclude>**/module-info.java</exclude>
97+
</excludes>
98+
</configuration>
99+
</execution>
100+
</executions>
101+
</plugin>
103102

104-
<plugin>
105-
<groupId>org.apache.maven.plugins</groupId>
106-
<artifactId>maven-gpg-plugin</artifactId>
107-
<version>1.6</version>
108-
<executions>
109-
<execution>
110-
<id>sign-artifacts</id>
111-
<phase>verify</phase>
112-
<goals>
113-
<goal>sign</goal>
114-
</goals>
115-
</execution>
116-
</executions>
117-
</plugin>
103+
<plugin>
104+
<groupId>org.apache.maven.plugins</groupId>
105+
<artifactId>maven-gpg-plugin</artifactId>
106+
<version>1.6</version>
107+
<executions>
108+
<execution>
109+
<id>sign-artifacts</id>
110+
<phase>verify</phase>
111+
<goals>
112+
<goal>sign</goal>
113+
</goals>
114+
</execution>
115+
</executions>
116+
</plugin>
118117

119-
<plugin>
120-
<groupId>org.apache.maven.plugins</groupId>
121-
<artifactId>maven-source-plugin</artifactId>
122-
<version>3.0.0</version>
123-
<executions>
124-
<execution>
125-
<id>attach-sources</id>
126-
<goals>
127-
<goal>jar-no-fork</goal>
128-
</goals>
129-
</execution>
130-
</executions>
131-
</plugin>
118+
<plugin>
119+
<groupId>org.apache.maven.plugins</groupId>
120+
<artifactId>maven-source-plugin</artifactId>
121+
<version>3.0.0</version>
122+
<executions>
123+
<execution>
124+
<id>attach-sources</id>
125+
<goals>
126+
<goal>jar-no-fork</goal>
127+
</goals>
128+
</execution>
129+
</executions>
130+
</plugin>
132131

133-
<plugin>
134-
<groupId>org.apache.maven.plugins</groupId>
135-
<artifactId>maven-javadoc-plugin</artifactId>
136-
<version>3.0.0</version>
137-
<executions>
138-
<execution>
139-
<id>attach-javadocs</id>
140-
<goals>
141-
<goal>jar</goal>
142-
</goals>
143-
</execution>
144-
</executions>
145-
</plugin>
132+
<plugin>
133+
<groupId>org.apache.maven.plugins</groupId>
134+
<artifactId>maven-javadoc-plugin</artifactId>
135+
<version>3.0.0</version>
136+
<executions>
137+
<execution>
138+
<id>attach-javadocs</id>
139+
<goals>
140+
<goal>jar</goal>
141+
</goals>
142+
</execution>
143+
</executions>
144+
</plugin>
146145

147-
<plugin>
148-
<groupId>org.jacoco</groupId>
149-
<artifactId>jacoco-maven-plugin</artifactId>
150-
<version>0.8.0</version>
151-
<executions>
152-
<execution>
153-
<id>default-prepare-agent</id>
154-
<goals>
155-
<goal>prepare-agent</goal>
156-
</goals>
157-
</execution>
158-
<execution>
159-
<id>default-report</id>
160-
<phase>prepare-package</phase>
161-
<goals>
162-
<goal>report</goal>
163-
</goals>
164-
</execution>
165-
<execution>
166-
<id>default-check</id>
167-
<goals>
168-
<goal>check</goal>
169-
</goals>
170-
<configuration>
171-
<rules>
172-
<!-- implementation is needed only for Maven 2 -->
173-
<rule implementation="org.jacoco.maven.RuleConfiguration">
174-
<element>BUNDLE</element>
175-
<limits>
176-
<!-- implementation is needed only for Maven 2 -->
177-
<limit implementation="org.jacoco.report.check.Limit">
178-
<counter>COMPLEXITY</counter>
179-
<value>COVEREDRATIO</value>
180-
<minimum>0.50</minimum>
181-
</limit>
182-
</limits>
183-
</rule>
184-
</rules>
185-
</configuration>
186-
</execution>
187-
</executions>
188-
</plugin>
146+
<plugin>
147+
<groupId>org.jacoco</groupId>
148+
<artifactId>jacoco-maven-plugin</artifactId>
149+
<version>0.8.0</version>
150+
<executions>
151+
<execution>
152+
<id>default-prepare-agent</id>
153+
<goals>
154+
<goal>prepare-agent</goal>
155+
</goals>
156+
</execution>
157+
<execution>
158+
<id>default-report</id>
159+
<phase>prepare-package</phase>
160+
<goals>
161+
<goal>report</goal>
162+
</goals>
163+
</execution>
164+
<execution>
165+
<id>default-check</id>
166+
<goals>
167+
<goal>check</goal>
168+
</goals>
169+
<configuration>
170+
<rules>
171+
<!-- implementation is needed only for Maven 2 -->
172+
<rule implementation="org.jacoco.maven.RuleConfiguration">
173+
<element>BUNDLE</element>
174+
<limits>
175+
<!-- implementation is needed only for Maven 2 -->
176+
<limit implementation="org.jacoco.report.check.Limit">
177+
<counter>COMPLEXITY</counter>
178+
<value>COVEREDRATIO</value>
179+
<minimum>0.50</minimum>
180+
</limit>
181+
</limits>
182+
</rule>
183+
</rules>
184+
</configuration>
185+
</execution>
186+
</executions>
187+
</plugin>
189188

190-
<plugin>
191-
<groupId>org.apache.maven.plugins</groupId>
192-
<artifactId>maven-surefire-plugin</artifactId>
193-
<version>2.19.1</version>
194-
<configuration>
195-
<systemPropertyVariables>
196-
<jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
197-
</systemPropertyVariables>
198-
</configuration>
199-
</plugin>
189+
<plugin>
190+
<groupId>org.apache.maven.plugins</groupId>
191+
<artifactId>maven-surefire-plugin</artifactId>
192+
<version>2.19.1</version>
193+
<configuration>
194+
<systemPropertyVariables>
195+
<jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile>
196+
</systemPropertyVariables>
197+
</configuration>
198+
</plugin>
199+
</plugins>
200200

201+
<pluginManagement>
202+
<plugins>
201203
<plugin>
202204
<groupId>se.bjurr.gitchangelog</groupId>
203205
<artifactId>git-changelog-maven-plugin</artifactId>

0 commit comments

Comments
 (0)