From caldwellmichelle@example.org Fri May 01 00:31:48 2009 Return-Path: <caldwellmichelle@example.org> Delivered-To: caldwellmichelle@example.org Received: (qmail 67523 invoked from network); 1 May 2009 00:31:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 May 2009 00:31:47 -0000 Received: (qmail 93777 invoked by uid 500); 1 May 2009 00:31:44 -0000 Delivered-To: caldwellmichelle@example.org Received: (qmail 93672 invoked by uid 500); 1 May 2009 00:31:44 -0000 Mailing-List: contact caldwellmichelle@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:caldwellmichelle@example.org> List-Help: <mailto:caldwellmichelle@example.org> List-Post: <mailto:caldwellmichelle@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <caldwellmichelle@example.org> Delivered-To: mailing list caldwellmichelle@example.org Received: (qmail 93662 invoked by uid 99); 1 May 2009 00:31:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 00:31:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of caldwellmichelle@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-bw0-f219.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 00:31:35 +0000 Received: by bwz19 with SMTP id 19so2250808bwz.12 for <caldwellmichelle@example.org>; Thu, 30 Apr 2009 17:31:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=H6mYL2/hBSPvboDiHSPpi4sdbZ2UJo4DJioKI8I5Xio=; b=ObE1QDtRFZjNyoEvHZIWbH6Idf/QTPfytTSuQDoksE1g2CBXobZeSg6h0k+cMR8avq no+Y63tc9rHrv+uzsfu2ag/zIbAdVZ5y3jGW/85NEOFPaCZxN4H2Wp/j6i6HfrUGrSls M2PI9dcIapkqqwxUTnj9YApY7a3NTsoOsVBNI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ZDXUUgnZq6uUlZyuM9By+ad2V/jqlVG1kDwjpTRGI9/DVL6QjJG83FZHIPcnbq1YuZ zx7SCx+661sWR51Qj9XJ8xPzq7pE7Attnu5HLolcTjV3ZQ3yd11IlmSihy+Pez70oUPk bcnru/8xQNB4kTx0FLDDNGIP6/qfb0bzfkFRI= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id e8mr955605fas.80.1241137874670; Thu, 30 Apr 2009 17:31:14 -0700 (PDT) In-Reply-To: <caldwellmichelle@example.org> References: <caldwellmichelle@example.org> <caldwellmichelle@example.org> <caldwellmichelle@example.org> Date: Fri, 1 May 2009 02:31:14 +0200 Message-ID: <caldwellmichelle@example.org> Subject: Re: Problem with parent-pom and referencing version classifier From: Nick Stolwijk <caldwellmichelle@example.org> To: Maven Users List <caldwellmichelle@example.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org A dependency is identified by three things: groupId, artifactId and classifier. Only the version is configured by dependencyManagement. So you can say: I want this artifact (groupId, artifactId, classifier) and let my parent decide which version I get. With regards, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Thu, Apr 30, 2009 at 5:21 PM, Grant Rettke <caldwellmichelle@example.org> wrote: > On Wed, Apr 29, 2009 at 10:26 AM, Nick Stolwijk <caldwellmichelle@example.org> wrote: >> You have to specify the classifier in the dependencymanagement section >> as well as in the dependency section as it identifies the dependency. > > Why do you have to put it both places? > > By doing so, won't the children inherit the dependency, and thus, not > need to utilize dependencyManagement? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: caldwellmichelle@example.org > For additional commands, e-mail: caldwellmichelle@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: caldwellmichelle@example.org For additional commands, e-mail: caldwellmichelle@example.org From caldwellmichelle@example.org Fri May 01 00:42:06 2009 Return-Path: <caldwellmichelle@example.org> Delivered-To: caldwellmichelle@example.org Received: (qmail 70791 invoked from network); 1 May 2009 00:42:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 May 2009 00:42:06 -0000 Received: (qmail 7214 invoked by uid 500); 1 May 2009 00:42:03 -0000 Delivered-To: caldwellmichelle@example.org Received: (qmail 7108 invoked by uid 500); 1 May 2009 00:42:03 -0000 Mailing-List: contact caldwellmichelle@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:caldwellmichelle@example.org> List-Help: <mailto:caldwellmichelle@example.org> List-Post: <mailto:caldwellmichelle@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <caldwellmichelle@example.org> Delivered-To: mailing list caldwellmichelle@example.org Received: (qmail 7098 invoked by uid 99); 1 May 2009 00:42:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 00:42:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of caldwellmichelle@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-bw0-f219.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 00:41:55 +0000 Received: by bwz19 with SMTP id 19so2253463bwz.12 for <caldwellmichelle@example.org>; Thu, 30 Apr 2009 17:41:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=xZxFJKgfD1N2zp58Mqjwd6yuLY5lxHHRfVSbs71aCPw=; b=Gvc7VSkeKnBgCv7BzzDOW6TYsxuOtHYM9s16iquIvo19wXIhzzITUUR0R9xeNtt0E8 oQn2qFkuGGXSt6X4SIGy8865YZ8AuQ2g9Rhiq08uCU41KKUVwas47h8zdCzxGj+KSFrI zDJMB43eRJsQDtq95paQR9rmYszHWfLNAjWmk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=XQ4UcrXsp+AiyOuZIc/0g7WweweXzp2N7HviozePqa1sIrZ5Zu1vyLiaeB1uACo3UQ CAC1Gh/AA4hfySc9DIt2J8RXlqt20zpGbmKgyIUEKa+hkNwg5+ZJ3ieWL/25mG484ghC S9YQOIbmxxsFQ7/eSOnv9cyMKGoBLq/fuZ9Ps= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id s8mr1039655fao.9.1241138493921; Thu, 30 Apr 2009 17:41:33 -0700 (PDT) In-Reply-To: <C0D46AE760D942458B26B850713F86F533079E47@knight> References: <C0D46AE760D942458B26B850713F86F533079E32@knight> <caldwellmichelle@example.org> <C0D46AE760D942458B26B850713F86F533079E47@knight> Date: Fri, 1 May 2009 02:41:33 +0200 Message-ID: <caldwellmichelle@example.org> Subject: Re: <resources> versus <assembly> From: Nick Stolwijk <caldwellmichelle@example.org> To: Maven Users List <caldwellmichelle@example.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org > EJC - woah - so if you have to deploy this web app to say, 20 or 30 > different servers across multiple environments, you pack all that > configuration in this war? Say your war is 150 mb, you really want to > rebuild it each time someone corrects a setting? We don't here, but > that's another story. No, the war file stays the same, the configuration files we need for the different environments (OTAP) are inside the tar.gz file. I hope I can get it a bit clear by example. Our tar.gz looks like: - deploy - app.war - config - dev - config-file.properties - log4j.properties - test - config-file.properties - log4j.properties - acceptance ... you get the idea... - documentation - deployment-document - static - static.resources.tar.gz (to be deployed on the apache server) So, the war deployed to each environment is the same, the property files differ, but are still in our version system and delivered for each environment. > EJC - we're already on divergent paths - we have a bunch of > configuration inside the web.xml. Also, I'm not about to unpack > something just to change a few things and then repack an archive during d= eployment. I guess we have a bit of misunderstanding. We don't unpack the war file, we pack the war file with a bunch of other files we have to deliver to the administrators. The war file stays the same for all environments. > Why duplicate the resource copying in the assembly descriptor? We don't duplicate resource copying, they are different resources. Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Thu, Apr 30, 2009 at 8:55 PM, EJ Ciramella <caldwellmichelle@example.org> wro= te: > > Resources are included in your jar/war file, while an assembly creates a > zip or tar.gz file > > EJC - yep - I got that, but both the resources stanza and the assembly > descriptor(s) can filter files. =C2=A0We have a process where we want the > build to generate a war file, but hand that off to another custom, > in-house plugin to generate an ear file. > > for example we create a tar.gz with our final war file > > EJC - we're already on divergent paths - we have a bunch of > configuration inside the web.xml. =C2=A0Also, I'm not about to unpack > something just to change a few things and then repack an archive during > deployment. > > , the configuration files for the different environments > > EJC - woah - so if you have to deploy this web app to say, 20 or 30 > different servers across multiple environments, you pack all that > configuration in this war? =C2=A0Say your war is 150 mb, you really want = to > rebuild it each time someone corrects a setting? =C2=A0We don't here, but > that's another story. > > , some static resources which are deployed somewhere else > > EJC - like web tier items? =C2=A0This is getting off the subject a bit. > > and the deployment documents. > > EJC - our apps are all internally consumed (live site), we have our site > output generating the deployment notes in a separate mvn build > structure. > > =C2=A0So the administrators have all the files they need to deploy our > application. Filtering is used inside the war file, to display the > current version on a status page. Two different things. > > > EJC - So this leaves my question still open and unanswered. =C2=A0Why hav= e a > target/scripts directory when you can have a > target/appName-version-dev/scripts where the appName-version-dev > directory matches 100% what your deployed app looks like? =C2=A0Why dupli= cate > the resource copying in the assembly descriptor? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: caldwellmichelle@example.org > For additional commands, e-mail: caldwellmichelle@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: caldwellmichelle@example.org For additional commands, e-mail: caldwellmichelle@example.org From caldwellmichelle@example.org Fri May 01 00:46:48 2009 Return-Path: <caldwellmichelle@example.org> Delivered-To: caldwellmichelle@example.org Received: (qmail 71805 invoked from network); 1 May 2009 00:46:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 May 2009 00:46:47 -0000 Received: (qmail 13877 invoked by uid 500); 1 May 2009 00:46:45 -0000 Delivered-To: caldwellmichelle@example.org Received: (qmail 13770 invoked by uid 500); 1 May 2009 00:46:44 -0000 Mailing-List: contact caldwellmichelle@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:caldwellmichelle@example.org> List-Help: <mailto:caldwellmichelle@example.org> List-Post: <mailto:caldwellmichelle@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <caldwellmichelle@example.org> Delivered-To: mailing list caldwellmichelle@example.org Received: (qmail 13760 invoked by uid 99); 1 May 2009 00:46:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 00:46:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of caldwellmichelle@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-fx0-f220.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 00:46:35 +0000 Received: by fxm20 with SMTP id 20so2563347fxm.12 for <caldwellmichelle@example.org>; Thu, 30 Apr 2009 17:46:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=QfseXVxNHXC1XEONrEbWgOS3t3dj7Y+tHXb2u6lCaYU=; b=GDP1aXPf+f7pzDECpWa2ws+n2CXG34ve9zZ4FH14PFCYTf67TwXpdPa+jvrD3b8Nvi G/bnhqLrWtrrLaHSRiG/V1Xw2f8IaeH/IkTyOsG48J3aoB6Mk6zMtqG2bn70oMmtDmBp 7Z8NS0KEXWqgRqGeGNBpSQ4Xr5buvdAAmA/mU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ghk/YlcxsM++O36Xfmrt1E+x/53L0JorVsgD5mtYtecYOD7pDmcxzPU20fjPbifTe8 bMhPWiXcCU3PQJfIius7V4SsNQitHmo+4UsffwxvazM0ty5oBrAwketuKfwcwY5ZUiaZ 5pDv7zmgxGcU4U05mn9viQQSO9W1FSPFdd82U= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id o1mr994979faq.96.1241138775386; Thu, 30 Apr 2009 17:46:15 -0700 (PDT) In-Reply-To: <caldwellmichelle@example.org> References: <caldwellmichelle@example.org> Date: Fri, 1 May 2009 02:46:15 +0200 Message-ID: <caldwellmichelle@example.org> Subject: Re: Clarification on dependencyManagement From: Nick Stolwijk <caldwellmichelle@example.org> To: Maven Users List <caldwellmichelle@example.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org NO, ;) , not all dependencies in the parent should be dependencies of the child, that is completely up to the child project. For example, in the parent pom you have defined the depManagement for Hibernate, Spring-MVC and commons-validator. You have different child modules: project-web, project-model and project-data. Project-web should have a dependency on spring-mvc and commons-validator, project-data on hibernate and project-model on commons-validator. You set the version numbers in the parent pom and define the exact dependencies in the child poms. Hth, Nick Stolwijk ~Java Developer~ Iprofs BV. Claus Sluterweg 125 2012 WS Haarlem www.iprofs.nl On Fri, May 1, 2009 at 1:41 AM, Grant Rettke <caldwellmichelle@example.org> wrote: > My understanding is YES, because if you were to enter them in the > dependencies section, they they would automatically be dependencies in > the child POM, too. --------------------------------------------------------------------- To unsubscribe, e-mail: caldwellmichelle@example.org For additional commands, e-mail: caldwellmichelle@example.org From caldwellmichelle@example.org Fri May 01 08:30:38 2009 Return-Path: <caldwellmichelle@example.org> Delivered-To: caldwellmichelle@example.org Received: (qmail 23365 invoked from network); 1 May 2009 08:30:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 May 2009 08:30:37 -0000 Received: (qmail 78857 invoked by uid 500); 1 May 2009 08:30:34 -0000 Delivered-To: caldwellmichelle@example.org Received: (qmail 78736 invoked by uid 500); 1 May 2009 08:30:34 -0000 Mailing-List: contact caldwellmichelle@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:caldwellmichelle@example.org> List-Help: <mailto:caldwellmichelle@example.org> List-Post: <mailto:caldwellmichelle@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <caldwellmichelle@example.org> Delivered-To: mailing list caldwellmichelle@example.org Received: (qmail 67974 invoked by uid 99); 30 Apr 2009 21:58:02 -0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Message-ID: <caldwellmichelle@example.org> Date: Thu, 30 Apr 2009 22:57:27 +0100 From: Zak Mc Kracken <caldwellmichelle@example.org> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:83.161.120.155) Gecko/20061029 SeaMonkey/1.0.6 Mnenhy/83.161.120.155 MIME-Version: 1.0 To: caldwellmichelle@example.org Subject: surefire summary Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi all, Since today "mvn test" does not report the list of failed tests at the end. I have: > Results : > > Failed tests: > > Tests run: 74, Failures: 3, Errors: 0, Skipped: 4 > > [ERROR] > > Mojo: > > org.apache.maven.plugins:maven-surefire-plugin:2.4.2:test > > FAILED for project: > > XXXX:jar:1.0-SNAPSHOT > > Reason: > > There are test failures. while it used to list the 3 failed test classes, under "Failed Tests". Such a list is very useful and I cannot understand why it's no longer printed, I didn't change the POM. Thanks in advance for any help. Marco. --------------------------------------------------------------------- To unsubscribe, e-mail: caldwellmichelle@example.org For additional commands, e-mail: caldwellmichelle@example.org From caldwellmichelle@example.org Fri May 01 15:39:28 2009 Return-Path: <caldwellmichelle@example.org> Delivered-To: caldwellmichelle@example.org Received: (qmail 17555 invoked from network); 1 May 2009 15:39:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 May 2009 15:39:28 -0000 Received: (qmail 31966 invoked by uid 500); 1 May 2009 15:39:22 -0000 Delivered-To: caldwellmichelle@example.org Received: (qmail 31876 invoked by uid 500); 1 May 2009 15:39:22 -0000 Mailing-List: contact caldwellmichelle@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:caldwellmichelle@example.org> List-Help: <mailto:caldwellmichelle@example.org> List-Post: <mailto:caldwellmichelle@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <caldwellmichelle@example.org> Delivered-To: mailing list caldwellmichelle@example.org Received: (qmail 31842 invoked by uid 99); 1 May 2009 15:39:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 15:39:22 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of caldwellmichelle@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-qy0-f116.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 15:39:14 +0000 Received: by qyk14 with SMTP id 14so4674388qyk.14 for <caldwellmichelle@example.org>; Fri, 01 May 2009 08:38:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=6/xDyOx8bhSCuMG/R7a+QyXjxmGnGYPQFS0PBciTddM=; b=lSdmX98AHhTMEcTOSZbkQP2hOu3PUtFQCP6iFelZwS2H2PGPCUPj6gd/O0axgPL0Xl OXIUIR4I2dB+htbqgURKVdg1UmGOeTfrcH7KENkJYlDuHcc8KPoF622DvjuECzzpiXeE /7AhmiGp6yFF4pGwDl0wbEivts/1xXKPXARH8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=cVz+GlIQEX9RBSv/EaAy4tr4JlgtuJ7kaWr1/UuxIY9XThTWLRcLWvWGar85NGgwHp 1w/z74qNyRaIFS8t6vITGki9VKfSNUQVh5pAKJo6OT8OtH6+Lqen1lC59goNHV9sokPu u0wGDdF85dl0LGU577/iyRBwgSUh8JAwzViMU= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id t14mr3202532qak.350.1241192332821; Fri, 01 May 2009 08:38:52 -0700 (PDT) In-Reply-To: <caldwellmichelle@example.org> References: <caldwellmichelle@example.org> <caldwellmichelle@example.org> Date: Fri, 1 May 2009 11:38:52 -0400 Message-ID: <caldwellmichelle@example.org> Subject: Re: Jetty and using src/test/webapp From: Todd Orr <caldwellmichelle@example.org> To: Maven Users List <caldwellmichelle@example.org> Content-Type: multipart/alternative; boundary=0015175cdf8018889c0468db9cd1 X-Virus-Checked: Checked by ClamAV on apache.org --0015175cdf8018889c0468db9cd1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit This is not so unusual. Consider that I have a similar issue. I have spring configs that are only used for integration testing. These reside in src/test/resource. When firing up jetty:run it cannot read those resources as defined in my web.xml via classpath:resource. Furthermore, the jetty plugin cannot resolve test dependencies. It seems ugly that I have to include these deps in compile scope just to get jetty to find them. The problem is that in essence the jetty plugin is only useful for testing a production version of your code base. This is severely limiting. On Mon, Sep 22, 2008 at 10:27 PM, Brett Porter <caldwellmichelle@example.org>wrote: > I think you'd have to copy the files all to one directory and use that > instead, but that would prevent the automatic recompilation. > > You might be able to add a profile that adds the test directory as an > additional source directory, but be careful here that it will pollute > target/classes for an eventual build that doesn't run with clean. > > If you need an enhancement to the plugin to support multiple class > directories, that would need to be requested of the Jetty developers. > They may have better ideas how to do this, as it seems like an unusual > use case to me. > > - Brett > > 2008/9/23 Andrew Robinson <caldwellmichelle@example.org>: > > I have a war project that was built that also has a "src/test/webapp" > > directory. The idea was that test pages could be made in this > > directory that would not be included in the normal war. > > > > I have got it mostly working except for the classes. I need to have > > both target/classes and target/test-classes on the classpath. Here is > > what I have been attempting to use: > > > > <plugin> > > <groupId>org.mortbay.jetty</groupId> > > <artifactId>maven-jetty-plugin</artifactId> > > <version>6.1.12.rc2</version> > > <configuration> > > <scanIntervalSeconds>10</scanIntervalSeconds> > > <webXml>${basedir}/src/test/webapp/WEB-INF/web.xml</webXml> > > > <webAppSourceDirectory>${basedir}/src/test/webapp</webAppSourceDirectory> > > <webAppConfig> > > <contextPath>/demo-test</contextPath> > > <baseResource > > > implementation="org.mortbay.resource.ResourceCollection"> > > <resourcesAsCSV> > > src/test/webapp,src/main/webapp > > </resourcesAsCSV> > > </baseResource> > > </webAppConfig> > > </configuration> > > > > > > Looking here: > > > http://docs.codehaus.org/display/JETTY/Which+files+are+scanned+by+the+Jetty+Maven+Plugin > > > > It says that scanTargets are picked up, but that did not work. > > > > I set classesDirectory to "${basedir}/target/test-classes", but then > > the "${basedir}/target/classes" were no longer on the classpath. > > > > How can I get jetty to run off of the src/test/webapp and include both > > "${basedir}/target/test-classes" and "${basedir}/target/classes"? > > > > Thanks, > > Andrew > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: caldwellmichelle@example.org > > For additional commands, e-mail: caldwellmichelle@example.org > > > > > > > > -- > Brett Porter > Blog: http://blogs.exist.com/bporter/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: caldwellmichelle@example.org > For additional commands, e-mail: caldwellmichelle@example.org > > --0015175cdf8018889c0468db9cd1-- From caldwellmichelle@example.org Fri May 01 16:10:22 2009 Return-Path: <caldwellmichelle@example.org> Delivered-To: caldwellmichelle@example.org Received: (qmail 34379 invoked from network); 1 May 2009 16:10:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 May 2009 16:10:22 -0000 Received: (qmail 96198 invoked by uid 500); 1 May 2009 16:10:18 -0000 Delivered-To: caldwellmichelle@example.org Received: (qmail 96125 invoked by uid 500); 1 May 2009 16:10:18 -0000 Mailing-List: contact caldwellmichelle@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:caldwellmichelle@example.org> List-Help: <mailto:caldwellmichelle@example.org> List-Post: <mailto:caldwellmichelle@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <caldwellmichelle@example.org> Delivered-To: mailing list caldwellmichelle@example.org Received: (qmail 96115 invoked by uid 99); 1 May 2009 16:10:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 16:10:18 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO victor.ndsuk.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 16:10:08 +0000 Received: from victor.ndsuk.com ([83.161.120.155]) by victor.ndsuk.com with Microsoft SMTPSVC260-582-2792); Fri, 1 May 2009 17:09:46 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C9CA77.40164F56" Subject: Apache snapshot repository metadata incorrect. Date: Fri, 1 May 2009 17:09:46 +0100 Message-ID: <caldwellmichelle@example.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Apache snapshot repository metadata incorrect. thread-index: AcnKdz6eduUzDSEoT4KHtk9wRBqjEw== From: "Nord, James" <caldwellmichelle@example.org> To: "Maven Users List" <caldwellmichelle@example.org> X-OriginalArrivalTime: 01 May 2009 16:09:46.0876 (UTC) FILETIME=[3F4DEBC0:01C9CA77] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C9CA77.40164F56 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, =20 The metadata served by nexus for http://repository.apache.org/snapshots/ is incorrect for the archetype plugin. =20 (https://repository.apache.org/content/groups/snapshots/org/apache/maven /plugins/maven-archetype-plugin/) =20 metadata contains lots of snapshot versions but only 2.0-alpha-5-SNAPSHOT is available. (and hence running mvn archetype:generate from the command line fails as it tries to get 12-SNAPSHOT =20 /James =20 <?xml version=3D"1.0" encoding=3D"UTF-8" ?>=20 - <https://repository.apache.org/content/groups/snapshots/org/apache/maven /plugins/maven-archetype-plugin/maven-metadata.xml#> <metadata xsi:schemaLocation=3D"http://maven.apache.org/METADATA/1.0.0 http://maven.apache.org/xsd/metadata-1.0.0.xsd" xmlns=3D"http://maven.apache.org/METADATA/1.0.0" xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"> <groupId>org.apache.maven.plugins</groupId>=20 <artifactId>maven-archetype-plugin</artifactId>=20 <version>2.0-alpha-4-SNAPSHOT</version>=20 - <https://repository.apache.org/content/groups/snapshots/org/apache/maven /plugins/maven-archetype-plugin/maven-metadata.xml#> <versioning> <latest>12-SNAPSHOT</latest>=20 <release />=20 - <https://repository.apache.org/content/groups/snapshots/org/apache/maven /plugins/maven-archetype-plugin/maven-metadata.xml#> <versions> <version>2.0-alpha-4-SNAPSHOT</version>=20 <version>2.0-alpha-5-SNAPSHOT</version>=20 <version>0.3.0-SNAPSHOT</version>=20 <version>1.0-SNAPSHOT</version>=20 <version>1.0-alpha-2-SNAPSHOT</version>=20 <version>1.0-alpha-3-SNAPSHOT</version>=20 <version>1.0-beta-3-SNAPSHOT</version>=20 <version>1.0.2-SNAPSHOT</version>=20 <version>1.1-SNAPSHOT</version>=20 <version>1.1.1-SNAPSHOT</version>=20 <version>1.2-SNAPSHOT</version>=20 <version>1.2.2-SNAPSHOT</version>=20 <version>1.3-SNAPSHOT</version>=20 <version>2.0-beta-9-SNAPSHOT</version>=20 <version>2.0-beta-10-SNAPSHOT</version>=20 <version>2.0.11-SNAPSHOT</version>=20 <version>2.1.0-SNAPSHOT</version>=20 <version>2.1-SNAPSHOT</version>=20 <version>2.1.0-M2-SNAPSHOT</version>=20 <version>2.2-SNAPSHOT</version>=20 <version>2.3-SNAPSHOT</version>=20 <version>2.4.4-SNAPSHOT</version>=20 <version>2.5-SNAPSHOT</version>=20 <version>3.0-alpha-2-SNAPSHOT</version>=20 <version>11-SNAPSHOT</version>=20 <version>12-SNAPSHOT</version>=20 </versions> <lastUpdated>20090417213533</lastUpdated>=20 </versioning> </metadata> *************************************************************************= ************* This e-mail is confidential, the property of NDS Ltd and intended for the= addressee only. Any dissemination, copying or distribution of this messa= ge or any attachments by anyone other than the intended recipient is stri= ctly prohibited. If you have received this message in error, please immed= iately notify the caldwellmichelle@example.org and destroy the original message. Me= ssages sent to and from NDS may be monitored. NDS cannot guarantee any me= ssage delivery method is secure or error-free. Information could be inter= cepted, corrupted, lost, destroyed, arrive late or incomplete, or contain= viruses. We do not accept responsibility for any errors or omissions in = this message and/or attachment that arise as a result of transmission. Yo= u should carry out your own virus checks before opening any attachment. A= ny views or opinions presented are solely those of the author and do not = necessarily represent those of NDS. To protect the environment please do not print this e-mail unless necessa= ry. NDS Limited Registered Office: One London Road, Staines, Middlesex, TW18 = 4EX, United Kingdom. A company registered in England and Wales Registered= no. 3080780 VAT no. GB 603 8808 40-00 *************************************************************************= ************* ------_=_NextPart_001_01C9CA77.40164F56-- From caldwellmichelle@example.org Fri May 01 16:13:18 2009 Return-Path: <caldwellmichelle@example.org> Delivered-To: caldwellmichelle@example.org Received: (qmail 34958 invoked from network); 1 May 2009 16:13:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 May 2009 16:13:17 -0000 Received: (qmail 99177 invoked by uid 500); 1 May 2009 16:13:14 -0000 Delivered-To: caldwellmichelle@example.org Received: (qmail 99090 invoked by uid 500); 1 May 2009 16:13:14 -0000 Mailing-List: contact caldwellmichelle@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:caldwellmichelle@example.org> List-Help: <mailto:caldwellmichelle@example.org> List-Post: <mailto:caldwellmichelle@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <caldwellmichelle@example.org> Delivered-To: mailing list caldwellmichelle@example.org Received: (qmail 99080 invoked by uid 99); 1 May 2009 16:13:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 16:13:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of caldwellmichelle@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mailout01.viacom.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 16:13:05 +0000 X-SBRS: None X-SenderGroup: RELAYLIST X-MailFlowPolicy: $RELAYED X-MID: 105104541 Received: from cps6-prd3.mtvn.ad.viacom.com (HELO pa.pa) ([83.161.120.155]) by mailout01.viacom.com with ESMTP; 01 May 2009 12:12:43 -0400 Received: from cps6-prd3.mtvn.ad.viacom.com ([83.161.120.155]) by pa.pa with Microsoft SMTPSVC260-582-2792); Fri, 1 May 2009 12:12:43 -0400 Received: from inferno02.mtvn.ad.viacom.com ([83.161.120.155]) by cps6-prd3.mtvn.ad.viacom.com with Microsoft SMTPSVC260-582-2792); Fri, 1 May 2009 12:12:43 -0400 Received: from WISECRACK.mtvn.ad.viacom.com ([83.161.120.155]) by inferno02.mtvn.ad.viacom.com with Microsoft SMTPSVC260-582-2792); Fri, 1 May 2009 12:12:42 -0400 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Jetty and using src/test/webapp Date: Fri, 1 May 2009 12:12:42 -0400 Message-ID: <caldwellmichelle@example.org> In-Reply-To: <caldwellmichelle@example.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Jetty and using src/test/webapp Thread-Index: AcnKcwMk/TavZHvsRFiSLggWZDXHYQABDekg References: <caldwellmichelle@example.org> <caldwellmichelle@example.org> <caldwellmichelle@example.org> From: "Edelson, Justin" <caldwellmichelle@example.org> To: "Maven Users List" <caldwellmichelle@example.org> X-OriginalArrivalTime: 01 May 2009 16:12:42.0616 (UTC) FILETIME=[A80DB780:01C9CA77] X-Virus-Checked: Checked by ClamAV on apache.org The useTestClasspath configuration option adds test classes and resources to the classpath used by jetty:run. Justin -----Original Message----- From: Todd Orr [mailto:caldwellmichelle@example.org]=20 Sent: Friday, May 01, 2009 11:39 AM To: Maven Users List Subject: Re: Jetty and using src/test/webapp This is not so unusual. Consider that I have a similar issue. I have spring configs that are only used for integration testing. These reside in src/test/resource. When firing up jetty:run it cannot read those resources as defined in my web.xml via classpath:resource. Furthermore, the jetty plugin cannot resolve test dependencies. It seems ugly that I have to include these deps in compile scope just to get jetty to find them. The problem is that in essence the jetty plugin is only useful for testing a production version of your code base. This is severely limiting. On Mon, Sep 22, 2008 at 10:27 PM, Brett Porter <caldwellmichelle@example.org>wrote: > I think you'd have to copy the files all to one directory and use that > instead, but that would prevent the automatic recompilation. > > You might be able to add a profile that adds the test directory as an=20 > additional source directory, but be careful here that it will pollute=20 > target/classes for an eventual build that doesn't run with clean. > > If you need an enhancement to the plugin to support multiple class=20 > directories, that would need to be requested of the Jetty developers. > They may have better ideas how to do this, as it seems like an unusual > use case to me. > > - Brett > > 2008/9/23 Andrew Robinson <caldwellmichelle@example.org>: > > I have a war project that was built that also has a "src/test/webapp" > > directory. The idea was that test pages could be made in this=20 > > directory that would not be included in the normal war. > > > > I have got it mostly working except for the classes. I need to have=20 > > both target/classes and target/test-classes on the classpath. Here=20 > > is what I have been attempting to use: > > > > <plugin> > > <groupId>org.mortbay.jetty</groupId> > > <artifactId>maven-jetty-plugin</artifactId> > > <version>6.1.12.rc2</version> > > <configuration> > > <scanIntervalSeconds>10</scanIntervalSeconds> > > =20 > > <webXml>${basedir}/src/test/webapp/WEB-INF/web.xml</webXml> > > > =20 > <webAppSourceDirectory>${basedir}/src/test/webapp</webAppSourceDirecto > ry> > > <webAppConfig> > > <contextPath>/demo-test</contextPath> > > <baseResource > > > implementation=3D"org.mortbay.resource.ResourceCollection"> > > <resourcesAsCSV> > > src/test/webapp,src/main/webapp > > </resourcesAsCSV> > > </baseResource> > > </webAppConfig> > > </configuration> > > > > > > Looking here: > > > http://docs.codehaus.org/display/JETTY/Which+files+are+scanned+by+the+ > Jetty+Maven+Plugin > > > > It says that scanTargets are picked up, but that did not work. > > > > I set classesDirectory to "${basedir}/target/test-classes", but then > > the "${basedir}/target/classes" were no longer on the classpath. > > > > How can I get jetty to run off of the src/test/webapp and include=20 > > both "${basedir}/target/test-classes" and "${basedir}/target/classes"? > > > > Thanks, > > Andrew > > > > -------------------------------------------------------------------- > > - To unsubscribe, e-mail: caldwellmichelle@example.org > > For additional commands, e-mail: caldwellmichelle@example.org > > > > > > > > -- > Brett Porter > Blog: http://blogs.exist.com/bporter/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: caldwellmichelle@example.org > For additional commands, e-mail: caldwellmichelle@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: caldwellmichelle@example.org For additional commands, e-mail: caldwellmichelle@example.org From caldwellmichelle@example.org Fri May 01 17:10:00 2009 Return-Path: <caldwellmichelle@example.org> Delivered-To: caldwellmichelle@example.org Received: (qmail 59560 invoked from network); 1 May 2009 17:10:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 May 2009 17:10:00 -0000 Received: (qmail 14955 invoked by uid 500); 1 May 2009 17:09:57 -0000 Delivered-To: caldwellmichelle@example.org Received: (qmail 14851 invoked by uid 500); 1 May 2009 17:09:57 -0000 Mailing-List: contact caldwellmichelle@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:caldwellmichelle@example.org> List-Help: <mailto:caldwellmichelle@example.org> List-Post: <mailto:caldwellmichelle@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <caldwellmichelle@example.org> Delivered-To: mailing list caldwellmichelle@example.org Received: (qmail 14841 invoked by uid 99); 1 May 2009 17:09:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 17:09:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of caldwellmichelle@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO transporter.corp.upromise.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 17:09:49 +0000 Received: from upromise.com (wssmtp.corp.upromise.com [83.161.120.155]) by transporter.corp.upromise.com (Postfix) with ESMTP id 00CF31410D for <caldwellmichelle@example.org>; Fri, 1 May 2009 13:09:28 -0400 (EDT) Received: from wssmtp ([83.161.120.155]) by upromise.com with Microsoft SMTPSVC260-582-2792); Fri, 1 May 2009 13:09:28 -0400 Received: from knight.corp.upromise.com ([83.161.120.155]) by wssmtp with Microsoft SMTPSVC260-582-2792); Fri, 1 May 2009 13:09:28 -0400 X-PMWin-Version: 83.161.120.155, Antivirus-Engine: 2.86.0, Antivirus-Data: 4.41E X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4325 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: <resources> versus <assembly> Date: Fri, 1 May 2009 13:09:27 -0400 Message-ID: <C0D46AE760D942458B26B850713F86F533079E50@knight> In-Reply-To: <caldwellmichelle@example.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: <resources> versus <assembly> thread-index: AcnJ9afPZIYPsUtzQQiCmbFNBFPBrgAiJYXg References: <C0D46AE760D942458B26B850713F86F533079E32@knight> <caldwellmichelle@example.org> <C0D46AE760D942458B26B850713F86F533079E47@knight> <caldwellmichelle@example.org> From: "EJ Ciramella" <caldwellmichelle@example.org> To: "Maven Users List" <caldwellmichelle@example.org> X-OriginalArrivalTime: 01 May 2009 17:09:28.0127 (UTC) FILETIME=[95E574F0:01C9CA7F] X-Virus-Checked: Checked by ClamAV on apache.org =20 No, the war file stays the same, the configuration files we need for the different environments (OTAP) are inside the tar.gz file. EJC >> This is where I'm getting hung up - if you have MANY environments, and your tar.gz takes as long as 1 hour to build, why bundle something as small as configuration inside this particular zip? Why not keep it external? Also, if you're talking about property files used by your application, why not just have a property file with tokens in them, replaced during deployment? So, the war deployed to each environment is the same, the property files differ, but are still in our version system and delivered for each environment. EJC >> Sure, but if there are configuration changes that need to happen within the web.xml, what then? I guess we have a bit of misunderstanding. We don't unpack the war file, we pack the war file with a bunch of other files we have to deliver to the administrators. The war file stays the same for all environments. EJC >> You don't, but we'd have to. Depending on env we deploy to, different servlets are either active or not. We don't duplicate resource copying, they are different resources. EJC >> Correct, you probably don't, but you could and instead of having various things in your target directory (like your classes, a scripts directory, etc) you could have a directory that represents the final gzip file - all pulled together via assembly:directory (which would process your files accordingly). Anyone else have any suggestions as to when/why use <resources> versus an assembly descriptor? --------------------------------------------------------------------- To unsubscribe, e-mail: caldwellmichelle@example.org For additional commands, e-mail: caldwellmichelle@example.org From caldwellmichelle@example.org Fri May 01 17:20:45 2009 Return-Path: <caldwellmichelle@example.org> Delivered-To: caldwellmichelle@example.org Received: (qmail 64496 invoked from network); 1 May 2009 17:20:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 May 2009 17:20:45 -0000 Received: (qmail 36324 invoked by uid 500); 1 May 2009 17:20:42 -0000 Delivered-To: caldwellmichelle@example.org Received: (qmail 36210 invoked by uid 500); 1 May 2009 17:20:42 -0000 Mailing-List: contact caldwellmichelle@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:caldwellmichelle@example.org> List-Help: <mailto:caldwellmichelle@example.org> List-Post: <mailto:caldwellmichelle@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <caldwellmichelle@example.org> Delivered-To: mailing list caldwellmichelle@example.org Received: (qmail 36200 invoked by uid 99); 1 May 2009 17:20:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 17:20:42 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of caldwellmichelle@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO c-relay01.overstock.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 17:20:33 +0000 Received: from pa01.overstock.com (pa01.overstock.com [83.161.120.155]) by c-relay01.overstock.com (Postfix) with ESMTP id E0B5EAA8047 for <caldwellmichelle@example.org>; Fri, 1 May 2009 11:20:12 -0600 (MDT) Received: from pa01.overstock.com ([83.161.120.155]) by pa01.overstock.com with Microsoft SMTPSVC260-582-2792); Fri, 1 May 2009 11:17:04 -0600 Received: from OCEXHUB01.overstock.com ([83.161.120.155]) by pa01.overstock.com with Microsoft SMTPSVC260-582-2792); Fri, 1 May 2009 11:17:04 -0600 Received: from linux-jcarpenter.overstock.com (83.161.120.155) by OCEXHUB01.overstock.com (83.161.120.155) with Microsoft SMTP Server id 8.1.340.0; Fri, 1 May 2009 11:20:12 -0600 Message-ID: <caldwellmichelle@example.org> Date: Fri, 1 May 2009 11:18:53 -0600 From: James Carpenter <caldwellmichelle@example.org> User-Agent: Thunderbird 83.161.120.155 (X11/20090302) MIME-Version: 1.0 To: <caldwellmichelle@example.org> Subject: Surefire system property which includes a property dynamically created earlier in the lifecycle by another plugin Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: quoted-printable X-OriginalArrivalTime: 01 May 2009 17:17:04.0156 (UTC) FILETIME=[A5B5F5C0:01C9CA80] X-Virus-Checked: Checked by ClamAV on apache.org I am trying to use a property in the systemProperties section of the surefire plugin which was dynamically created earlier in the build lifecycle by another plugin (happens to be the properties-maven-plugin). I know the property is actually being set because I successfully use it elsewhere after the properties-maven-plugin has run. I am aware that the surefire plugin only wants string property values, but I believe the baseUrl property value I am building up should meet that criteria after interpolation which occurs when maven wires up the surefire plugin. The standard basedir property makes it to my junit test without any problems. Is there a helper plugin out there I can use to perform the interpolation before I pass it to the surefire plugin? I could build one if I must, but that sounds like a lot of hoop jumping just to solve this problem. I tried using the ant-run plugin to set the property, but that didn't work either. Am I getting burned by the fact the surefire plugin is first run with skip=3Dtrue in the test phase, which is prior to the dynamic property being set by the properties-maven-plugin? <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>properties-maven-plugin</artifactId> <executions> <execution> <id>init-shared-properties</id> <phase>pre-integration-test</phase> <goals> <goal>read-project-properties</goal> </goals> <configuration> <files> <file>foo.properties</file> </files> </configuration> </execution> </executions> </plugin> ... <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <!-- Skip the normal tests, we'll run them in the integration-test phase --> <skip>true</skip> <includes> <include>**/SimpleSmokeTest.java</include> </includes> </configuration> <executions> <execution> <phase>integration-test</phase> <goals> <goal>test</goal> </goals> <configuration> <skip>false</skip> <testFailureIgnore>true</testFailureIgnore> <systemProperties> <property> <name>basedir</name> <value>${basedir}</value> </property> <property> <name>baseUrl</name> <value>http://localhost:${conf.tomcat.http.port}/</value> </property> </systemProperties> </configuration> </execution> </executions> </plugin> CONFIDENTIALITY NOTICE: This message is intended only for the use and revi= ew of the individual or entity to which it is addressed and may contain inf= ormation that is privileged and confidential. If the reader of this messag= e is not the intended recipient, or the employee or agent responsible for d= elivering the message solely to the intended recipient, you are hereby noti= fied that any dissemination, distribution or copying of this communication = is strictly prohibited. If you have received this communication in error, = please notify sender immediately by telephone or return email. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: caldwellmichelle@example.org For additional commands, e-mail: caldwellmichelle@example.org From caldwellmichelle@example.org Fri May 01 19:46:59 2009 Return-Path: <caldwellmichelle@example.org> Delivered-To: caldwellmichelle@example.org Received: (qmail 46966 invoked from network); 1 May 2009 19:46:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 May 2009 19:46:59 -0000 Received: (qmail 34755 invoked by uid 500); 1 May 2009 19:46:56 -0000 Delivered-To: caldwellmichelle@example.org Received: (qmail 34644 invoked by uid 500); 1 May 2009 19:46:55 -0000 Mailing-List: contact caldwellmichelle@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:caldwellmichelle@example.org> List-Help: <mailto:caldwellmichelle@example.org> List-Post: <mailto:caldwellmichelle@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <caldwellmichelle@example.org> Delivered-To: mailing list caldwellmichelle@example.org Received: (qmail 34634 invoked by uid 99); 1 May 2009 19:46:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 19:46:55 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of caldwellmichelle@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-qy0-f116.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 19:46:48 +0000 Received: by qyk14 with SMTP id 14so4886628qyk.14 for <caldwellmichelle@example.org>; Fri, 01 May 2009 12:46:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=9Ya7CK2SxEn5EJ8mXp7Hzx3TIw3vtN2qU+54kWZizGc=; b=UbORvf/ef1x3acbko1b0jIQ8dj2dm9D/yNFH5Lrjn9tF+QI4jSE5AFzeAEas8+Q7NZ re18F0mHXEPi/vcmaIFeBI1lK5ATH0WPhF81Yz7cZbLi3qwaYBiQaKyX7yGuewJGbv/B 6O7VZe6dqUNTLS4466UzDKODuiaHXW/huKWOs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=sWyQJci/H/46BwtmipTEo2TDJbii9uH1cQ5XF9I1WlL1OCMRD5geGk9hiQL7VTcugj 5A07564j83M47zv5ODyH0R+/pGcIJ0sUNmG4a8UEwRGIxtflmoees8zjeW+2Ad7Rfpz0 HFJEeXZflh7KF8X0WEotfTR+Bl86v/n0vPoPI= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id w2mr2507817qck.12.1241207187743; Fri, 01 May 2009 12:46:27 -0700 (PDT) Date: Fri, 1 May 2009 15:46:27 -0400 Message-ID: <caldwellmichelle@example.org> Subject: How to deploy a module with multiple classifiers? From: Michael Waluk <caldwellmichelle@example.org> To: Maven Users List <caldwellmichelle@example.org> Content-Type: multipart/alternative; boundary=00163646d8e684a5990468df11c9 X-Virus-Checked: Checked by ClamAV on apache.org --00163646d8e684a5990468df11c9 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I have an Maven module that I have to build out for different environments. There are only a few different files for each, so I use profiles and have used build-helper to create the artifacts for each environment, like: - ABC-1.0-SNAPSHOT.jar - ABC-1.0-SNAPSHOT-tomcat.jar - ABC-1.0-SNAPSHOT-jetty.jar The problem I have is how to deploy them into the same directory in my Maven Repo. Each time I deploy one of them with deploy:deploy-file using the -Dclassifier=tomcat (for example), it creates a .pom file WITHOUT the classifier. This makes it so the non-tomcat users of the artifact can't build. Shouldn't it name the .pom file the same as the .jar file? Or is there a different way to deploy ALL of them at the same time somehow. What are the best practices (besides creating a completely different artifact - which is my only option right now). Thanks, Michael --00163646d8e684a5990468df11c9-- From caldwellmichelle@example.org Fri May 01 19:47:40 2009 Return-Path: <caldwellmichelle@example.org> Delivered-To: caldwellmichelle@example.org Received: (qmail 47204 invoked from network); 1 May 2009 19:47:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 May 2009 19:47:40 -0000 Received: (qmail 36868 invoked by uid 500); 1 May 2009 19:47:37 -0000 Delivered-To: caldwellmichelle@example.org Received: (qmail 36748 invoked by uid 500); 1 May 2009 19:47:37 -0000 Mailing-List: contact caldwellmichelle@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:caldwellmichelle@example.org> List-Help: <mailto:caldwellmichelle@example.org> List-Post: <mailto:caldwellmichelle@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <caldwellmichelle@example.org> Delivered-To: mailing list caldwellmichelle@example.org Received: (qmail 36738 invoked by uid 99); 1 May 2009 19:47:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 19:47:37 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of caldwellmichelle@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-fx0-f220.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 19:47:29 +0000 Received: by fxm20 with SMTP id 20so3138135fxm.12 for <caldwellmichelle@example.org>; Fri, 01 May 2009 12:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=4i2fjM9tWL+9ldCWRBsylwX7MBxKN096F41eC5yagbU=; b=fnqegwrVfvPrMzth94Sw8cziq6BP0KcWAT6BQmJhfzIIE1DBxcReuYt8dhYTw20fua pbEDnYrpwIo0oLu6qyAhfUhYZA0JPQ+yOS/lRar3WvXQ54BgX2JPSh3Jb5PwsP8E2We5 0dFBDUk3PnGxCD2kIxWIWlQiv2ugghR4Avt+4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=q0FKyVj9o890xctGr7PH8GQeBU2xhhhkMv9FNw3p3Km/uBIadsgpc1oi4cJRo6TNOr G6295KJBBCT00IHKcKQdDEJrB36I3gQ2g/FKDr/ZGXzAEN9yXNleQ4JcuO3tTdudImJr NC4uxVkIq6wZk882nemuWbZsy6f42u4xbD4qA= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id b5mr1225706fas.54.1241207229422; Fri, 01 May 2009 12:47:09 -0700 (PDT) Date: Fri, 1 May 2009 13:47:09 -0600 Message-ID: <caldwellmichelle@example.org> Subject: How to specify SCM username/password for release plugin? From: David Hoffer <caldwellmichelle@example.org> To: Maven Users List <caldwellmichelle@example.org> Content-Type: multipart/alternative; boundary=001636c5a82f009baf0468df141c X-Virus-Checked: Checked by ClamAV on apache.org --001636c5a82f009baf0468df141c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit How can I specify the username/password to be used by the release plugin in the settings.xml file (or other system approach)? Normally this is set in the settings.xml and refereed to elsewhere by it's id but how is this refereed by the SCM? -Dave --001636c5a82f009baf0468df141c-- From caldwellmichelle@example.org Fri May 01 19:50:52 2009 Return-Path: <caldwellmichelle@example.org> Delivered-To: caldwellmichelle@example.org Received: (qmail 47817 invoked from network); 1 May 2009 19:50:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 May 2009 19:50:52 -0000 Received: (qmail 40204 invoked by uid 500); 1 May 2009 19:50:49 -0000 Delivered-To: caldwellmichelle@example.org Received: (qmail 40118 invoked by uid 500); 1 May 2009 19:50:49 -0000 Mailing-List: contact caldwellmichelle@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:caldwellmichelle@example.org> List-Help: <mailto:caldwellmichelle@example.org> List-Post: <mailto:caldwellmichelle@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <caldwellmichelle@example.org> Delivered-To: mailing list caldwellmichelle@example.org Received: (qmail 40104 invoked by uid 99); 1 May 2009 19:50:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 19:50:49 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail-bw0-f219.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 19:50:42 +0000 Received: by bwz19 with SMTP id 19so2834941bwz.12 for <caldwellmichelle@example.org>; Fri, 01 May 2009 12:50:20 -0700 (PDT) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id u4mr1856706muh.104.1241207419935; Fri, 01 May 2009 12:50:19 -0700 (PDT) In-Reply-To: <caldwellmichelle@example.org> References: <caldwellmichelle@example.org> <caldwellmichelle@example.org> Date: Fri, 1 May 2009 15:50:19 -0400 Message-ID: <caldwellmichelle@example.org> Subject: Re: how to not deploy sources.jar to artifactory From: Gordon Cody <caldwellmichelle@example.org> To: Maven Users List <caldwellmichelle@example.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Exactly what I wanted to (not) see. Thanks again Wendy and Todd too Regards, Gord On Wed, Apr 29, 2009 at 5:26 PM, Wendy Smoak <caldwellmichelle@example.org> wrote: > On Wed, Apr 29, 2009 at 1:23 PM, Gordon Cody <caldwellmichelle@example.org> wrote: >> I know I read this (on someones blog I think) but did not realise I would >> need to care until recently and now I cant find how to do this. >> >> The requirement is to not deploy sources.jar to the artifactory when >> we do mvn release:perform > > Don't activate the 'release' profile during your release -- that's > what has the source and javadoc jars configured. > > mvn release:perform ... -DuseReleaseProfile=false > > http://maven.apache.org/plugins/maven-release-plugin/perform-mojo.html > > -- > Wendy > > --------------------------------------------------------------------- > To unsubscribe, e-mail: caldwellmichelle@example.org > For additional commands, e-mail: caldwellmichelle@example.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: caldwellmichelle@example.org For additional commands, e-mail: caldwellmichelle@example.org From caldwellmichelle@example.org Fri May 01 20:28:10 2009 Return-Path: <caldwellmichelle@example.org> Delivered-To: caldwellmichelle@example.org Received: (qmail 56209 invoked from network); 1 May 2009 20:28:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 May 2009 20:28:09 -0000 Received: (qmail 86105 invoked by uid 500); 1 May 2009 20:28:07 -0000 Delivered-To: caldwellmichelle@example.org Received: (qmail 85983 invoked by uid 500); 1 May 2009 20:28:06 -0000 Mailing-List: contact caldwellmichelle@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:caldwellmichelle@example.org> List-Help: <mailto:caldwellmichelle@example.org> List-Post: <mailto:caldwellmichelle@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <caldwellmichelle@example.org> Delivered-To: mailing list caldwellmichelle@example.org Received: (qmail 85973 invoked by uid 99); 1 May 2009 20:28:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 20:28:06 +0000 X-ASF-Spam-Status: No, hits=3.3 required=10.0 tests=FB_GET_MEDS,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of caldwellmichelle@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO yw-out-1718.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 20:27:58 +0000 Received: by yw-out-1718.google.com with SMTP id 9so1608268ywk.6 for <caldwellmichelle@example.org>; Fri, 01 May 2009 13:27:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:from:date:message-id :subject:to:content-type; bh=MQDIvLFS9sv7ngEG0CH2zYn6vraoTCZV8DUfhNvAIMM=; b=KT2oTJqSDN1xPb5Dv+utPK46zUyc7v9mDu4tUtRejvroum3W/8Q4o9jKflQqNMbFOP JOzU/4bAzDCWPcLu7jlt1qP6H7HuPEliirlwNy8tGyd8fj/K8zrsIz87pkR3Lu5/pDOO beLq2qzn6zhIKhXcsEHhie0+co4lCKCtPom6A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=XD4zMpdZq/8mk/hWzQzhQUeNCI9geLSyj3cpLKm9WZ9j1qR0yvvorWsL1bdKpgVL4b rnhY3GPV4wFdUhJKQP3iiHweLxoVJ+aQWJKFhcii8VEl870L6UggVhhePv89BFIji1hk 0rDfLep8mrOMsELV9m8hG0JHYvZ4ftTGDBWSw= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id k5mr6357864ybn.132.1241209657079; Fri, 01 May 2009 13:27:37 -0700 (PDT) From: Andrew Bayer <caldwellmichelle@example.org> Date: Fri, 1 May 2009 13:27:22 -0700 Message-ID: <caldwellmichelle@example.org> Subject: Adding a directory to maven-surefire-plugin's To: Maven Users List <caldwellmichelle@example.org> Content-Type: multipart/alternative; boundary=001e680f1038b3b9cb0468dfa478 X-Virus-Checked: Checked by ClamAV on apache.org --001e680f1038b3b9cb0468dfa478 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi - I'm working on transitioning a large multi-module project from Ant to Maven, and have encountered a truly bizarre use case for Surefire. The unit tests in a number of the modules use a fairly elaborate Junit runner framework developed here - logging, configuration file locations, etc are all determined through the runner. We'd been running each test forked on its own in the existing Ant system - but upon moving to Maven and using fork="once", we discovered that in some cases, tests stepped on each other. However, when we try to run tests using our Junit runner with fork="always", the tests never actually run - we end up with this stacktrace: java.lang.IllegalStateException: Could not find 'conf/' directory in the classpath. In order to find the home directory in the classpath a directory called 'conf/' must be in the root of the classpath and can not be in a jar. at com.cisco.ccbu.infra.Environment.findHomeAbsPathInClasspath(Environment.java:204) at com.cisco.ccbu.infra.Environment.getHomeDirectory(Environment.java:132) at com.cisco.ccbu.infra.Environment.getConfigurationDirectory(Environment.java:160) at com.cisco.ccbu.infra.properties.PropertyManager.init(PropertyManager.java:152) at com.cisco.ccbu.infra.properties.PropertyManager.<clinit>(PropertyManager.java:106) at com.cisco.ccbu.infra.serviceability.CustomLogMessages.reloadCustomizedMessages(CustomLogMessages.java:123) at com.cisco.ccbu.infra.serviceability.CustomLogMessages.<clinit>(CustomLogMessages.java:97) at com.cisco.ccbu.infra.serviceability.LogMsg.initLevel(LogMsg.java:211) at com.cisco.ccbu.infra.serviceability.LogMsg.<init>(LogMsg.java:489) at com.cisco.ccbu.infra.serviceability.LogMsg.<init>(LogMsg.java:441) at com.cisco.ccbu.infra.junit.runners.Infrastructure.<clinit>(Infrastructure.java:191) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at org.junit.internal.requests.ClassRequest.buildRunner(ClassRequest.java:33) at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:28) at org.apache.maven.surefire.junit4.JUnit4TestSet.<init>(JUnit4TestSet.java:45) at org.apache.maven.surefire.junit4.JUnit4DirectoryTestSuite.createTestSet(JUnit4DirectoryTestSuite.java:56) at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.locateTestSets(AbstractDirectoryTestSuite.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.booter.SurefireBooter.getTestSets(SurefireBooter.java:448) at org.apache.maven.surefire.booter.SurefireBooter.runSuitesForkPerTestSet(SurefireBooter.java:399) at org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:249) at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:492) The problem here is that the runner for each test gets initialized when fork="always", but our runner depends on there being a directory in the classpath with a "conf" subdirectory. In our builds, there is a target/test-classes/conf directory, so the actual test execution works alright, but the classpath the Surefire plugin itself runs in does not work here. I can't find a way to get a directory with a conf subdirectory onto the maven-surefire-plugin classpath - it needs to be an actual filesystem directory, so I can't just add a jar to maven-surefire-plugin's dependencies. We can prevent it from ever checking for that conf directory in the classpath if we've set a system property to point to a directory with a conf subdir, but since we can't set system properties for the maven process on a per-pom basis, I'm not happy doing that if I can avoid it. And we wouldn't want that system property to be carried over into the actual unit tests - I know Surefire 2.4.3 with Maven 2.0.10 doesn't transfer the Maven process's system properties to the tests, but I can't tell if that's a bug or intended. So yeah - I'm stumped as to what to do about this - does anyone have any ideas? A. --001e680f1038b3b9cb0468dfa478-- From caldwellmichelle@example.org Fri May 01 20:54:08 2009 Return-Path: <caldwellmichelle@example.org> Delivered-To: caldwellmichelle@example.org Received: (qmail 64391 invoked from network); 1 May 2009 20:54:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 May 2009 20:54:07 -0000 Received: (qmail 41849 invoked by uid 500); 1 May 2009 20:54:04 -0000 Delivered-To: caldwellmichelle@example.org Received: (qmail 41763 invoked by uid 500); 1 May 2009 20:54:04 -0000 Mailing-List: contact caldwellmichelle@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:caldwellmichelle@example.org> List-Help: <mailto:caldwellmichelle@example.org> List-Post: <mailto:caldwellmichelle@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <caldwellmichelle@example.org> Delivered-To: mailing list caldwellmichelle@example.org Received: (qmail 41753 invoked by uid 99); 1 May 2009 20:54:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 20:54:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of caldwellmichelle@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-gx0-f220.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 20:53:54 +0000 Received: by gxk20 with SMTP id 20so5133577gxk.9 for <caldwellmichelle@example.org>; Fri, 01 May 2009 13:53:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=WXycE0mhkKkRsRLHv7AfTQaIOlC3v91WtGCsS6HwZo4=; b=UTO4UhPuqcVG/wnrSDXmhTxNx78g1/SWvKe1UaNKmLIdEw+e0++Cig13EHE/raWvNk S8d7oNx6CKQni+s/p7AWaEa6KdkJrXI6oqnPm9mX/uUp2PRUMKDHF7MIo2kIDAF48lEo w1fRKWwbL6w/f9dcKcZ4BpApei3w2GtDf7y5M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=TR9fr1ESA6yegi4+DJc4wx8ruil38cZCVE4y9g7f9UG8K/aAfbY1xaXygsNPfjv3io ZxEZ7VNXlDwp5mnrvGsc2fMjzRQTazs2CeD6mNJlOQN9eF2sMGe/bVMrhY7qly3CI9c4 ShptVs9/TEouYneSfk0ncyKhAiTwV33GdpgWA= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id r7mr2583815aga.47.1241210758588; Fri, 01 May 2009 13:45:58 -0700 (PDT) In-Reply-To: <caldwellmichelle@example.org> References: <caldwellmichelle@example.org> Date: Fri, 1 May 2009 13:45:58 -0700 Message-ID: <caldwellmichelle@example.org> Subject: Re: How to deploy a module with multiple classifiers? From: Wayne Fay <caldwellmichelle@example.org> To: Maven Users List <caldwellmichelle@example.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org > Shouldn't it name the .pom file the same as the .jar file? =C2=A0Or is th= ere a > different way to deploy ALL of them at the same time somehow. =C2=A0What = are the This sounds like a bug that was reported and fixed in version 2.3 of the install plugin. What version are you using? Depending on what version is set in the super pom inside Maven, you may need to specify a later version to pick up the fix. http://jira.codehaus.org/browse/MINSTALL-41 Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: caldwellmichelle@example.org For additional commands, e-mail: caldwellmichelle@example.org From caldwellmichelle@example.org Fri May 01 20:59:38 2009 Return-Path: <caldwellmichelle@example.org> Delivered-To: caldwellmichelle@example.org Received: (qmail 65673 invoked from network); 1 May 2009 20:59:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 May 2009 20:59:37 -0000 Received: (qmail 51547 invoked by uid 500); 1 May 2009 20:59:32 -0000 Delivered-To: caldwellmichelle@example.org Received: (qmail 51369 invoked by uid 500); 1 May 2009 20:59:32 -0000 Mailing-List: contact caldwellmichelle@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:caldwellmichelle@example.org> List-Help: <mailto:caldwellmichelle@example.org> List-Post: <mailto:caldwellmichelle@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <caldwellmichelle@example.org> Delivered-To: mailing list caldwellmichelle@example.org Received: (qmail 51279 invoked by uid 99); 1 May 2009 20:59:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 20:59:32 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of caldwellmichelle@example.org designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-fx0-f220.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 20:59:23 +0000 Received: by fxm20 with SMTP id 20so3209299fxm.12 for <multiple recipients>; Fri, 01 May 2009 13:59:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=lgnGWwVcOIFYNukPyp1hODC5H4dRBVTCwPvddVr+Ic8=; b=ksIzTnj+F2pNEuZXsitkoDX1PPa5DBEZS0VePlVroYei3+VsvJQtZG3h5N/Q4PAHF/ NeXKuHX5Qh8zqZCHk6AY6ZYqdy8xr7pSxQPRd+Bs+BXr35hUzsjbyaTm1Qkj/9k14Lbk RqBUZd2Lu5uvVZhyx5O964nHbR8aUOYgfb0Fg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=IOMKRolbGMvL4a/vbqt4gmRTd/XSclGkJWKjUSylPuMZnLbX4aSC2WiWPauf2KINWO sYXwgvYoBzdfq402Ptr79JoAaOiIrKF0bFRzTbEJiKEVP2SaDAKEJkXS0X/mnGNzJcMI Nt8x4ZnRkxlRsiiYsRrZyAaLTneIVRMU9CROc= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id f19mr1871311mur.32.1241211543105; Fri, 01 May 2009 13:59:03 -0700 (PDT) In-Reply-To: <caldwellmichelle@example.org> References: <caldwellmichelle@example.org> Date: Fri, 1 May 2009 22:59:02 +0200 Message-ID: <caldwellmichelle@example.org> Subject: Re: Apache snapshot repository metadata incorrect. From: Arnaud HERITIER <caldwellmichelle@example.org> To: Maven Developers List <caldwellmichelle@example.org> Cc: Maven Users List <caldwellmichelle@example.org> Content-Type: multipart/alternative; boundary=00163662e5ae1e30150468e0151a X-Virus-Checked: Checked by ClamAV on apache.org --00163662e5ae1e30150468e0151a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I'm not administrator to verify but perhaps, the job to fix metadata isn't scheduled ? On Fri, May 1, 2009 at 6:09 PM, Nord, James <caldwellmichelle@example.org> wrote: > Hi all, > > The metadata served by nexus for http://repository.apache.org/snapshots/ > is incorrect for the archetype plugin. > > (https://repository.apache.org/content/groups/snapshots/org/apache/maven > /plugins/maven-archetype-plugin/) > > metadata contains lots of snapshot versions but only > 2.0-alpha-5-SNAPSHOT is available. (and hence running mvn > archetype:generate from the command line fails as it tries to get > 12-SNAPSHOT > > /James > > <?xml version="1.0" encoding="UTF-8" ?> > - > <https://repository.apache.org/content/groups/snapshots/org/apache/maven > /plugins/maven-archetype-plugin/maven-metadata.xml#> <metadata > xsi:schemaLocation="http://maven.apache.org/METADATA/1.0.0 > http://maven.apache.org/xsd/metadata-1.0.0.xsd" > xmlns="http://maven.apache.org/METADATA/1.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-archetype-plugin</artifactId> > <version>2.0-alpha-4-SNAPSHOT</version> > - > <https://repository.apache.org/content/groups/snapshots/org/apache/maven > /plugins/maven-archetype-plugin/maven-metadata.xml#> <versioning> > <latest>12-SNAPSHOT</latest> > <release /> > - > <https://repository.apache.org/content/groups/snapshots/org/apache/maven > /plugins/maven-archetype-plugin/maven-metadata.xml#> <versions> > <version>2.0-alpha-4-SNAPSHOT</version> > <version>2.0-alpha-5-SNAPSHOT</version> > <version>0.3.0-SNAPSHOT</version> > <version>1.0-SNAPSHOT</version> > <version>1.0-alpha-2-SNAPSHOT</version> > <version>1.0-alpha-3-SNAPSHOT</version> > <version>1.0-beta-3-SNAPSHOT</version> > <version>1.0.2-SNAPSHOT</version> > <version>1.1-SNAPSHOT</version> > <version>1.1.1-SNAPSHOT</version> > <version>1.2-SNAPSHOT</version> > <version>1.2.2-SNAPSHOT</version> > <version>1.3-SNAPSHOT</version> > <version>2.0-beta-9-SNAPSHOT</version> > <version>2.0-beta-10-SNAPSHOT</version> > <version>2.0.11-SNAPSHOT</version> > <version>2.1.0-SNAPSHOT</version> > <version>2.1-SNAPSHOT</version> > <version>2.1.0-M2-SNAPSHOT</version> > <version>2.2-SNAPSHOT</version> > <version>2.3-SNAPSHOT</version> > <version>2.4.4-SNAPSHOT</version> > <version>2.5-SNAPSHOT</version> > <version>3.0-alpha-2-SNAPSHOT</version> > <version>11-SNAPSHOT</version> > <version>12-SNAPSHOT</version> > </versions> > <lastUpdated>20090417213533</lastUpdated> > </versioning> > </metadata> > > > ************************************************************************************** > This e-mail is confidential, the property of NDS Ltd and intended for the > addressee only. Any dissemination, copying or distribution of this message > or any attachments by anyone other than the intended recipient is strictly > prohibited. If you have received this message in error, please immediately > notify the caldwellmichelle@example.org and destroy the original message. Messages > sent to and from NDS may be monitored. NDS cannot guarantee any message > delivery method is secure or error-free. Information could be intercepted, > corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. > We do not accept responsibility for any errors or omissions in this message > and/or attachment that arise as a result of transmission. You should carry > out your own virus checks before opening any attachment. Any views or > opinions presented are solely those of the author and do not necessarily > represent those of NDS. > > To protect the environment please do not print this e-mail unless > necessary. > > NDS Limited Registered Office: One London Road, Staines, Middlesex, TW18 > 4EX, United Kingdom. A company registered in England and Wales Registered > no. 3080780 VAT no. GB 603 8808 40-00 > > ************************************************************************************** > -- Arnaud --00163662e5ae1e30150468e0151a-- From caldwellmichelle@example.org Fri May 01 21:22:26 2009 Return-Path: <caldwellmichelle@example.org> Delivered-To: caldwellmichelle@example.org Received: (qmail 75186 invoked from network); 1 May 2009 21:22:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 May 2009 21:22:26 -0000 Received: (qmail 83034 invoked by uid 500); 1 May 2009 21:22:23 -0000 Delivered-To: caldwellmichelle@example.org Received: (qmail 82919 invoked by uid 500); 1 May 2009 21:22:23 -0000 Mailing-List: contact caldwellmichelle@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:caldwellmichelle@example.org> List-Help: <mailto:caldwellmichelle@example.org> List-Post: <mailto:caldwellmichelle@example.org> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <caldwellmichelle@example.org> Delivered-To: mailing list caldwellmichelle@example.org Received: (qmail 82909 invoked by uid 99); 1 May 2009 21:22:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 May 2009 21:22:23 +0000 X-ASF-Spam-Status:
{'source': 'Apache Software Foundation Public Mail Archives'}