Error generating doc

1 view
Skip to first unread message

Leandro

unread,
May 18, 2011, 7:07:24 PM5/18/11
to jax-doclets
Hi!

I've configured the pom like the site says, using

<links>
<link>../jaxbdocs</link>
</links>

To indicate to com.lunatech.doclets.jax.jaxrs.JAXRSDoclet where the
JAXB docs are.

In the reportSet, the com.lunatech.doclets.jax.jaxb.JAXBDoclet is the
first report, and then com.lunatech.doclets.jax.jaxrs.JAXRSDoclet. But
I get this error everytime I run mvn site:

[ERROR] The given File link: /project/target/site/jaxrsdocs/../
jaxbdocs is not a dir.
[ERROR] Error fetching link: ../jaxbdocs/package-list. Ignored it.

It seems that the doc for the JAX-RS is always running before the doc
for JAXB, causing this problem. I couldn't find a way to force the
JAXB run before.

Do you have the same problem, or have any idea of what I am doing
wrong?

Thanks!

Stephane Epardaud

unread,
May 19, 2011, 3:28:26 AM5/19/11
to jax-d...@googlegroups.com
Can you show us the full relevant part of the pom?
--
Stéphane Épardaud

Leandro

unread,
May 19, 2011, 8:50:03 AM5/19/11
to jax-doclets
Here it is:
<reporting>
<excludeDefaults>true</excludeDefaults>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<reportSets>
<reportSet>
<id>jaxb</id>
<configuration>
<doclet>com.lunatech.doclets.jax.jaxb.JAXBDoclet</doclet>
<docletArtifacts>
<docletArtifact>
<groupId>com.lunatech.jax-doclets</groupId>
<artifactId>doclets</artifactId>
<version>0.8.1</version>
</docletArtifact>
</docletArtifacts>
<destDir>jaxbdocs</destDir>
</configuration>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
<reportSet>
<configuration>
<doclet>com.lunatech.doclets.jax.jaxrs.JAXRSDoclet</doclet>
<docletArtifacts>
<docletArtifact>
<groupId>com.lunatech.jax-doclets</groupId>
<artifactId>doclets</artifactId>
<version>0.8.1</version>
</docletArtifact>
</docletArtifacts>
<destDir>jaxrsdocs</destDir>
<links>
<link>../jaxbdocs</link>
</links>
<additionalparam>-verbose</additionalparam>
</configuration>
<reports>
<report>javadoc</report>
</reports>
</reportSet>
</reportSets>
</plugin>
</plugins>
</reporting>



On May 19, 4:28 am, Stephane Epardaud <stephane.epard...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages