maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lamy (JIRA)" <>
Subject [jira] Commented: (MJAR-43) adding -Dmaven.test.skip=true generate a test-jar without classes
Date Thu, 01 Jun 2006 22:01:43 GMT
    [ ] 

Olivier Lamy commented on MJAR-43:

In fact, it should be great to having something like a skipExec (maven.test.skip.exec) in
surefire plugin.
This will skip test execution but not the test compilation.
Someone can move this to surefire plugin ?

> adding -Dmaven.test.skip=true generate a test-jar without classes
> -----------------------------------------------------------------
>          Key: MJAR-43
>          URL:
>      Project: Maven 2.x Jar Plugin
>         Type: Bug

>     Versions: 2.0
>  Environment: all
>     Reporter: Olivier Lamy

> Hi,
> If I use mvn install -Dmaven.test.skip=true, the generated test-jat doesn't contains
the compiled test classes.
> Normal they're are not compiled due to -Dmaven.test.skip=true.
> But something to deploy quick fixes, we use this.
> Because my tests are included in a test module which it's used by some api implementations
(they can't be run in this test module that's we skip it)
> Is there any workaround ? or a possibility to force test-compile without executing tests
> --
> Olivier

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message