Skip to content

Commit cc0d29f

Browse files
committed
fixed javadoc plugin
1 parent ccea106 commit cc0d29f

File tree

1 file changed

+38
-49
lines changed

1 file changed

+38
-49
lines changed

pom.xml

Lines changed: 38 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -151,54 +151,43 @@
151151
<artifactId>maven-release-plugin</artifactId>
152152
<version>2.1</version>
153153
</plugin>
154+
155+
<plugin>
156+
<groupId>org.apache.maven.plugins</groupId>
157+
<artifactId>maven-javadoc-plugin</artifactId>
158+
<version>2.10.3</version>
159+
<configuration>
160+
<aggregate>true</aggregate>
161+
<source>1.7</source>
162+
<encoding>UTF-8</encoding>
163+
<maxmemory>1g</maxmemory>
164+
<excludePackageNames>${javadoc.package.exclude}</excludePackageNames>
165+
</configuration>
166+
<executions>
167+
<execution>
168+
<id>attach-javadocs</id>
169+
<phase>verify</phase>
170+
<goals>
171+
<goal>jar</goal>
172+
</goals>
173+
</execution>
174+
</executions>
175+
</plugin>
176+
<plugin>
177+
<groupId>org.apache.maven.plugins</groupId>
178+
<artifactId>maven-source-plugin</artifactId>
179+
<version>2.1.2</version>
180+
<executions>
181+
<execution>
182+
<id>attach-sources</id>
183+
<phase>verify</phase>
184+
<goals>
185+
<goal>jar-no-fork</goal>
186+
</goals>
187+
</execution>
188+
</executions>
189+
</plugin>
154190
</plugins>
155-
<pluginManagement>
156-
<plugins>
157-
<plugin>
158-
<groupId>net.alchim31.maven</groupId>
159-
<artifactId>scala-maven-plugin</artifactId>
160-
<version>${scala-maven-plugin-version}</version>
161-
</plugin>
162-
<plugin>
163-
<groupId>org.apache.maven.plugins</groupId>
164-
<artifactId>maven-javadoc-plugin</artifactId>
165-
<version>2.9</version>
166-
<configuration>
167-
<aggregate>true</aggregate>
168-
<source>1.6</source>
169-
<encoding>UTF-8</encoding>
170-
<maxmemory>1g</maxmemory>
171-
<links>
172-
<link>http://java.sun.com/javase/6/docs/api/</link>
173-
</links>
174-
<excludePackageNames>${javadoc.package.exclude}</excludePackageNames>
175-
</configuration>
176-
<executions>
177-
<execution>
178-
<id>attach-javadocs</id>
179-
<phase>verify</phase>
180-
<goals>
181-
<goal>jar</goal>
182-
</goals>
183-
</execution>
184-
</executions>
185-
</plugin>
186-
<plugin>
187-
<groupId>org.apache.maven.plugins</groupId>
188-
<artifactId>maven-source-plugin</artifactId>
189-
<version>2.1.2</version>
190-
<executions>
191-
<execution>
192-
<id>attach-sources</id>
193-
<phase>verify</phase>
194-
<goals>
195-
<goal>jar-no-fork</goal>
196-
</goals>
197-
</execution>
198-
</executions>
199-
</plugin>
200-
</plugins>
201-
</pluginManagement>
202191
</build>
203192
<profiles>
204193
<profile>
@@ -530,10 +519,10 @@
530519
</repository>
531520
</repositories>
532521
<properties>
533-
<swagger-parser-version>1.0.15-SNAPSHOT</swagger-parser-version>
522+
<swagger-parser-version>1.0.15</swagger-parser-version>
534523
<scala-version>2.11.1</scala-version>
535524
<felix-version>2.3.4</felix-version>
536-
<swagger-core-version>1.5.5</swagger-core-version>
525+
<swagger-core-version>1.5.6</swagger-core-version>
537526
<commons-io-version>2.4</commons-io-version>
538527
<commons-cli-version>1.2</commons-cli-version>
539528
<junit-version>4.8.1</junit-version>

0 commit comments

Comments
 (0)