[ 
http://jira.codehaus.org/browse/MJAR-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_120469
 ] 

nicolas de loof commented on MJAR-90:
-------------------------------------

See comment on MJAR-68.

There is no way (AFAIK) to avoid test-scope dependency resolution based on 
-Dmaven.test.skip=true.
You should use -Dmaven.test.skip.exec=true to compile and package test, but not 
run them.

> when maven.test.Skip is set, the test-jar artifact is empty
> -----------------------------------------------------------
>
>                 Key: MJAR-90
>                 URL: http://jira.codehaus.org/browse/MJAR-90
>             Project: Maven 2.x Jar Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2
>         Environment: running any project with test-jar mojo
>            Reporter: nicolas de loof
>            Assignee: nicolas de loof
>            Priority: Trivial
>             Fix For: 2.2
>
>
> as maven.test.skip disable test compilation, the generated test-jar is empty.

-- 
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

        

Reply via email to