You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Siveton (JIRA)" <ji...@codehaus.org> on 2007/08/04 14:57:14 UTC

[jira] Commented: (MJAVADOC-141) regression: Adding "jar" execution to the parent of a multi-module javadoc plugin causes "recursive invocations" error

    [ http://jira.codehaus.org/browse/MJAVADOC-141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_103981 ] 

Vincent Siveton commented on MJAVADOC-141:
------------------------------------------

Is it defined in <build/> or <reporting/> section

> regression: Adding "jar" execution to the parent of a multi-module javadoc plugin causes "recursive invocations" error
> ----------------------------------------------------------------------------------------------------------------------
>
>                 Key: MJAVADOC-141
>                 URL: http://jira.codehaus.org/browse/MJAVADOC-141
>             Project: Maven 2.x Javadoc Plugin
>          Issue Type: Bug
>    Affects Versions: 2.3
>            Reporter: Mike Youngstrom
>
> 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 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