You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Vincent Siveton (JIRA)" <ji...@codehaus.org> on 2007/02/01 13:44:44 UTC

[jira] Commented: (MANT-22) Make it possible to run the package target without tests

    [ http://jira.codehaus.org/browse/MANT-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_86502 ] 

Vincent Siveton commented on MANT-22:
-------------------------------------

WDYT to use "maven.test.skip=true"?

> Make it possible to run the package target without tests
> --------------------------------------------------------
>
>                 Key: MANT-22
>                 URL: http://jira.codehaus.org/browse/MANT-22
>             Project: Maven 2.x Ant Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.0-beta-1
>         Environment: Gentoo Linux
>            Reporter: Petteri Räty
>             Fix For: 2.0-beta-1
>
>         Attachments: maven-ant-plugin-dist-target.patch
>
>
> When packaging stuff for Gentoo linux it is our packaging policy to give the user the choice whether he/she wants to run the unit tests or not. Nowadays as quite a few projects only use maven as their build system we use ant:ant to generate build.xml files and do your packaging using that (at least until we can get maven to properly build from source and integrate repositories to our system etc. which has proved not so easy). The problem with the generated build.xml files is that it always forces the tests for the package target. For this reason I wrote a patch that changes the default target to dist that just depends on the package and test targets.

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