From matthew58@example.com Tue Jan 01 02:40:20 2008 Return-Path: <matthew58@example.com> Delivered-To: matthew58@example.com Received: (qmail 32882 invoked from network); 1 Jan 2008 02:40:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2008 02:40:20 -0000 Received: (qmail 94257 invoked by uid 500); 1 Jan 2008 02:40:02 -0000 Delivered-To: matthew58@example.com Received: (qmail 94202 invoked by uid 500); 1 Jan 2008 02:40:02 -0000 Mailing-List: contact matthew58@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:matthew58@example.com> List-Help: <mailto:matthew58@example.com> List-Post: <mailto:matthew58@example.com> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <matthew58@example.com> Delivered-To: mailing list matthew58@example.com Received: (qmail 94191 invoked by uid 99); 1 Jan 2008 02:40:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2007 18:40:02 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 83.161.120.155 is neither permitted nor denied by domain of matthew58@example.com) Received: from [83.161.120.155] (HELO rel106.mail.aue.yahoo.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 01 Jan 2008 02:39:48 +0000 Received: (qmail 66740 invoked by uid 1000); 1 Jan 2008 02:39:36 -0000 Received: from 83.161.120.155 by rel106.mail.aue.yahoo.com with SMTP; Mon, 31 Dec 2007 18:39:36 -0800 Received: (qmail 81197 invoked from network); 1 Jan 2008 02:39:36 -0000 Received: from unknown (HELO ?83.161.120.155?) (matthew58@example.com@83.161.120.155 with plain) by smtp101.tnz.mail.aue.yahoo.com with SMTP; 1 Jan 2008 02:39:36 -0000 X-YMail-OSG: K8PKf9UVM1mM6zxz4aZmEiyWGK5lRsocMz0uv4wkSI.pQ9268FEmVqdSdaYcnTwtPw-- Message-ID: <matthew58@example.com> Date: Tue, 01 Jan 2008 15:39:37 +1300 From: Rahul Thakur <matthew58@example.com> User-Agent: Thunderbird 83.161.120.155 (Windows/20071031) MIME-Version: 1.0 To: Maven Users List <matthew58@example.com> Subject: Re: state of maven support for Google Web Toolkit ? References: <matthew58@example.com> <00c601c83c5f$b3035980$010110ac@deskb> <matthew58@example.com> <005701c83d12$e57ed7a0$010110ac@deskb> <matthew58@example.com> In-Reply-To: <matthew58@example.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I find myself in the same boat while developing a GWT based webapp. Having used the Maven plugin(s) out there, I believe, they can be improved (not had good user experiences yet!). I think we should consolidate all efforts towards a GWT plugin. If you have and want to share some useful pieces of code, and add/improvise with new features, I'd say add it to the GWT Maven plugin under Mojo sandbox, so others can use and improve on it. Thanks, Rahul nicolas de loof wrote: > The plugin http://code.google.com/p/gwt-maven/ > <http://code.google.com/p/gwt-maven/>is not developped but simply HOSTED by > google code. > > The plugin at codehaus is currently in mojo sandbox. Maybe you could merge > your code with this one to make it more efficient ? Providing support for > the gwt shell would be a nice enhancement, and this plugin could be promoted > out of the sandbox if more developers contribute to make it a Must-have > plugin ! > > The goal of the Mojo project is to avoid many developers to work on there > side on equivalent plugins. There may be reasons not to merge similar > projects, but there also are many advantages to do, especially to be more > attractive and get more good developers provide new features. > > Nico. > > 2007/12/13, Bob Allison <matthew58@example.com>: > >> I thought about doing that, but I wasn't sure about adding another plugin >> to >> do about the same thing. Should we just let Google maintain the plugin >> for >> their toolkit? >> >> Since there is already a gwt-maven-plugin in the Mojo sandbox and a >> maven-googlewebtoolkit-plugin at Google, do you have a suggestion as to >> what >> to call my version? >> >> ----- Original Message ----- >> From: "nicolas de loof" <matthew58@example.com> >> To: "Maven Users List" <matthew58@example.com> >> Sent: Wednesday, December 12, 2007 2:43 AM >> Subject: Re: state of maven support for Google Web Toolkit ? >> >> >> >>> What about submitting your plugin to the Mojo project ? >>> >>> Nico. >>> >>> 2007/12/12, Bob Allison <matthew58@example.com>: >>> >>>> I have built a version that I use which supports both running the >>>> development shell from Maven and compiling as part of the normal build >>>> process. I think there are a least two other plugins in Codehaus. >>>> >>>> I haven't used the plugins at Codehaus because last time I looked they >>>> did >>>> not support the development shell. I had not seen the plugin produced >>>> >> by >> >>>> Google before, so I have not used it. One thing the Google plugin does >>>> that >>>> I don't is to build the template project (doesn't seem very useful to >>>> >> put >> >>>> a >>>> bunch of configuration in the POM for a one-time event). >>>> >>>> I use my plugin on an almost daily basis for development. If anyone is >>>> interested, I can probably post it somewhere for people to access. >>>> >>>> ----- Original Message ----- >>>> From: "nicolas de loof" <matthew58@example.com> >>>> To: "Maven Users List" <matthew58@example.com> >>>> Sent: Tuesday, December 11, 2007 8:49 AM >>>> Subject: state of maven support for Google Web Toolkit ? >>>> >>>> >>>> >>>>> Thanks to google, I've found >>>>> http://codehaus.org/~shinobu/gwt-maven-plugin/and >>>>> http://code.google.com/p/gwt-maven/ >>>>> >>>>> What is the status of supporting GWT compiler in maven builds ? >>>>> >>>>> Nico. >>>>> >>>>> >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: matthew58@example.com >>>> For additional commands, e-mail: matthew58@example.com >>>> >>>> >>>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: matthew58@example.com >> For additional commands, e-mail: matthew58@example.com >> >> >> > > --------------------------------------------------------------------- To unsubscribe, e-mail: matthew58@example.com For additional commands, e-mail: matthew58@example.com From matthew58@example.com Tue Jan 01 05:05:05 2008 Return-Path: <matthew58@example.com> Delivered-To: matthew58@example.com Received: (qmail 60330 invoked from network); 1 Jan 2008 05:05:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2008 05:05:04 -0000 Received: (qmail 22893 invoked by uid 500); 1 Jan 2008 05:04:46 -0000 Delivered-To: matthew58@example.com Received: (qmail 22836 invoked by uid 500); 1 Jan 2008 05:04:46 -0000 Mailing-List: contact matthew58@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:matthew58@example.com> List-Help: <mailto:matthew58@example.com> List-Post: <mailto:matthew58@example.com> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <matthew58@example.com> Delivered-To: mailing list matthew58@example.com Received: (qmail 22825 invoked by uid 99); 1 Jan 2008 05:04:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2007 21:04:46 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of matthew58@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO py-out-1112.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jan 2008 05:04:24 +0000 Received: by py-out-1112.google.com with SMTP id p76so9486911pyb.2 for <matthew58@example.com>; Mon, 31 Dec 2007 21:04:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=bYMGEiZFBA8RGwoGzGEhVfhIoDkyOLxmR866Z9Kwg4s=; b=wF3KEI5F2tns1yaQnhlX3PrryDkM/M/sErYdhwiwSWTT5XUdQ7gxWji+E+eJwBKFNGzNiL6vpak2oBQwU3W4yhVSY20QsspMrIEVlOBlXKHZmdVM51nVSgjAbSrW4obSkPlpL0F6ImW4vpZnKraZ1hHBfWiD9lEwYYMDcVmXlW8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=NZVyCSU4cA6ugsi/st4d6f9YpDlgwtx2/srx+5aCA2pB+NQz+FtWFfmAqcW9Peb4uA2gbeyCXIWZwvrgbdC5MpWxH2GbWkPKhGh6V5ROgG1YaNfksWBrbCwgYd+94CQ44qepHk4qEIMo8rYl9VlXva8HwK1J+Z4lf0KtH/aHBlY= Received: by 83.161.120.155 with SMTP id w15mr26227568qbr.38.1199163867816; Mon, 31 Dec 2007 21:04:27 -0800 (PST) Received: by 83.161.120.155 with HTTP; Mon, 31 Dec 2007 21:04:27 -0800 (PST) Message-ID: <matthew58@example.com> Date: Tue, 1 Jan 2008 10:34:27 +0530 From: "amit kumar" <matthew58@example.com> To: "Maven Users List" <matthew58@example.com> Subject: Re: Maven Variable to take the system date? In-Reply-To: <matthew58@example.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_23256_28031942.1199163867809" References: <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_23256_28031942.1199163867809 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks, its working now. On Dec 31, 2007 7:36 PM, Jerome Lacoste <matthew58@example.com> wrote: > On Dec 31, 2007 9:26 AM, amit kumar <matthew58@example.com> wrote: > > Oh, can I cope up with this?Any workaround? > > change your format: > > <format>{0,date,yyyy-MM-dd HH:mm:ss}</format> > > to something that suits your OS. > > Jerome > > --------------------------------------------------------------------- > To unsubscribe, e-mail: matthew58@example.com > For additional commands, e-mail: matthew58@example.com > > ------=_Part_23256_28031942.1199163867809-- From matthew58@example.com Tue Jan 01 06:07:30 2008 Return-Path: <matthew58@example.com> Delivered-To: matthew58@example.com Received: (qmail 38076 invoked from network); 1 Jan 2008 06:07:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2008 06:07:30 -0000 Received: (qmail 40243 invoked by uid 500); 1 Jan 2008 06:07:10 -0000 Delivered-To: matthew58@example.com Received: (qmail 40189 invoked by uid 500); 1 Jan 2008 06:07:10 -0000 Mailing-List: contact matthew58@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:matthew58@example.com> List-Help: <mailto:matthew58@example.com> List-Post: <mailto:matthew58@example.com> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <matthew58@example.com> Delivered-To: mailing list matthew58@example.com Received: (qmail 40178 invoked by uid 99); 1 Jan 2008 06:07:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Dec 2007 22:07:10 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of matthew58@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO hu-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jan 2008 06:06:48 +0000 Received: by hu-out-0506.google.com with SMTP id 23so558447huc.1 for <matthew58@example.com>; Mon, 31 Dec 2007 22:06:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=cGpuAdB7XLN2qHmDW5Sjp/+BO36+FxRW4D3ggcqaCAs=; b=YTfuEhfAq2DzoVXdE6/IDe4fVW+UN2ApN5v/UmiV2/4icTaH1quqgwPVp7QsLgQVV9DvJoo3B+KPU7TGSViLiTVMraawQtywiQAaCDn5Q+eKD1jN2o+Xb5S3L0b92VB4cO9BekPXTJOqYzBnWPAZ/YYcriYxB6mUg/ku9G/m+KM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=jI44w5wwJidiwbTRXULt7qWay30fM3nesRji9ACjL+dcVtlNEdMeTt0fdl2vFNXM8SeGZZpWNMNtYbU9nsKCfh7TTop4+7QGXgqe4BOd47Y338BGzm4mIqBzmgr1eKRxWoUVTgZN3/7EaUscBQIRU0sJV3zbyrdT/e7RKuQkUYQ= Received: by 83.161.120.155 with SMTP id f15mr23158930buc.0.1199167611316; Mon, 31 Dec 2007 22:06:51 -0800 (PST) Received: by 83.161.120.155 with HTTP; Mon, 31 Dec 2007 22:06:51 -0800 (PST) Message-ID: <matthew58@example.com> Date: Tue, 1 Jan 2008 14:06:51 +0800 From: "Rice Yeh" <matthew58@example.com> To: "Maven Users List" <matthew58@example.com> Subject: Re: version in dependency is needed In-Reply-To: <matthew58@example.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_23160_3365926.1199167611311" References: <matthew58@example.com> <matthew58@example.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_23160_3365926.1199167611311 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Dec 31, 2007 2:20 PM, Dan Tran <matthew58@example.com> wrote: > In order to inherit the version from dependencyManagent, you need to > have the same type as well. > > In depMan you have type=war but in your dep you have type=ejb > > -D > > btw, is there such type as 'ejb' First, thanks for your answer. And yes, there is a type called ejb. see http://maven.apache.org/plugins/maven-ejb-plugin/ > > > > > On Dec 30, 2007 9:51 PM, Rice Yeh <matthew58@example.com> wrote: > > Hi, > > I have a pom which has a dependency as follows: > > > > <dependency> > > <groupId>org.jboss.seam.example.booking</groupId> > > <artifactId>booking-ejb</artifactId> > > <type>ejb</type> > > </dependency> > > > > and this pom has a parent which has dependencyManagment stating the > version > > of the above dependency as the follows: > > > > <dependencyManagement> > > <dependencies> > > <dependency> > > <groupId>org.jboss.seam.example.booking</groupId> > > <artifactId>booking-web</artifactId> > > <version>${pom.version}</version> > > <type>war</type> > > </dependency> > > .... > > > > > > But when run mvn eclipse:eclipse, I keep get the following error: > > > > Project ID: org.jboss.seam.example.booking:booking-web > > POM Location: /home/rice/practices/jboss/seam/booking/web/pom.xml > > Validation Messages: > > > > [0] 'dependencies.dependency.version' is missing for > > org.jboss.seam.example.booking:booking-ejb > > > > > > Reason: Failed to validate POM for project > > org.jboss.seam.example.booking:booking-web at > > /home/rice/practices/jboss/seam/booking/web/pom.xml > > > > > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Trace > > org.apache.maven.reactor.MavenExecutionException: Failed to validate POM > for > > project org.jboss.seam.example.booking:booking-web at > > /home/rice/practices/jboss/seam/booking/web/pom.xml > > at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java > :376) > > > > > > Why version is needed here? I see other uses that do not have version > > element but work. How? > > > > Regards, > > Rice > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: matthew58@example.com > For additional commands, e-mail: matthew58@example.com > > ------=_Part_23160_3365926.1199167611311-- From matthew58@example.com Tue Jan 01 10:04:03 2008 Return-Path: <matthew58@example.com> Delivered-To: matthew58@example.com Received: (qmail 69568 invoked from network); 1 Jan 2008 10:04:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2008 10:04:02 -0000 Received: (qmail 76137 invoked by uid 500); 1 Jan 2008 10:03:43 -0000 Delivered-To: matthew58@example.com Received: (qmail 76065 invoked by uid 500); 1 Jan 2008 10:03:42 -0000 Mailing-List: contact matthew58@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:matthew58@example.com> List-Help: <mailto:matthew58@example.com> List-Post: <mailto:matthew58@example.com> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <matthew58@example.com> Delivered-To: mailing list matthew58@example.com Received: (qmail 76054 invoked by uid 99); 1 Jan 2008 10:03:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jan 2008 02:03:42 -0800 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 matthew58@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO ug-out-1314.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jan 2008 10:03:19 +0000 Received: by ug-out-1314.google.com with SMTP id a2so2711109ugf.48 for <matthew58@example.com>; Tue, 01 Jan 2008 02:03:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=iSbTcV8wXM/lM+Kt4MQhLOrK1YGuIN102jYoRPZVlZ8=; b=lAQaOGG1ATjyIlMQhuxPun5/MGPqjIQebmN8sS9jzKIFUTbcY484ecStrS7YfZsP8DfP82mbECoBsIvaUklGKNncC7QdMs6N/NmT7AG/V0Zzp6+X9jMbawDni5S4K/Oj1yq/uVUag1HrHr3v3XsrPUhhPFyfG74PbW3+ULpGE90= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EPkqS25dUhoZzWCwMmJ1j+GW7UUz4SSXk6RZpW634NBLozCvZhIAQ45apSsYbbOhqectIx6gZGsap85FVtvH7SZebT7DlTd6GpdqJVVaWWao25QA9zvuGNSPMMhDT7EVWzbYOQQirkpEcSkS+OzV3lXKzvRr2fkRUm0myy6RqgI= Received: by 83.161.120.155 with SMTP id e3mr12550718ugj.22.1199181802252; Tue, 01 Jan 2008 02:03:22 -0800 (PST) Received: by 83.161.120.155 with HTTP; Tue, 1 Jan 2008 02:03:22 -0800 (PST) Message-ID: <matthew58@example.com> Date: Tue, 1 Jan 2008 11:03:22 +0100 From: "Stephane Nicoll" <matthew58@example.com> To: "Maven Users List" <matthew58@example.com> Subject: Re: an "mvn setup:diagnose" would be nice at times like this :) In-Reply-To: <matthew58@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> X-Virus-Checked: Checked by ClamAV on apache.org Try telnet repo1.maven.org 80 (or check the options if you are on Windows, I think specifying the port is -p). Ping only means that you can reach that machine on a particular protocol. If HTTP is forbidden on the way it won't help. Anyway, back to the original question, I think that Maven can't do much for you. It brings the original exception (the Java network exception) which is good. I don't see how it could inspect your network configuration. Regards, St=E9phane On Dec 29, 2007 1:39 PM, Pete Carapetyan <matthew58@example.com> wrote: > answer is inline below question: > > On Dec 29, 2007 6:30 AM, Tom Huybrechts <matthew58@example.com> wrote: > > The UnknownHostException make this look like a network issue. Can you d= o a > > ping repo1.maven.org ? > > $ ping repo1.maven.org > > Pinging repo1.maven.org [83.161.120.155] with 32 bytes of data: > > Reply from 83.161.120.155: bytes=3D32 time=3D46ms TTL=3D52 > Reply from 83.161.120.155: bytes=3D32 time=3D46ms TTL=3D52 > Reply from 83.161.120.155: bytes=3D32 time=3D44ms TTL=3D52 > Reply from 83.161.120.155: bytes=3D32 time=3D45ms TTL=3D52 > > Ping statistics for 83.161.120.155: > Packets: Sent =3D 4, Received =3D 4, Lost =3D 0 (0% loss), > Approximate round trip times in milli-seconds: > Minimum =3D 44ms, Maximum =3D 46ms, Average =3D 45ms > > > > > Tom > > > > > > On Dec 29, 2007 1:26 PM, Pete Carapetyan <matthew58@example.com> wr= ote: > > > > > Long time Maven user getting the dreaded "plugin does not exist or no > > > valid version could be found" on every maven call after unrelated > > > software installation. Any advice where to look next greatly > > > appreciated. > > > > > > Ran on same box 2 hours before, runs on every other box same network > > > connection, only thing different is I installed some screen capturing > > > software (Camtasia) which might have done something - don't know how > > > to diagnose what. Everything else on the box still running great far > > > as I can tell. > > > > > > Here is what I have done to make sure it isn't the usual suspects. > > > - no proxy - other computer works fine as did this one two hours earl= ier > > > - no firewall - turned off firewall to test that > > > - installed bran new latest version of maven, pointed to fresh empty > > > repository > > > - virgin conf/settings.xml > > > - ran archetype:create to make sure it wasn't a lame pom.xml in an > > > existing project > > > > > > Below is example of what I ran and what came back (blowing away > > > repository first). It does go as far as to build one > > > maven-metadata-central.xml in > > > ~\.m2\repository\org\apache\maven\plugins then it quits and prints th= e > > > stacktrace below. > > > > > > > > > $ mvn -X archetype:create -DarchetypeGroupId=3Dorg.apache.maven.arc= hetypes -D > > > archetypeArtifactId=3Dmaven-archetype-site -DgroupId=3Dorg.artofill= usion > > > -Darti > > > factId=3Dmaven-sample > > > > > > + Error stacktraces are turned on. > > > Maven version: 2.0.8 > > > Java version: 1.6.0_01 > > > OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows" > > > [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents= and > > > Settin > > > gs\Administrator\.m2\plugin-registry.xml' > > > [DEBUG] Building Maven global-level plugin registry from: > > > 'c:\dev\apache-maven-2 > > > .0.8\conf\plugin-registry.xml' > > > [INFO] Scanning for projects... > > > [INFO] Searching repository for plugin with prefix: 'archetype'. > > > [DEBUG] Loading plugin prefixes from group: org.apache.maven.plugins > > > [INFO] org.apache.maven.plugins: checking for updates from central > > > [WARNING] repository metadata for: 'org.apache.maven.plugins' could n= ot be > > > retri > > > eved from repository: central due to an error: Error transferring fil= e > > > [INFO] Repository 'central' will be blacklisted > > > [DEBUG] Exception > > > org.apache.maven.wagon.TransferFailedException: Error transferring fi= le > > > at > > > org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputD > > > ata(LightweightHttpWagon.java:104) > > > at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:68) > > > at > > > org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(D > > > efaultWagonManager.java:462) > > > at > > > org.apache.maven.artifact.manager.DefaultWagonManager.getArtifactMeta > > > data(DefaultWagonManager.java:363) > > > at > > > org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetada > > > taManager.resolveAlways(DefaultRepositoryMetadataManager.java:364) > > > at > > > org.apache.maven.artifact.repository.metadata.DefaultRepositoryMetada > > > taManager.resolve(DefaultRepositoryMetadataManager.java:97) > > > at > > > org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMapping > > > s(DefaultPluginMappingManager.java:103) > > > at > > > org.apache.maven.plugin.DefaultPluginMappingManager.loadPluginMapping > > > s(DefaultPluginMappingManager.java:87) > > > at org.apache.maven.plugin.DefaultPluginMappingManager.getByPr= efix > > > (Defau > > > ltPluginMappingManager.java:61) > > > at > > > org.apache.maven.plugin.DefaultPluginManager.getPluginDefinitionForPr > > > efix(DefaultPluginManager.java:150) > > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor > > > (DefaultLifecycleExecutor.java:1451) > > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy > > > AggregationNeeds(DefaultLifecycleExecutor.java:386) > > > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute > > > (DefaultLi > > > fecycleExecutor.java:138) > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:3= 33) > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126= ) > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke > > > (NativeMethodAccessorImpl. > > > java:39) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke > > > (DelegatingMethodAcces > > > sorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.j= ava > > > :315) > > > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > > > at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher= .java > > > :430) > > > > > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > > > Caused by: java.net.UnknownHostException: repo1.maven.org > > > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177) > > > at java.net.Socket.connect(Socket.java:519) > > > at java.net.Socket.connect(Socket.java:469) > > > at sun.net.NetworkClient.doConnect(NetworkClient.java:157) > > > at sun.net.www.http.HttpClient.openServer(HttpClient.java:388) > > > at sun.net.www.http.HttpClient.openServer(HttpClient.java:515) > > > at sun.net.www.http.HttpClient.<init>(HttpClient.java:233) > > > at sun.net.www.http.HttpClient.New(HttpClient.java:306) > > > at sun.net.www.http.HttpClient.New(HttpClient.java:318) > > > at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClien= t > > > (HttpURLC > > > onnection.java:792) > > > at sun.net.www.protocol.http.HttpURLConnection.plainConnect > > > (HttpURLConne > > > ction.java:733) > > > at sun.net.www.protocol.http.HttpURLConnection.connect > > > (HttpURLConnection > > > .java:658) > > > at sun.net.www.protocol.http.HttpURLConnection.getInputStream > > > (HttpURLCon > > > nection.java:981) > > > at > > > org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputD > > > ata(LightweightHttpWagon.java:83) > > > ... 23 more > > > [DEBUG] Loading plugin prefixes from group: org.codehaus.mojo > > > [DEBUG] Skipping blacklisted repository central > > > [DEBUG] Skipping blacklisted repository central > > > [DEBUG] maven-archetype-plugin: using locally installed snapshot > > > [DEBUG] Artifact not found - using stub model: Unable to determine th= e > > > latest ve > > > rsion > > > > > > org.apache.maven.plugins:maven-archetype-plugin:pom:LATEST > > > > > > > > > [DEBUG] Using defaults for missing POM > > > org.apache.maven.plugins:maven-archetype- > > > plugin:pom:LATEST > > > [DEBUG] maven-archetype-plugin: using locally installed snapshot > > > [DEBUG] Artifact not found - using stub model: Unable to determine th= e > > > release v > > > ersion > > > > > > org.apache.maven.plugins:maven-archetype-plugin:pom:RELEASE > > > > > > > > > [DEBUG] Using defaults for missing POM > > > org.apache.maven.plugins:maven-archetype- > > > plugin:pom:RELEASE > > > [INFO] > > > ---------------------------------------------------------------------= --- > > > [ERROR] BUILD ERROR > > > [INFO] > > > ---------------------------------------------------------------------= --- > > > [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' d= oes > > > not exi > > > st or no valid version could be found > > > [INFO] > > > ---------------------------------------------------------------------= --- > > > [DEBUG] Trace > > > org.apache.maven.lifecycle.LifecycleExecutionException: The plugin ' > > > org.apache.m > > > aven.plugins:maven-archetype-plugin' does not exist or no valid versi= on > > > could be > > > found > > > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyP= lugin > > > (Defa > > > ultLifecycleExecutor.java:1286) > > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor > > > (DefaultLifecycleExecutor.java:1522) > > > at > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy > > > AggregationNeeds(DefaultLifecycleExecutor.java:386) > > > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute > > > (DefaultLi > > > fecycleExecutor.java:138) > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:3= 33) > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126= ) > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:282) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at sun.reflect.NativeMethodAccessorImpl.invoke > > > (NativeMethodAccessorImpl. > > > java:39) > > > at sun.reflect.DelegatingMethodAccessorImpl.invoke > > > (DelegatingMethodAcces > > > sorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:597) > > > at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.j= ava > > > :315) > > > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > > > at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher= .java > > > :430) > > > > > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > > > Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundExcep= tion: > > > The p > > > lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exis= t or > > > no val > > > id version could be found > > > at > > > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl > > > uginVersion(DefaultPluginVersionManager.java:229) > > > at > > > org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl > > > uginVersion(DefaultPluginVersionManager.java:91) > > > at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin > > > (DefaultPlug > > > inManager.java:167) > > > at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyP= lugin > > > (Defa > > > ultLifecycleExecutor.java:1257) > > > ... 14 more > > > [INFO] > > > ---------------------------------------------------------------------= --- > > > [INFO] Total time: 2 seconds > > > [INFO] Finished at: Sat Dec 29 05:37:23 CST 2007 > > > [INFO] Final Memory: 1M/4M > > > [INFO] > > > ---------------------------------------------------------------------= --- > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: matthew58@example.com > > > For additional commands, e-mail: matthew58@example.com > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: matthew58@example.com > For additional commands, e-mail: matthew58@example.com > > --=20 Large Systems Suck: This rule is 100% transitive. If you build one, you suck" -- S.Yegge --------------------------------------------------------------------- To unsubscribe, e-mail: matthew58@example.com For additional commands, e-mail: matthew58@example.com From matthew58@example.com Tue Jan 01 12:59:54 2008 Return-Path: <matthew58@example.com> Delivered-To: matthew58@example.com Received: (qmail 93670 invoked from network); 1 Jan 2008 12:59:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2008 12:59:53 -0000 Received: (qmail 21753 invoked by uid 500); 1 Jan 2008 12:59:35 -0000 Delivered-To: matthew58@example.com Received: (qmail 21695 invoked by uid 500); 1 Jan 2008 12:59:35 -0000 Mailing-List: contact matthew58@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:matthew58@example.com> List-Help: <mailto:matthew58@example.com> List-Post: <mailto:matthew58@example.com> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <matthew58@example.com> Delivered-To: mailing list matthew58@example.com Received: (qmail 21684 invoked by uid 99); 1 Jan 2008 12:59:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jan 2008 04:59:35 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of matthew58@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO py-out-1112.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jan 2008 12:59:13 +0000 Received: by py-out-1112.google.com with SMTP id p76so9600714pyb.2 for <matthew58@example.com>; Tue, 01 Jan 2008 04:59:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=afySwtnJuPZTcUo61ycN+Ds8kJFEK04z1iL9ht9rxI8=; b=bJlPWhqtrWekFPqPCM7e4eygQhqE0APAHjM4CGeYnoEzfBLXJ0ZMSDXSkxOiMniPnboAEAksDNPfylCiaWtw0tyFd3SiHxherISVRkUVPRSI58SKUEoCHNnJAWmIBpp0PGAwczHV6j+zUNmRwfUCBG48U4fT3JNs8Q7gaLdhBr4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=X3WfayXe7Ads0tGm0/lHM/L0K+EqYMx+i3S27uVl0B2pkk3j+mxGIdhGVH9dSpWO2xEHs0Ho0PIypXNB6SlcKY+Y9rbWCAQQaHXQTeN6VGPoGkwDEJFFKV2YO+pIBINCQK6pXk6rXoW7mbHbthAH7Re7dIDqh+3O5VN807gwNaw= Received: by 83.161.120.155 with SMTP id w13mr26958596qbp.67.1199192357369; Tue, 01 Jan 2008 04:59:17 -0800 (PST) Received: by 83.161.120.155 with HTTP; Tue, 1 Jan 2008 04:59:17 -0800 (PST) Message-ID: <matthew58@example.com> Date: Tue, 1 Jan 2008 18:29:17 +0530 From: "amit kumar" <matthew58@example.com> To: "Maven Users List" <matthew58@example.com> Subject: CVS files being packaged in WAR MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_23817_23753714.1199192357361" X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_23817_23753714.1199192357361 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I am facing this problem of getting CVS files packaged in the WAR build from maven. I am overriding the maven's default directory layout. Below is the part of my pom.xml <build> <finalName>Portal</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.0</version> <configuration> <webappDirectory> ${basedir}/webRoot </webappDirectory> <excludes> <exclude>**/CVS</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> <optimize>true</optimize> </configuration> </plugin> </plugins> <sourceDirectory>${basedir}/src</sourceDirectory> <directory>C:\finalbuilds\readioneportal</directory> <resources> <resource> <directory>${basedir}/resources</directory> </resource> </resources> </build> How shall I avoid this? Any help? Regards, Amit ------=_Part_23817_23753714.1199192357361-- From matthew58@example.com Tue Jan 01 13:55:47 2008 Return-Path: <matthew58@example.com> Delivered-To: matthew58@example.com Received: (qmail 543 invoked from network); 1 Jan 2008 13:55:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2008 13:55:47 -0000 Received: (qmail 34478 invoked by uid 500); 1 Jan 2008 13:55:29 -0000 Delivered-To: matthew58@example.com Received: (qmail 34410 invoked by uid 500); 1 Jan 2008 13:55:29 -0000 Mailing-List: contact matthew58@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:matthew58@example.com> List-Help: <mailto:matthew58@example.com> List-Post: <mailto:matthew58@example.com> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <matthew58@example.com> Delivered-To: mailing list matthew58@example.com Received: (qmail 34399 invoked by uid 99); 1 Jan 2008 13:55:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jan 2008 05:55:29 -0800 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: local policy) Received: from [83.161.120.155] (HELO xrmail.xrite.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jan 2008 13:55:15 +0000 Received: from XRMAIL.XRITE.COM (Not Verified[83.161.120.155]) by xrmail.xrite.com with MailMarshal (v6,1,8,2172) id <B477a46370000>; Tue, 01 Jan 2008 08:55:04 -0500 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: Native JNI libs and Maven dependencies Date: Tue, 1 Jan 2008 08:55:01 -0500 Message-ID: <matthew58@example.com> In-Reply-To: <matthew58@example.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Native JNI libs and Maven dependencies Thread-Index: AchL3ieK1H1s2NrTTOGKv8A4JppcDwAnqOog From: "Dave Hoffer" <matthew58@example.com> To: "Maven Users List" <matthew58@example.com> X-Virus-Checked: Checked by ClamAV on apache.org There are a couple of maven extensions out there that allow maven to support native code. The one I am most familiar with is the Freehep NAR plugin. Its basic idea is to jar up all dependent native code in nar files. Maven can then treat these much like it does jars and handle all the transitive dependencies, etc. http://java.freehep.org/freehep-nar-plugin/intro.html Now I don't know if this will work for you; its main purpose is to compile then nar the binaries. However since you aren't compiling you might just be able to package them into nars. It does unpack the nars, at the right time, so they can be loaded by your application. Also, I wouldn't say it is quite complete yet. For example we couldn't use it because it lacked support for dealing with universal binaries on OSX, etc. It might be worth a look for your case. -Dave=20 -----Original Message----- From: Jon Brisbin [mailto:matthew58@example.com]=20 Sent: Monday, December 31, 2007 1:51 PM To: matthew58@example.com Subject: Native JNI libs and Maven dependencies I've been using eXist as the XML:DB backend for our portal =20 application, but I'm moving to Oracle Berkley DBXML. There is no Maven =20 POM for DBXML, obviously, but I'd like to include that as a dependency =20 for my application rather than installing it in the JVM's ext/ and =20 i386/ directories. There is some scant documentation around on including JNI libraries =20 with Maven dependencies, but I couldn't really make heads or tails of =20 it, as it's not an actual part of the application, just a dependency. =20 How would I go about creating a Maven dependency for Berkley DBXML =20 that includes the JAR files and the shared libraries (I know I'll have =20 to include all the architectures I deploy on, but right now I'm just =20 concentrating on getting this working on my MacBook Pro). I want it =20 portable, so I don't want to use a system dependency, but I guess I =20 will if there's no way around it. Any pointers to docs somewhere of folks who have already done this? Thanks! Jon Brisbin http://jbrisbin.com --------------------------------------------------------------------- To unsubscribe, e-mail: matthew58@example.com For additional commands, e-mail: matthew58@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: matthew58@example.com For additional commands, e-mail: matthew58@example.com From matthew58@example.com Tue Jan 01 16:08:33 2008 Return-Path: <matthew58@example.com> Delivered-To: matthew58@example.com Received: (qmail 87388 invoked from network); 1 Jan 2008 16:08:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2008 16:08:33 -0000 Received: (qmail 89855 invoked by uid 500); 1 Jan 2008 16:08:13 -0000 Delivered-To: matthew58@example.com Received: (qmail 89807 invoked by uid 500); 1 Jan 2008 16:08:13 -0000 Mailing-List: contact matthew58@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:matthew58@example.com> List-Help: <mailto:matthew58@example.com> List-Post: <mailto:matthew58@example.com> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <matthew58@example.com> Delivered-To: mailing list matthew58@example.com Received: (qmail 89793 invoked by uid 99); 1 Jan 2008 16:08:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jan 2008 08:08:13 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of matthew58@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jan 2008 16:08:01 +0000 Received: from isper.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <matthew58@example.com>) id 1J9jei-0006B3-TJ for matthew58@example.com; Tue, 01 Jan 2008 08:07:52 -0800 Message-ID: <matthew58@example.com> Date: Tue, 1 Jan 2008 08:07:52 -0800 (PST) From: PatrickV <matthew58@example.com> To: matthew58@example.com Subject: RE: Problem with maven-dependency-plugin: copy-dependencies In-Reply-To: <matthew58@example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: matthew58@example.com References: <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> X-Virus-Checked: Checked by ClamAV on apache.org I hope I can make it clear by attaching the pom's to this message. The poms are stripped versions of the real stuff. Module A = pp-common.xml Module B = pp-client.xml Module C = pp-server.xml The copy dependencies plugin is stated in pp-server.xml. pp-server depends on pp-common and pp-client. I expect to see after running the copy-dependency goal to target directory: pp-common.jar in target directory pp-client.jar in target directory all dependencies from pp-server all dependencies from pp-common not yet included in target directory all dependencies from pp-client not yet included in target directory What I do see in target directory all dependencies from pp-server all dependencies from pp-common all dependencies from pp-client BUT NOT... pp-common.jar and pp-client.jar, allthough they too ARE listed in the dependencies of the pp-server project. Packaging of pp-server (war or jar) has no influence on result. The process is triggered by executing mvn -U clean package on parent. I hope the issue is clear now. KR PatrickV Brian E Fox wrote: > > > > -----Original Mes http://www.nabble.com/file/p14567676/pp.zip pp.zip > sage----- > From: PatrickV [mailto:matthew58@example.com] > Sent: Sunday, December 30, 2007 2:11 PM > To: matthew58@example.com > Subject: RE: Problem with maven-dependency-plugin: copy-dependencies > > >>I changed the packaging of module C into jar, and no difference. >>I think the copy-dependency plugin does not take into account > dependencies >>on artifacts on the reactor (in this case Module A and Module B), but > only >>on "real" dependencies from the repositorie. > > Not sure what you mean here. If a dependency is listed in the pom, it is > included. There are no other ways for dependencies to be included. > Sharing a reactor has other subtle effects but doesn't change the fact > that a dependency needs to be listed. Perhaps I'm not getting what > you're saying. > > "...I don't want to pull in the dependencies of Module C (the war), but > I want to copy all the dependencies > of Module C (including Module A and Module B).." > > Huh? You do or don't want the dependencies of Module C? > > "to a specific directory, so that later on I can do some additional > processing on it. All dependencies > are there, even the transitive dependencies of module A and module B > (which > are both packaged as Jar), except for ModuleA.jar and ModuleB.jar." > > Simply binding copy-dependencies should get you all dependencies of > whatever pom you've put it in. If it's module C, then you'll get all > transitive dependencies of that Module. If you put it in the parent, > chances are that parent doesn't declare dependencies like you want so > you won't get what you want (module != dependency). > > Brian E Fox wrote: >> >> I think the problem is the war packaging. Maven doesn't normally pull > in >> war dependencies transitively because the dependencies are included >> inside it. >> >> The dependency plugin xxx-dependencies goals are asking Maven to do > the >> resolution and then filters the results, so in this case the > transitive >> deps are not included. >> >> One thing you could try is copying the dependencies from Module C's > pom >> since the plugin would have knowledge of all the dependencies, or you >> could unpack the war (because presumably the dependencies you need are >> in /lib). (using the latest snapshot, you can filter the contents as >> they are unpacked). >> >> -----Original Message----- >> From: Patrick Vanbrabant [mailto:matthew58@example.com] >> Sent: Sunday, December 30, 2007 5:53 AM >> To: matthew58@example.com >> Subject: Problem with maven-dependency-plugin: copy-dependencies >> >> Hi, >> >> I have a multi-module project set up as follows. >> >> Parent >> Module A >> depenencies: x, y,z >> Module B >> dependencies: A, y,d, >> Module C >> dependencies: A, B, t,u,y >> >> Each module with its own dependencies. >> >> Now I want to execute the goal copy-dependencies on module C, but >> through >> the parent pom. So I execute mvn -U package on the parent project. >> >> The plugin is configured as follows: >> <plugin> >> <groupId>org.codehaus.mojo</groupId> >> <artifactId>dependency-maven-plugin</artifactId> >> <executions> >> <execution> >> <id>copy-dependencies</id> >> <phase>test</phase> >> <goals> >> <goal>copy-dependencies</goal> >> </goals> >> <configuration> >> <outputDirectory>${project.build.directory}/${ >> pom.build.finalName}/download</outputDirectory> >> <stripVersion>true</stripVersion> >> <overWriteReleases>false</overWriteReleases> >> <overWriteSnapshots>false</overWriteSnapshots> >> <overWriteIfNewer>true</overWriteIfNewer> >> </configuration> >> </execution> >> </executions> >> </plugin> >> >> >> According to the documentation, copy-dependencies should copy the >> project >> dependencies, and its transitive dependencies. >> >> After the execution of the package stage, I find in the download > folder, >> all >> the dependen jar files, except those for module A and B. The > transitive >> dependencies of those modules however are present in the download >> folder. >> >> On more thing to mention is that module C is packages as a war file. >> >> I have allready tried lots of things (including setting the phase to >> package >> (in which case nothing was copied)). The only thing that works is if I >> use >> an additional goal "copy" and specify the modules as artifacts for > that >> goal. In this case I have to "install" module A and B in my local >> repository, sonething I think is not necessary nor wanted. >> >> Anyone any ideas, on how I can achieve my goal, without reverting to > the >> "copy" workaround? >> >> Many thanks, >> >> Patrick Vanbrabant >> HintTech Internetworking Technologies >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: matthew58@example.com >> For additional commands, e-mail: matthew58@example.com >> >> >> > > -- > View this message in context: > http://www.nabble.com/Problem-with-maven-dependency-plugin%3A-copy-depen > dencies-tp14546984s177p14550176.html > Sent from the Maven - Users mailing list matthew58@example.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: matthew58@example.com > For additional commands, e-mail: matthew58@example.com > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: matthew58@example.com > For additional commands, e-mail: matthew58@example.com > > > -- View this message in context: http://www.nabble.com/Problem-with-maven-dependency-plugin%3A-copy-dependencies-tp14546984s177p14567676.html Sent from the Maven - Users mailing list matthew58@example.com. --------------------------------------------------------------------- To unsubscribe, e-mail: matthew58@example.com For additional commands, e-mail: matthew58@example.com From matthew58@example.com Tue Jan 01 22:18:57 2008 Return-Path: <matthew58@example.com> Delivered-To: matthew58@example.com Received: (qmail 81502 invoked from network); 1 Jan 2008 22:18:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Jan 2008 22:18:55 -0000 Received: (qmail 45684 invoked by uid 500); 1 Jan 2008 22:18:35 -0000 Delivered-To: matthew58@example.com Received: (qmail 45610 invoked by uid 500); 1 Jan 2008 22:18:34 -0000 Mailing-List: contact matthew58@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:matthew58@example.com> List-Help: <mailto:matthew58@example.com> List-Post: <mailto:matthew58@example.com> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <matthew58@example.com> Delivered-To: mailing list matthew58@example.com Received: (qmail 45599 invoked by uid 99); 1 Jan 2008 22:18:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jan 2008 14:18:34 -0800 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of matthew58@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mx-outbound01.easydns.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jan 2008 22:18:20 +0000 Received: from intrepid.infinity.nu (c-24-128-239-207.hsd1.nh.comcast.net [83.161.120.155]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx-outbound01.easydns.com (Postfix) with ESMTP id 26FD6483FF for <matthew58@example.com>; Tue, 1 Jan 2008 17:17:11 -0500 (EST) Content-class: urn:content-classes:message Subject: RE: Problem with maven-dependency-plugin: copy-dependencies MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Date: Tue, 1 Jan 2008 17:18:07 -0500 Content-Transfer-Encoding: quoted-printable Message-ID: <matthew58@example.com> In-Reply-To: <matthew58@example.com> X-MS-Has-Attach: X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-TNEF-Correlator: Thread-Topic: Problem with maven-dependency-plugin: copy-dependencies Thread-Index: AchMkItRZJo3GR4nTmWVWgumB5HmRQAM4d1w References: <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> From: "Brian E. Fox" <matthew58@example.com> To: "Maven Users List" <matthew58@example.com> X-Virus-Checked: Checked by ClamAV on apache.org The attachments didn't come through. Try writing a jira at http://jira.codehaus.org/browse/MDEP and attach the files there. -----Original Message----- From: PatrickV [mailto:matthew58@example.com]=20 Sent: Tuesday, January 01, 2008 11:08 AM To: matthew58@example.com Subject: RE: Problem with maven-dependency-plugin: copy-dependencies I hope I can make it clear by attaching the pom's to this message. The poms are stripped versions of the real stuff. Module A =3D pp-common.xml Module B =3D pp-client.xml Module C =3D pp-server.xml The copy dependencies plugin is stated in pp-server.xml. pp-server depends on pp-common and pp-client. I expect to see after running the copy-dependency goal to target directory: pp-common.jar in target directory pp-client.jar in target directory all dependencies from pp-server all dependencies from pp-common not yet included in target directory all dependencies from pp-client not yet included in target directory What I do see in target directory all dependencies from pp-server all dependencies from pp-common all dependencies from pp-client BUT NOT... pp-common.jar and pp-client.jar, allthough they too ARE listed in the dependencies of the pp-server project. Packaging of pp-server (war or jar) has no influence on result. The process is triggered by executing mvn -U clean package on parent. I hope the issue is clear now. KR PatrickV Brian E Fox wrote: >=20 >=20 >=20 > -----Original Mes http://www.nabble.com/file/p14567676/pp.zip pp.zip > sage----- > From: PatrickV [mailto:matthew58@example.com]=20 > Sent: Sunday, December 30, 2007 2:11 PM > To: matthew58@example.com > Subject: RE: Problem with maven-dependency-plugin: copy-dependencies >=20 >=20 >>I changed the packaging of module C into jar, and no difference. >>I think the copy-dependency plugin does not take into account > dependencies >>on artifacts on the reactor (in this case Module A and Module B), but > only >>on "real" dependencies from the repositorie. >=20 > Not sure what you mean here. If a dependency is listed in the pom, it is > included. There are no other ways for dependencies to be included. > Sharing a reactor has other subtle effects but doesn't change the fact > that a dependency needs to be listed. Perhaps I'm not getting what > you're saying. >=20 > "...I don't want to pull in the dependencies of Module C (the war), but > I want to copy all the dependencies > of Module C (including Module A and Module B).." >=20 > Huh? You do or don't want the dependencies of Module C? >=20 > "to a specific directory, so that later on I can do some additional > processing on it. All dependencies > are there, even the transitive dependencies of module A and module B > (which > are both packaged as Jar), except for ModuleA.jar and ModuleB.jar." >=20 > Simply binding copy-dependencies should get you all dependencies of > whatever pom you've put it in. If it's module C, then you'll get all > transitive dependencies of that Module. If you put it in the parent, > chances are that parent doesn't declare dependencies like you want so > you won't get what you want (module !=3D dependency). >=20 > Brian E Fox wrote: >>=20 >> I think the problem is the war packaging. Maven doesn't normally pull > in >> war dependencies transitively because the dependencies are included >> inside it.=20 >> =20 >> The dependency plugin xxx-dependencies goals are asking Maven to do > the >> resolution and then filters the results, so in this case the > transitive >> deps are not included.=20 >>=20 >> One thing you could try is copying the dependencies from Module C's > pom >> since the plugin would have knowledge of all the dependencies, or you >> could unpack the war (because presumably the dependencies you need are >> in /lib). (using the latest snapshot, you can filter the contents as >> they are unpacked). >>=20 >> -----Original Message----- >> From: Patrick Vanbrabant [mailto:matthew58@example.com]=20 >> Sent: Sunday, December 30, 2007 5:53 AM >> To: matthew58@example.com >> Subject: Problem with maven-dependency-plugin: copy-dependencies >>=20 >> Hi, >>=20 >> I have a multi-module project set up as follows. >>=20 >> Parent >> Module A >> depenencies: x, y,z >> Module B >> dependencies: A, y,d, >> Module C >> dependencies: A, B, t,u,y >>=20 >> Each module with its own dependencies. >>=20 >> Now I want to execute the goal copy-dependencies on module C, but >> through >> the parent pom. So I execute mvn -U package on the parent project. >>=20 >> The plugin is configured as follows: >> <plugin> >> <groupId>org.codehaus.mojo</groupId> >> <artifactId>dependency-maven-plugin</artifactId> >> <executions> >> <execution> >> <id>copy-dependencies</id> >> <phase>test</phase> >> <goals> >> <goal>copy-dependencies</goal> >> </goals> >> <configuration> >> <outputDirectory>${project.build.directory}/${ >> pom.build.finalName}/download</outputDirectory> >> <stripVersion>true</stripVersion> >> <overWriteReleases>false</overWriteReleases> >> <overWriteSnapshots>false</overWriteSnapshots> >> <overWriteIfNewer>true</overWriteIfNewer> >> </configuration> >> </execution> >> </executions> >> </plugin> >>=20 >>=20 >> According to the documentation, copy-dependencies should copy the >> project >> dependencies, and its transitive dependencies. >>=20 >> After the execution of the package stage, I find in the download > folder, >> all >> the dependen jar files, except those for module A and B. The > transitive >> dependencies of those modules however are present in the download >> folder. >>=20 >> On more thing to mention is that module C is packages as a war file. >>=20 >> I have allready tried lots of things (including setting the phase to >> package >> (in which case nothing was copied)). The only thing that works is if I >> use >> an additional goal "copy" and specify the modules as artifacts for > that >> goal. In this case I have to "install" module A and B in my local >> repository, sonething I think is not necessary nor wanted. >>=20 >> Anyone any ideas, on how I can achieve my goal, without reverting to > the >> "copy" workaround? >>=20 >> Many thanks, >>=20 >> Patrick Vanbrabant >> HintTech Internetworking Technologies >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: matthew58@example.com >> For additional commands, e-mail: matthew58@example.com >>=20 >>=20 >>=20 >=20 > --=20 > View this message in context: > http://www.nabble.com/Problem-with-maven-dependency-plugin%3A-copy-depen > dencies-tp14546984s177p14550176.html > Sent from the Maven - Users mailing list matthew58@example.com. >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: matthew58@example.com > For additional commands, e-mail: matthew58@example.com >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: matthew58@example.com > For additional commands, e-mail: matthew58@example.com >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/Problem-with-maven-dependency-plugin%3A-copy-depen dencies-tp14546984s177p14567676.html Sent from the Maven - Users mailing list matthew58@example.com. --------------------------------------------------------------------- To unsubscribe, e-mail: matthew58@example.com For additional commands, e-mail: matthew58@example.com --------------------------------------------------------------------- To unsubscribe, e-mail: matthew58@example.com For additional commands, e-mail: matthew58@example.com From matthew58@example.com Wed Jan 02 02:38:44 2008 Return-Path: <matthew58@example.com> Delivered-To: matthew58@example.com Received: (qmail 44825 invoked from network); 2 Jan 2008 02:38:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2008 02:38:43 -0000 Received: (qmail 10571 invoked by uid 500); 2 Jan 2008 02:38:25 -0000 Delivered-To: matthew58@example.com Received: (qmail 10523 invoked by uid 500); 2 Jan 2008 02:38:24 -0000 Mailing-List: contact matthew58@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:matthew58@example.com> List-Help: <mailto:matthew58@example.com> List-Post: <mailto:matthew58@example.com> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <matthew58@example.com> Delivered-To: mailing list matthew58@example.com Received: (qmail 10512 invoked by uid 99); 2 Jan 2008 02:38:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jan 2008 18:38:24 -0800 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 matthew58@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO py-out-1112.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 02:38:00 +0000 Received: by py-out-1112.google.com with SMTP id p76so9858154pyb.2 for <matthew58@example.com>; Tue, 01 Jan 2008 18:38:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=HwW4U5pzD6DXaNlFZR307g5q2qm13JFlHPSdVz2xqrY=; b=EFstltV/yeBt7gLIcVNIkIdGrz0JPH5LY6sRS1s+bRV/vfLTltUQ5R9XySZWqVRZad+EelRg3btHNVwgeTfZ87QFryZTpcfbwp3qdIQPUBzrEFzyF0gj7iXbR21n7GZX/esIlXiVLVMGqOhvH2bqjuPCc/FxNemSuSaT9hR2cPY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=rdl+TFv7eprXPJVTMc2NqzqJD1D9+TjvCSgFTs5igpRRfopSpWf/6oB/SCbzKAhV38V+2nka0sZZ+y3+ZO41wI9Vcv9/LdS2GNqcIvLEdQwWFpoHviIGEdR2qzdM1QfuOXRtn+wZgJMPS+iCFYCVvavs6btWAphxOv7wbK1oRZ0= Received: by 83.161.120.155 with SMTP id r19mr1547611qbq.13.1199241483654; Tue, 01 Jan 2008 18:38:03 -0800 (PST) Received: by 83.161.120.155 with HTTP; Tue, 1 Jan 2008 18:38:03 -0800 (PST) Message-ID: <matthew58@example.com> Date: Tue, 1 Jan 2008 19:38:03 -0700 From: "Andrew Robinson" <matthew58@example.com> To: "Maven Users List" <matthew58@example.com> Subject: Getting useful logging from surefire and testng MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org I am having problems getting useful information from surefire logs. Plugin declaration: <artifactId>maven-surefire-plugin</artifactId> <version>2.4-SNAPSHOT</version> <configuration> <forkMode>once</forkMode> <parallel>false</parallel> <redirectTestOutputToFile>true</redirectTestOutputToFile> <forkMode>once</forkMode> <jvm>${JAVA16_HOME}/bin/java</jvm> <workingDirectory>${project.build.directory}</workingDirectory> <includes> <include>**/*Test.java</include> </includes> <systemProperties> <property> <name>log4j.configuration</name> <value>test-log4j.xml</value> </property> </systemProperties> </configuration> In the target/surefire-reports I have: TestSuite.txt: has the exceptions that TestNG caught, but no logging TestSuite-output.txt: has the full output except for what TestNG caught and test information TEST-TestSuite.xml: has all information that does not use JDK logging, commons logging or Log4J (has hibernate SQL, so I know it is picking up some of the System.out contents) testng-results.xml: Same as TestSuite.txt for the most part testng-failed.xml: this file is not for logging TEST-TestSuite.xml would be great if it held the contents of the logging output, but it does not for some reason. I can't find anything to be able to get it to be picked up in this file. I have a lot of test cases already and trying to sift through the full log and attempt to try to figure out what test method the logs are for is just not possible. How can I get the surefire test logs per method to contain the information logged by log4j? Here is my test-log4j.xml file contents: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE log4j:configuration SYSTEM "log4j.dtd"> <log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false"> <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender"> <param name="Target" value="System.out"/> <layout class="org.apache.log4j.PatternLayout"> <param name="ConversionPattern" value="%d{HH:mm:ss,SSS} %-5p [%c{1}] %m%n"/> </layout> </appender> <root> <priority value="INFO"/> <appender-ref ref="CONSOLE"/> </root> </log4j:configuration> Thanks, Andrew --------------------------------------------------------------------- To unsubscribe, e-mail: matthew58@example.com For additional commands, e-mail: matthew58@example.com From matthew58@example.com Wed Jan 02 05:27:10 2008 Return-Path: <matthew58@example.com> Delivered-To: matthew58@example.com Received: (qmail 96720 invoked from network); 2 Jan 2008 05:27:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Jan 2008 05:27:09 -0000 Received: (qmail 36287 invoked by uid 500); 2 Jan 2008 05:26:50 -0000 Delivered-To: matthew58@example.com Received: (qmail 36231 invoked by uid 500); 2 Jan 2008 05:26:50 -0000 Mailing-List: contact matthew58@example.com; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:matthew58@example.com> List-Help: <mailto:matthew58@example.com> List-Post: <mailto:matthew58@example.com> List-Id: "Maven Users List" <users.maven.apache.org> Reply-To: "Maven Users List" <matthew58@example.com> Delivered-To: mailing list matthew58@example.com Received: (qmail 36220 invoked by uid 99); 2 Jan 2008 05:26:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jan 2008 21:26:50 -0800 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of matthew58@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO qb-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 05:26:28 +0000 Received: by qb-out-0506.google.com with SMTP id e21so138253qba.0 for <matthew58@example.com>; Tue, 01 Jan 2008 21:26:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=HKio6qXmi4ZBV/IxftZ1+sPnjZ516DD6+njJzD3I9fQ=; b=H9qtn0DEgMgUVNR7dLmxc4bfrWS1Aug2xksBC+EKFkFQWnvPl6qtvOx1glDUCrIwaiz72E3Q3SNmETf7tGuZlqCYq/nWrbR6YothzSEWpZSEMNsd9iBstrnYAagRCFm/58YECOiZT7/3upZjOMJRHRDxW702rjYoBiojYoAhQn4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=LL7rxPSHTM8cVdBa32TrK3MPFtpL8NB5fWN0BPPE23ty0sfbiLF0C7MIlPCM0XKY6WY9qczRHurYArxa0HhJPw3LBrgar2NOEtrWauLCZal3VdB8ghzyTwWgqzWWLJON+c+z/avKq5fiSmQF2k1M27QdAXvwIov2L0hz6CxRS1Y= Received: by 83.161.120.155 with SMTP id d12mr28731820qbf.27.1199251592048; Tue, 01 Jan 2008 21:26:32 -0800 (PST) Received: by 83.161.120.155 with HTTP; Tue, 1 Jan 2008 21:26:32 -0800 (PST) Message-ID: <matthew58@example.com> Date: Wed, 2 Jan 2008 10:56:32 +0530 From: "amit kumar" <matthew58@example.com> To: "Maven Users List" <matthew58@example.com> Subject: Re: distributing files / set of files to remove server (maven wagon plugin ???) In-Reply-To: <matthew58@example.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_25641_8660549.1199251592040" References: <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> <matthew58@example.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_25641_8660549.1199251592040 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Wendy, After your suggestion I am using file protocol now for deploying, the mvn command trace shows deployed successfully but I can not locate the artifact actually deployed in the repository. I am using the below for this in my pom.xml <distributionManagement> <repository> <id>my-internal-site</id> <name>finalRepo</name> <url>file://83.161.120.155/Repository</url> </repository> </distributionManagement> <repositories> <repository> <id>my-internal-site</id> <url>file://83.161.120.155/Repository</url> </repository> </repositories> What could be the problem? I was not able to find the usage of file or any other wagon-providers on apache website as well. Regards, Amit On Dec 29, 2007 9:34 AM, Wendy Smoak <matthew58@example.com> wrote: > On Dec 28, 2007 8:38 PM, amit kumar <matthew58@example.com> wrote: > > > When I say mvn deploy the maven is throwing java exception. My > > repository is actually a folder on a network pc, and the folder is > > mapped to Apache Web Server and thus in the poms the repository is > > mentioned as http://192.168.x.x/repository , but deploy plug in > > expects scp: instead of http ( i guess).
{'source': 'Apache Software Foundation Public Mail Archives'}