[
http://jira.codehaus.org/browse/JXR-37?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_99856
]
Fernando Lindner commented on JXR-37:
-------------------------------------
Dennis,
Looking in your test project I got the solution for this issue: we are using
different jxr plugin distributions.
My reporting/plugins tag was using the same *artifactId* and *groupId* from
build/plugins tag (mojo):
{code:xml}
...
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jxr-maven-plugin</artifactId>
</plugin>
...
{code}
I changed to your sample project plugin configuration that uses a different
*groupId* and *artifactId* in the reporting/plugin tag:
{code:xml}
...
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
</plugin>
...
{code}
Now my project is generating site without workaround.
Thanks a lot, I'll close the issue now.
> Jxr plugin fails if xdoclet executed without sources generation
> ---------------------------------------------------------------
>
> Key: JXR-37
> URL: http://jira.codehaus.org/browse/JXR-37
> Project: Maven JXR
> Issue Type: Bug
> Components: maven2 jxr plugin
> Reporter: Fernando Lindner
> Priority: Critical
> Attachments: MJXR-21.zip
>
>
> JXR plugin always tries to find directory "target/generated-sources/xdoclet"
> if a xdoclet execution is set. For instance, if a webdoclet task is used, no
> "target/generated-sources/xdoclet" directory should be created, resulting in
> a build error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira