Check your parent hierarchy, this plugin goal isn't executed by
default from Maven, more likely someone has inserted it in a parent
pom.

On Mon, Oct 19, 2009 at 8:05 PM, Radim Kolar <[email protected]> wrote:
>
> I found that maven 2.1 creates program-version-tests.jar even if no test
> directory is configured in pom.xml. Is there way to disable it?
>
> It seems that
> http://maven.apache.org/plugins/maven-jar-plugin/test-jar-mojo.html
> jar:test-jar is responsible for it and it is now executed by default. How
> can i disable execution of jar:test-jar?
>
> i added
> <execution>
> <phase>jar</phase>
> <goal>jar</jar>
> </execution>
>
> to jar plugin but it didnt worked, -tests.jar is still created.
> --
> View this message in context: 
> http://www.nabble.com/how-to-disable-building-xxx-tests.jar-tp25967788p25967788.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to