maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Siveton (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MANT-22) Make it possible to run the package target without tests
Date Fri, 02 Feb 2007 00:23:45 GMT

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

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

maven.test.skip parameter is not already implemented in the ant-plugin, it was a suggestion.
My idea is to add a test to execute or not the tests. WDYT?

BTW I agree with your dist concept (like explained in MANT-23) but in my mind, dist target
is more like the maven-assembly-plugin does: creates a zip|tar distribution with jar, src
and javadoc. WDYT?



> 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

       

Mime
View raw message