From issues-return-17655-apmail-maven-issues-archive=maven.apache.org@maven.apache.org Fri Feb 02 00:24:14 2007 Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 95030 invoked from network); 2 Feb 2007 00:24:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2007 00:24:12 -0000 Received: (qmail 20915 invoked by uid 500); 2 Feb 2007 00:24:15 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 20871 invoked by uid 500); 2 Feb 2007 00:24:15 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 20852 invoked by uid 99); 2 Feb 2007 00:24:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 16:24:15 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [63.246.20.114] (HELO 63-246-20-114.contegix.com) (63.246.20.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2007 16:24:06 -0800 Received: (qmail 29684 invoked by uid 89); 2 Feb 2007 00:23:45 -0000 Received: from unknown (HELO codehaus01.managed.contegix.com) (127.0.0.1) by smtp.domain.com with SMTP; 2 Feb 2007 00:23:45 -0000 Message-ID: <44922001.1170375825436.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Thu, 1 Feb 2007 18:23:45 -0600 (CST) From: "Vincent Siveton (JIRA)" To: issues@maven.apache.org Subject: [jira] Commented: (MANT-22) Make it possible to run the package target without tests In-Reply-To: <36389626.1169390116826.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/MANT-22?page=3Dcom.atlassian.jira.plu= gin.system.issuetabpanels:comment-tabpanel#action_86599 ]=20 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. WDY= T? BTW I agree with your dist concept (like explained in MANT-23) but in my mi= nd, 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=E4ty > 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. Nowa= days as quite a few projects only use maven as their build system we use an= t:ant to generate build.xml files and do your packaging using that (at leas= t until we can get maven to properly build from source and integrate reposi= tories to our system etc. which has proved not so easy). The problem with t= he generated build.xml files is that it always forces the tests for the pac= kage target. For this reason I wrote a patch that changes the default targe= t to dist that just depends on the package and test targets. --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira