Skip to content

Commit f4312a0

Browse files
author
Rafael Winterhalter
committed
Further configuration of the javadoc plugin.
1 parent debbb92 commit f4312a0

1 file changed

Lines changed: 17 additions & 11 deletions

File tree

pom.xml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@
4848
<distribution.bintray>https://api.bintray.com/maven/raphw/maven/ByteBuddy</distribution.bintray>
4949
<shade.source>org.objectweb.asm</shade.source>
5050
<shade.target>net.bytebuddy.jar.asm</shade.target>
51-
<version.asm>5.0.3</version.asm>
51+
<asm.javadoc>http://asm.ow2.org/asm50/javadoc/user/</asm.javadoc>
52+
<version.asm>5.0.4</version.asm>
5253
<version.junit>4.12</version.junit>
5354
<version.mockito>1.10.19</version.mockito>
5455
<version.plugin.bundle>2.5.4</version.plugin.bundle>
@@ -259,7 +260,6 @@
259260
<version>${version.plugin.source}</version>
260261
<executions>
261262
<execution>
262-
<id>attach-sources</id>
263263
<goals>
264264
<goal>jar</goal>
265265
</goals>
@@ -278,14 +278,22 @@
278278
<goal>jar</goal>
279279
</goals>
280280
</execution>
281-
<execution>
282-
<id>aggregate-javadoc</id>
283-
<goals>
284-
<goal>aggregate</goal>
285-
</goals>
286-
<phase>package</phase>
287-
</execution>
281+
<!-- Additionally to the regular jar file specified above, create an aggregated jar. -->
282+
<!-- This does not seem to work when activated during deployment (Shade plugin?). -->
283+
<!--<execution>-->
284+
<!--<id>aggregate-javadoc</id>-->
285+
<!--<goals>-->
286+
<!--<goal>aggregate</goal>-->
287+
<!--</goals>-->
288+
<!--<phase>package</phase>-->
289+
<!--</execution>-->
288290
</executions>
291+
<configuration>
292+
<detectJavaApiLink>true</detectJavaApiLink>
293+
<links>
294+
<link>${asm.javadoc}</link>
295+
</links>
296+
</configuration>
289297
</plugin>
290298
</plugins>
291299
</build>
@@ -304,7 +312,6 @@
304312
<version>${version.plugin.gpg}</version>
305313
<executions>
306314
<execution>
307-
<id>sign-artifacts</id>
308315
<phase>verify</phase>
309316
<goals>
310317
<goal>sign</goal>
@@ -329,7 +336,6 @@
329336
<version>${version.plugin.checkstyle}</version>
330337
<executions>
331338
<execution>
332-
<id>validate</id>
333339
<phase>validate</phase>
334340
<goals>
335341
<goal>check</goal>

0 commit comments

Comments
 (0)