After adding javadoc plugin to the build plugins section Maven fails to compile my code anymore.
Before, with nothing in the local repository, Maven would compile and test each module, and then install it in the repository. Now it state "No goals needed for project - skipping" for each project and then, after working through each module in the same ways, tries to download the artifacts it should have just created. This fails as the repository hasn't had them added yet (with a typical "failed to load artifact" message). This is what has been added to the build element of the parent pom (note - it is not within the reporting element as my aim is to subsequently include the javadocs in a generated assembly). <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <inherited>false</inherited> <phase>install</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <inherited>false</inherited> <aggregate>true</aggregate> </configuration> </plugin> Why is this not working? Am I taking the wrong approach? What more information can I provide? Many thanks. -- View this message in context: http://www.nabble.com/Javadocs-during-install-phase-tf4880601s177.html#a13967427 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]