[ http://jira.codehaus.org/browse/MPJAVADOC-50?page=comments#action_55732 ]
Bernard Durfee commented on MPJAVADOC-50: ----------------------------------------- I had the same problem, turns out I had renamed my package structure, but not updated the 'package' element in the POM. That fixed it and JavaDoc was generated again. Maybe this issue could be resolved by simply warning the user when the JavaDoc is not going to be created because no classes exist in the pom.package. > target/javadoc is empty > ----------------------- > > Key: MPJAVADOC-50 > URL: http://jira.codehaus.org/browse/MPJAVADOC-50 > Project: maven-javadoc-plugin > Type: Wish > Versions: 1.6.1 > Environment: windows xp / java sdk 1.4.2 / java component build with maven > Reporter: Anup Jain > > Original Estimate: 10 minutes > Remaining: 10 minutes > > I have just started off with Maven... > I have in the folloing directory structure for my java project: > <projectname>/src/IntegrationTests > <projectname>/src/ServiceLayer > in the folder <projectname>, i have the project.xml that states that the > source directory is > <sourceDirectory> > src/ServiceLayer > </sourceDirectory> > and unit test directory as > <unitTestSourceDirectory>src/IntegrationTests</unitTestSourceDirectory> > when i run the following maven commands in sequence: > 1. maven java:compile > 2. maven jar > 3. maven site:generate > the folder target/javadoc remains empty > Issues are: > 1. Only one leaf folder in the folder ServiceLayer is getting the Javadoc > generated, others donot have their javadocs generated > 2. Also javadocs are not getting generated for the folder > <projectname>/src/IntegrationTests > I have tried with the javadoc plug in version maven-javadoc-plugin-1.6.1 > Although i download the latest version 1.7, it still downloads the old > version 1.6.1 and apparently uses it. > Please help... -- 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 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
