You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2011/04/25 17:23:22 UTC
[jira] Commented: (MJAVADOC-291) Own javadocs are not deployed in
multi project environment
[ http://jira.codehaus.org/browse/MJAVADOC-291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=264600#action_264600 ]
Herve Boutemy commented on MJAVADOC-291:
----------------------------------------
the attached project cannot be run:
{noformat}$ mvn site
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project javadoc-test:myapp:1.0-SNAPSHOT (/home/herve/tmp/jtest/pom.xml) has 3 errors
[ERROR] Child module /home/herve/Téléchargements/jtest/util of /home/herve/tmp/jtest/pom.xml does not exist
[ERROR] Child module /home/herve/Téléchargements/jtest/app of /home/herve/tmp/jtest/pom.xml does not exist
[ERROR] 'packaging' with value 'jar' is invalid. Aggregator projects require 'pom' as packaging. @ line 8, column 14
[ERROR]
{noformat}
> Own javadocs are not deployed in multi project environment
> ----------------------------------------------------------
>
> Key: MJAVADOC-291
> URL: http://jira.codehaus.org/browse/MJAVADOC-291
> Project: Maven 2.x Javadoc Plugin
> Issue Type: Bug
> Affects Versions: 2.7
> Environment: RHEL 5.4, WinXP
> Reporter: Thomas Reitz
> Priority: Critical
> Attachments: jtest.zip
>
>
> It is possible to use options like <overview> and <javadocDirectory> in a single module project. As soon as those parameters are used in a multi-project environment the functionality no longer works.
> Our own documentation written down in package.html and overview.html are not included in the javadoc report.
> mymodule
> +---src
> +---main
> ¦ +---java
> ¦ ¦ +---com
> ¦ ¦ ¦ +---mycompany
> ¦ ¦ ¦ +---myapp <---- package containing package.html
> ¦ ¦ ¦ +---api <-+
> ¦ ¦ ¦ ¦ +---doc-files <---- directory containing media files referenced in
> ¦ ¦ ¦ +---doc-files <-+ package.html or *.java files
> ¦ ¦ ¦ +---spi
> ¦ ¦ ¦ +---doc-files
> ¦ ¦ +---resources
> ¦ +---javadoc <---- place of overview.html for package myapp
> ¦ ¦ +---com
> ¦ ¦ ¦ +---mycompany
> ¦ ¦ ¦ +---myapp
> ¦ ¦ ¦ +---api
> ¦ ¦ ¦ +---doc-files
> ¦ ¦ +---doc-files
> ¦ ¦ +---resources
> ¦ +---resources
> +---test
> +---javadoc
> +---com
> ¦ +---mycompany
> ¦ +---myapp
> ¦ +---doc-files
> ¦ +---resources
> ¦ +---spi
> ¦ +---doc-files
> +---resources
--
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