You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Geoffrey De Smet <ge...@gmail.com> on 2007/01/08 15:01:10 UTC

maven-source-plugin and [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.

I've configured the maven-source-plugin as such:

<plugin>
	<groupId>org.apache.maven.plugins</groupId>
	<artifactId>maven-source-plugin</artifactId>
	<version>2.0.1</version>
	<executions>
		<execution>
			<!-- To deploy the sources automatically -->
			<goals>
				<goal>jar</goal>
				<goal>test-jar</goal>
			</goals>
		</execution>
	</executions>
</plugin>

so now the sources are packaged during the package phase
(and I don't need to manually call "mvn source:jar"),
however I consistently get this warning:

[INFO] Preparing source:jar
[WARNING] Removing: jar from forked lifecycle, to prevent recursive 
invocation.

Why do I get this warning and is it dangerous?

-- 
With kind regards,
Geoffrey De Smet


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org