Skip to content

Commit 1ca5eb8

Browse files
committed
Update Maven plugins and move sources/javadoc to release profile
1 parent 42af191 commit 1ca5eb8

File tree

1 file changed

+27
-31
lines changed

1 file changed

+27
-31
lines changed

pom.xml

Lines changed: 27 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
22
<modelVersion>4.0.0</modelVersion>
3-
<prerequisites>
4-
<maven>3.0.1</maven>
5-
</prerequisites>
6-
73
<parent>
84
<groupId>org.sonatype.oss</groupId>
95
<artifactId>oss-parent</artifactId>
@@ -127,33 +123,7 @@
127123
<plugin>
128124
<groupId>org.apache.maven.plugins</groupId>
129125
<artifactId>maven-compiler-plugin</artifactId>
130-
<version>3.5.1</version>
131-
</plugin>
132-
<plugin>
133-
<groupId>org.apache.maven.plugins</groupId>
134-
<artifactId>maven-source-plugin</artifactId>
135-
<version>3.0.0</version>
136-
<executions>
137-
<execution>
138-
<id>attach-sources</id>
139-
<goals>
140-
<goal>jar</goal>
141-
</goals>
142-
</execution>
143-
</executions>
144-
</plugin>
145-
<plugin>
146-
<groupId>org.apache.maven.plugins</groupId>
147-
<artifactId>maven-javadoc-plugin</artifactId>
148-
<version>2.10.3</version>
149-
<executions>
150-
<execution>
151-
<id>attach-javadocs</id>
152-
<goals>
153-
<goal>jar</goal>
154-
</goals>
155-
</execution>
156-
</executions>
126+
<version>3.6.1</version>
157127
</plugin>
158128
<plugin>
159129
<groupId>org.apache.maven.plugins</groupId>
@@ -221,6 +191,32 @@
221191
</execution>
222192
</executions>
223193
</plugin>
194+
<plugin>
195+
<groupId>org.apache.maven.plugins</groupId>
196+
<artifactId>maven-source-plugin</artifactId>
197+
<version>3.0.1</version>
198+
<executions>
199+
<execution>
200+
<id>attach-sources</id>
201+
<goals>
202+
<goal>jar</goal>
203+
</goals>
204+
</execution>
205+
</executions>
206+
</plugin>
207+
<plugin>
208+
<groupId>org.apache.maven.plugins</groupId>
209+
<artifactId>maven-javadoc-plugin</artifactId>
210+
<version>2.10.4</version>
211+
<executions>
212+
<execution>
213+
<id>attach-javadocs</id>
214+
<goals>
215+
<goal>jar</goal>
216+
</goals>
217+
</execution>
218+
</executions>
219+
</plugin>
224220
</plugins>
225221
</build>
226222
</profile>

0 commit comments

Comments
 (0)