Skip to content

Commit fd0d1a9

Browse files
committed
Removed unnecessary pluginManagement element
1 parent 0778ce5 commit fd0d1a9

1 file changed

Lines changed: 143 additions & 145 deletions

File tree

pom.xml

Lines changed: 143 additions & 145 deletions
Original file line numberDiff line numberDiff line change
@@ -171,151 +171,149 @@
171171
</repository>
172172
</repositories>
173173
<build>
174-
<pluginManagement>
175-
<plugins>
176-
<plugin>
177-
<!-- Extended Maven antrun plugin -->
178-
<!-- https://maven-antrun-extended-plugin.dev.java.net/ -->
179-
<groupId>org.jvnet.maven-antrun-extended-plugin</groupId>
180-
<artifactId>maven-antrun-extended-plugin</artifactId>
181-
<executions>
182-
<execution>
183-
<id>test-reports</id>
184-
<phase>test</phase>
185-
<configuration>
186-
<tasks unless="maven.test.skip">
187-
<junitreport todir="target/surefire-reports">
188-
<fileset dir="target/surefire-reports">
189-
<include name="**/*.xml" />
190-
</fileset>
191-
<report format="noframes" todir="target/surefire-reports" />
192-
</junitreport>
193-
</tasks>
194-
</configuration>
195-
<goals>
196-
<goal>run</goal>
197-
</goals>
198-
</execution>
199-
</executions>
200-
<dependencies>
201-
<dependency>
202-
<groupId>org.apache.ant</groupId>
203-
<artifactId>ant-junit</artifactId>
204-
<version>1.8.0</version>
205-
</dependency>
206-
<dependency>
207-
<groupId>org.apache.ant</groupId>
208-
<artifactId>ant-trax</artifactId>
209-
<version>1.8.0</version>
210-
</dependency>
211-
</dependencies>
212-
</plugin>
213-
<plugin>
214-
<groupId>org.apache.maven.plugins</groupId>
215-
<artifactId>maven-surefire-plugin</artifactId>
216-
<version>${surefire.reportplugin.version}</version>
217-
<configuration>
218-
<argLine>-Duser.timezone=UTC -XX:MaxPermSize=1024m -Xmx1024m</argLine>
219-
<skipTests>false</skipTests>
220-
<testFailureIgnore>true</testFailureIgnore>
221-
<forkMode>once</forkMode>
222-
<includes>
223-
<include>**/*Test.java</include>
224-
</includes>
225-
<useFile>false</useFile>
226-
</configuration>
227-
</plugin>
228-
<plugin>
229-
<groupId>org.apache.maven.plugins</groupId>
230-
<artifactId>maven-compiler-plugin</artifactId>
231-
<version>2.5.1</version>
232-
<configuration>
233-
<source>1.6</source>
234-
<target>1.6</target>
235-
</configuration>
236-
</plugin>
237-
<plugin>
238-
<groupId>org.apache.maven.plugins</groupId>
239-
<artifactId>maven-shade-plugin</artifactId>
240-
<version>2.3</version>
241-
<configuration>
242-
<outputFile>${project.build.directory}/${project.build.finalName}-${project.build.withDependencies}.jar</outputFile>
243-
<transformers>
244-
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
245-
<mainClass>org.buddycloud.channelserver.Main</mainClass>
246-
</transformer>
247-
</transformers>
248-
</configuration>
249-
<executions>
250-
<execution>
251-
<phase>package</phase>
252-
<goals>
253-
<goal>shade</goal>
254-
</goals>
255-
</execution>
256-
</executions>
257-
</plugin>
258-
<plugin>
259-
<groupId>org.apache.maven.plugins</groupId>
260-
<artifactId>maven-checkstyle-plugin</artifactId>
261-
<version>${checkstyle.version}</version>
262-
<configuration>
263-
<!-- Set the property samedir so that the suppression file can be resolved by both maven and eclipse-cs -->
264-
<propertyExpansion>samedir=${basedir}/src/main/resources</propertyExpansion>
265-
<failOnViolation>true</failOnViolation>
266-
<failOnError>true</failOnError>
267-
<encoding>UTF-8</encoding>
268-
<consoleOutput>false</consoleOutput>
269-
<linkXRef>false</linkXRef>
270-
<includes>**\/*.java</includes>
271-
<includeResources>false</includeResources>
272-
</configuration>
273-
<executions>
274-
<execution>
275-
<id>validate</id>
276-
<phase>validate</phase>
277-
<goals>
278-
<goal>check</goal>
279-
</goals>
280-
</execution>
281-
</executions>
282-
</plugin>
283-
<plugin>
284-
<groupId>org.codehaus.mojo</groupId>
285-
<artifactId>cobertura-maven-plugin</artifactId>
286-
<version>2.6</version>
287-
</plugin>
288-
<plugin>
289-
<groupId>org.eluder.coveralls</groupId>
290-
<artifactId>coveralls-maven-plugin</artifactId>
291-
<version>2.2.0</version>
292-
<configuration>
293-
<format>xml</format>
294-
<maxmem>256m</maxmem>
295-
<aggregate>true</aggregate>
296-
<sourceEncoding>UTF-8</sourceEncoding>
297-
<serviceName>travis-ci</serviceName>
298-
</configuration>
299-
</plugin>
300-
<plugin>
301-
<groupId>org.codehaus.mojo</groupId>
302-
<artifactId>findbugs-maven-plugin</artifactId>
303-
<version>2.5.5</version>
304-
<configuration>
305-
<effort>Max</effort>
306-
<xmlOutput>true</xmlOutput>
307-
</configuration>
308-
<executions>
309-
<execution>
310-
<phase>verify</phase>
311-
<goals>
312-
<goal>check</goal>
313-
</goals>
314-
</execution>
315-
</executions>
316-
</plugin>
317-
</plugins>
318-
</pluginManagement>
174+
<plugins>
175+
<plugin>
176+
<!-- Extended Maven antrun plugin -->
177+
<!-- https://maven-antrun-extended-plugin.dev.java.net/ -->
178+
<groupId>org.jvnet.maven-antrun-extended-plugin</groupId>
179+
<artifactId>maven-antrun-extended-plugin</artifactId>
180+
<executions>
181+
<execution>
182+
<id>test-reports</id>
183+
<phase>test</phase>
184+
<configuration>
185+
<tasks unless="maven.test.skip">
186+
<junitreport todir="target/surefire-reports">
187+
<fileset dir="target/surefire-reports">
188+
<include name="**/*.xml" />
189+
</fileset>
190+
<report format="noframes" todir="target/surefire-reports" />
191+
</junitreport>
192+
</tasks>
193+
</configuration>
194+
<goals>
195+
<goal>run</goal>
196+
</goals>
197+
</execution>
198+
</executions>
199+
<dependencies>
200+
<dependency>
201+
<groupId>org.apache.ant</groupId>
202+
<artifactId>ant-junit</artifactId>
203+
<version>1.8.0</version>
204+
</dependency>
205+
<dependency>
206+
<groupId>org.apache.ant</groupId>
207+
<artifactId>ant-trax</artifactId>
208+
<version>1.8.0</version>
209+
</dependency>
210+
</dependencies>
211+
</plugin>
212+
<plugin>
213+
<groupId>org.apache.maven.plugins</groupId>
214+
<artifactId>maven-surefire-plugin</artifactId>
215+
<version>${surefire.reportplugin.version}</version>
216+
<configuration>
217+
<argLine>-Duser.timezone=UTC -XX:MaxPermSize=1024m -Xmx1024m</argLine>
218+
<skipTests>false</skipTests>
219+
<testFailureIgnore>true</testFailureIgnore>
220+
<forkMode>once</forkMode>
221+
<includes>
222+
<include>**/*Test.java</include>
223+
</includes>
224+
<useFile>false</useFile>
225+
</configuration>
226+
</plugin>
227+
<plugin>
228+
<groupId>org.apache.maven.plugins</groupId>
229+
<artifactId>maven-compiler-plugin</artifactId>
230+
<version>2.5.1</version>
231+
<configuration>
232+
<source>1.6</source>
233+
<target>1.6</target>
234+
</configuration>
235+
</plugin>
236+
<plugin>
237+
<groupId>org.apache.maven.plugins</groupId>
238+
<artifactId>maven-shade-plugin</artifactId>
239+
<version>2.3</version>
240+
<configuration>
241+
<outputFile>${project.build.directory}/${project.build.finalName}-${project.build.withDependencies}.jar</outputFile>
242+
<transformers>
243+
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
244+
<mainClass>org.buddycloud.channelserver.Main</mainClass>
245+
</transformer>
246+
</transformers>
247+
</configuration>
248+
<executions>
249+
<execution>
250+
<phase>package</phase>
251+
<goals>
252+
<goal>shade</goal>
253+
</goals>
254+
</execution>
255+
</executions>
256+
</plugin>
257+
<plugin>
258+
<groupId>org.apache.maven.plugins</groupId>
259+
<artifactId>maven-checkstyle-plugin</artifactId>
260+
<version>${checkstyle.version}</version>
261+
<configuration>
262+
<!-- Set the property samedir so that the suppression file can be resolved by both maven and eclipse-cs -->
263+
<propertyExpansion>samedir=${basedir}/src/main/resources</propertyExpansion>
264+
<failOnViolation>true</failOnViolation>
265+
<failOnError>true</failOnError>
266+
<encoding>UTF-8</encoding>
267+
<consoleOutput>false</consoleOutput>
268+
<linkXRef>false</linkXRef>
269+
<includes>**\/*.java</includes>
270+
<includeResources>false</includeResources>
271+
</configuration>
272+
<executions>
273+
<execution>
274+
<id>validate</id>
275+
<phase>validate</phase>
276+
<goals>
277+
<goal>check</goal>
278+
</goals>
279+
</execution>
280+
</executions>
281+
</plugin>
282+
<plugin>
283+
<groupId>org.codehaus.mojo</groupId>
284+
<artifactId>cobertura-maven-plugin</artifactId>
285+
<version>2.6</version>
286+
</plugin>
287+
<plugin>
288+
<groupId>org.eluder.coveralls</groupId>
289+
<artifactId>coveralls-maven-plugin</artifactId>
290+
<version>2.2.0</version>
291+
<configuration>
292+
<format>xml</format>
293+
<maxmem>256m</maxmem>
294+
<aggregate>true</aggregate>
295+
<sourceEncoding>UTF-8</sourceEncoding>
296+
<serviceName>travis-ci</serviceName>
297+
</configuration>
298+
</plugin>
299+
<plugin>
300+
<groupId>org.codehaus.mojo</groupId>
301+
<artifactId>findbugs-maven-plugin</artifactId>
302+
<version>2.5.5</version>
303+
<configuration>
304+
<effort>Max</effort>
305+
<xmlOutput>true</xmlOutput>
306+
</configuration>
307+
<executions>
308+
<execution>
309+
<phase>verify</phase>
310+
<goals>
311+
<goal>check</goal>
312+
</goals>
313+
</execution>
314+
</executions>
315+
</plugin>
316+
</plugins>
319317
</build>
320318

321319
<reporting>

0 commit comments

Comments
 (0)