Skip to content
This repository was archived by the owner on May 28, 2018. It is now read-only.

Commit 53fe8fe

Browse files
author
Michal Gajdos
committed
Modified excluded packages for maven-javadoc-plugin to make sure a -javadoc.jar file
is created for each deployed artifact. Change-Id: I77e39b4a0b97e7bb69c7933e6620e6d16883d473 Signed-off-by: Michal Gajdos <[email protected]>
1 parent af9f297 commit 53fe8fe

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

ext/metainf-services/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,17 @@
8989
<inherited>true</inherited>
9090
<extensions>true</extensions>
9191
</plugin>
92+
<plugin>
93+
<groupId>org.apache.maven.plugins</groupId>
94+
<artifactId>maven-javadoc-plugin</artifactId>
95+
<configuration>
96+
<!--
97+
Excluding only *.tests.* packages for this module. At least one class has to exist in non-excluded
98+
packages to generate proper -javadoc.jar file. See https://jira.codehaus.org/browse/MJAVADOC-329
99+
-->
100+
<excludePackageNames>*.tests.*</excludePackageNames>
101+
</configuration>
102+
</plugin>
92103
</plugins>
93104
</build>
94105

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
* holder.
3939
*/
4040

41-
package org.glassfish.jersey.internal.spidiscovery;
41+
package org.glassfish.jersey.spidiscovery.internal;
4242

4343
import java.util.Map;
4444

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
org.glassfish.jersey.internal.spidiscovery.MetaInfServicesAutoDiscoverable
1+
org.glassfish.jersey.spidiscovery.internal.MetaInfServicesAutoDiscoverable

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@
332332
<link>http://docs.oracle.com/javaee/7/api</link>
333333
</links>
334334
<excludePackageNames>
335-
*.examples.*:*.internal.*:*.tests.*
335+
*.internal.*:*.tests.*
336336
</excludePackageNames>
337337
<sourceFileExcludes>
338338
<exclude>bundles/**</exclude>

0 commit comments

Comments
 (0)