maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lamy (JIRA)" <j...@codehaus.org>
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
    [ http://jira.codehaus.org/browse/MJAR-43?page=comments#action_66429 ] 

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.
WDYT ?
Someone can move this to surefire plugin ?
Thanks,
--
Olivier

> adding -Dmaven.test.skip=true generate a test-jar without classes
> -----------------------------------------------------------------
>
>          Key: MJAR-43
>          URL: http://jira.codehaus.org/browse/MJAR-43
>      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:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message