maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Sanchez (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MJAR-43) adding -Dmaven.test.skip=true generate a test-jar without classes
Date Fri, 02 Jun 2006 00:46:43 GMT
    [ http://jira.codehaus.org/browse/MJAR-43?page=comments#action_66440 ] 

Carlos Sanchez commented on MJAR-43:
------------------------------------

The workaround is running
mvn test-compile install

> 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