Skip to content

Commit 40670b2

Browse files
committed
moved plugins into pluginMgt where appropriate
1 parent 2952b9e commit 40670b2

File tree

1 file changed

+41
-31
lines changed

1 file changed

+41
-31
lines changed

pom.xml

Lines changed: 41 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -42,22 +42,48 @@
4242
</snapshotRepository>
4343
</distributionManagement>
4444
<build>
45+
<pluginManagement>
46+
<plugins>
47+
<plugin>
48+
<artifactId>maven-compiler-plugin</artifactId>
49+
<version>3.1</version>
50+
<configuration>
51+
<source>1.7</source>
52+
<target>1.7</target>
53+
</configuration>
54+
</plugin>
55+
<plugin>
56+
<artifactId>maven-war-plugin</artifactId>
57+
<version>2.3</version>
58+
<configuration>
59+
<failOnMissingWebXml>false</failOnMissingWebXml>
60+
</configuration>
61+
</plugin>
62+
<plugin>
63+
<artifactId>maven-release-plugin</artifactId>
64+
<version>2.5.1</version>
65+
<configuration>
66+
<tagNameFormat>v@{project.version}</tagNameFormat>
67+
<autoVersionSubmodules>true</autoVersionSubmodules>
68+
<releaseProfiles>release</releaseProfiles>
69+
</configuration>
70+
</plugin>
71+
<plugin>
72+
<artifactId>maven-javadoc-plugin</artifactId>
73+
<version>2.10.1</version>
74+
<configuration>
75+
<show>private</show>
76+
<nohelp>true</nohelp>
77+
</configuration>
78+
</plugin>
79+
<plugin>
80+
<groupId>org.apache.maven.plugins</groupId>
81+
<artifactId>maven-source-plugin</artifactId>
82+
<version>2.4</version>
83+
</plugin>
84+
</plugins>
85+
</pluginManagement>
4586
<plugins>
46-
<plugin>
47-
<artifactId>maven-compiler-plugin</artifactId>
48-
<version>3.1</version>
49-
<configuration>
50-
<source>1.7</source>
51-
<target>1.7</target>
52-
</configuration>
53-
</plugin>
54-
<plugin>
55-
<artifactId>maven-war-plugin</artifactId>
56-
<version>2.3</version>
57-
<configuration>
58-
<failOnMissingWebXml>false</failOnMissingWebXml>
59-
</configuration>
60-
</plugin>
6187
<plugin>
6288
<groupId>org.wildfly.plugins</groupId>
6389
<artifactId>wildfly-maven-plugin</artifactId>
@@ -81,11 +107,6 @@
81107
<plugin>
82108
<groupId>org.apache.maven.plugins</groupId>
83109
<artifactId>maven-javadoc-plugin</artifactId>
84-
<version>2.10.1</version>
85-
<configuration>
86-
<show>private</show>
87-
<nohelp>true</nohelp>
88-
</configuration>
89110
<executions>
90111
<execution>
91112
<id>attach-javadocs</id>
@@ -98,7 +119,6 @@
98119
<plugin>
99120
<groupId>org.apache.maven.plugins</groupId>
100121
<artifactId>maven-source-plugin</artifactId>
101-
<version>2.4</version>
102122
<executions>
103123
<execution>
104124
<id>attach-sources</id>
@@ -108,16 +128,6 @@
108128
</execution>
109129
</executions>
110130
</plugin>
111-
<plugin>
112-
<groupId>org.apache.maven.plugins</groupId>
113-
<artifactId>maven-release-plugin</artifactId>
114-
<version>2.5.1</version>
115-
<configuration>
116-
<tagNameFormat>v@{project.version}</tagNameFormat>
117-
<autoVersionSubmodules>true</autoVersionSubmodules>
118-
<releaseProfiles>release</releaseProfiles>
119-
</configuration>
120-
</plugin>
121131
</plugins>
122132
</build>
123133
</profile>

0 commit comments

Comments
 (0)