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

Commit 52d7d53

Browse files
author
Adam Lindenthal
committed
Javadoc generation fix
Change-Id: I849827b9df49191440f6139f1a2b2ef37a3a4642
1 parent 3b1d813 commit 52d7d53

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

docs/src/main/docbook/jersey.ent

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<!ENTITY experimentalrepository "snapshots">
5050
<!ENTITY guava.version "$guava-version">
5151
<!ENTITY jaxb-api-jar.version "$jaxb-api-jar-version">
52-
<!ENTITY jax-rs.version "$jax-rs-version">
52+
<!ENTITY jax-rs.version "$jax-rs-api-jar-version">
5353
<!ENTITY javax-el.version "$javax-el-version">
5454
<!ENTITY javax-el-impl.version "$javax-el-impl-version">
5555
<!ENTITY jax-rs-api-jar.version "$jax-rs-api-jar-version">
@@ -77,7 +77,7 @@
7777
<!ENTITY jaxb.release.uri "http://jaxb.java.net/nonav/&jaxb-api-jar.version;">
7878
<!ENTITY jaxb.javadoc.uri "&jaxb.release.uri;/docs/api/javax/xml/bind">
7979
<!ENTITY jaxrs.release.uri "http://jax-rs-spec.java.net/nonav/&jax-rs.version;">
80-
<!ENTITY jaxrs.javadoc.uri "&jaxrs.release.uri;/apidocs/javax/ws/rs">
80+
<!ENTITY jaxrs.javadoc.uri "https://jersey.java.net/apidocs-javax.jax-rs/&jax-rs.version;/javax/ws/rs">
8181
<!ENTITY jersey.ext.bean-validation.deps.link "<link xlink:href='&jersey.project-info.uri.prefix;/jersey-bean-validation/dependencies.html'>jersey-bean-validation</link>" >
8282
<!ENTITY jersey.ext.declarative-linking.deps.link "<link xlink:href='&jersey.project-info.uri.prefix;/jersey-declarative-linking/dependencies.html'>jersey-declarative-linking</link>" >
8383
<!ENTITY jersey.ext.entity-filtering.deps.link "<link xlink:href='&jersey.project-info.uri.prefix;/jersey-entity-filtering/dependencies.html'>jersey-entity-filtering</link>" >

pom.xml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -322,9 +322,8 @@
322322
All Rights Reserved. Use is subject to license terms.]]>
323323
</bottom>
324324
<links>
325-
<link>http://jax-rs-spec.java.net/nonav/2.0/apidocs</link>
325+
<link>http://jersey.java.net/apidocs-javax.jax-rs/2.0.1</link>
326326
<link>http://hk2.java.net/nonav/hk2-api/apidocs</link>
327-
<link>http://docs.oracle.com/javaee/7/api</link>
328327
</links>
329328
<excludePackageNames>
330329
*.internal.*:*.tests.*
@@ -333,6 +332,7 @@
333332
<exclude>bundles/**</exclude>
334333
</sourceFileExcludes>
335334
<verbose />
335+
<additionalparam>-Xdoclint:none</additionalparam>
336336
</configuration>
337337
<executions>
338338
<execution>
@@ -753,6 +753,18 @@
753753
<module>examples</module>
754754
</modules>
755755
</profile>
756+
<profile> <!-- bundles module will be automatically included unless bundles.excluded env variable is set -->
757+
<id>bundlesIncluded</id>
758+
<activation>
759+
<activeByDefault>false</activeByDefault>
760+
<property>
761+
<name>!bundles.excluded</name>
762+
</property>
763+
</activation>
764+
<modules>
765+
<module>bundles</module>
766+
</modules>
767+
</profile>
756768
<profile> <!-- test-framework module will be automatically included unless test-framework.excluded env variable is set -->
757769
<id>testFrameworkIncluded</id>
758770
<activation>
@@ -1203,15 +1215,14 @@
12031215
and/or its affiliates.
12041216
All Rights Reserved. Use is subject to license terms.]]>
12051217
</bottom>
1206-
<!-- TODO: add 'javax.ws.rs*' to excludePackageNames whenever links works. -->
12071218
<excludePackageNames>
12081219
com.sun.ws.rs.ext:*.examples.*:*.internal.*:*.tests.*
12091220
</excludePackageNames>
1210-
<!-- TODO: links still not working :-( -->
12111221
<links>
1212-
<link>http://jax-rs-spec.java.net/nonav/2.0/apidocs</link>
1222+
<link>http://jersey.java.net/apidocs-javax.jax-rs/2.0.1</link>
12131223
<link>http://hk2.java.net/${hk2.version}/apidocs</link>
12141224
</links>
1225+
<additionalparam>-Xdoclint:none</additionalparam>
12151226
</configuration>
12161227
<reportSets>
12171228
<reportSet>
@@ -1280,7 +1291,6 @@
12801291
<modules>
12811292
<module>archetypes</module>
12821293
<module>bom</module>
1283-
<module>bundles</module>
12841294
<module>connectors</module>
12851295
<module>containers</module>
12861296

0 commit comments

Comments
 (0)