[ https://issues.apache.org/jira/browse/MJAVADOC-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17957579#comment-17957579 ]
Olivier Lamy commented on MJAVADOC-141: --------------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-javadoc-plugin#496|https://github.com/apache/maven-javadoc-plugin/issues/496]. > regression: Adding "jar" execution to the parent of a multi-module javadoc > plugin causes "recursive invocations" error > ---------------------------------------------------------------------------------------------------------------------- > > Key: MJAVADOC-141 > URL: https://issues.apache.org/jira/browse/MJAVADOC-141 > Project: Maven Javadoc Plugin (Moved to GitHub Issues) > Issue Type: Bug > Affects Versions: 2.3 > Reporter: Mike Youngstrom > Assignee: Wendy Smoak > Priority: Major > Fix For: 2.4 > > > I have a multimodule project with the javadoc plugin declared in my parent. > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-javadoc-plugin</artifactId> > <version>2.3</version> > <configuration> > <aggregate>true</aggregate> > </configuration> > <executions> > <execution> > <id>attach-javadocs</id> > <goals> > <goal>jar</goal> > </goals> > </execution> > </executions> > </plugin> > After upgrading to 2.3 and do a build I now get the error: > [WARNING] Removing: jar from forked lifecycle, to prevent recursive > invocation. > [INFO] No goals needed for project - skipping > Which then skips the processing of that module and later gives me dependency > errors because previous dependencies were not compiled. > If I remove jar processing from my plugin definition everything works fine > except no javadoc jars are created. -- This message was sent by Atlassian Jira (v8.20.10#820010)