Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 29237 invoked from network); 14 Jul 2009 01:41:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Jul 2009 01:41:23 -0000 Received: (qmail 48931 invoked by uid 500); 14 Jul 2009 01:41:32 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 48858 invoked by uid 500); 14 Jul 2009 01:41:32 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 48850 invoked by uid 99); 14 Jul 2009 01:41:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 01:41: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 (athena.apache.org: domain of xhhsld@gmail.com designates 209.85.146.183 as permitted sender) Received: from [209.85.146.183] (HELO wa-out-1112.google.com) (209.85.146.183) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jul 2009 01:41:20 +0000 Received: by wa-out-1112.google.com with SMTP id k34so510031wah.3 for ; Mon, 13 Jul 2009 18:40:59 -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=VQdrBD72ecVz4HLJHzp7aePT5kXYI2xkawEHpLSwskg=; b=H4GoTze1ZtuYJRIFtafRQNJJHRIW0YYrSEIaRa0seHciDssBCnrHDPp5BTQLkAps+6 i51Gel6r/8oQz6LN4TBm1iWGphHYeZP+Z+h5f3oFtIktsFRAP/1xiHlKwbrORF8K8BlB dBoWFmFHhJxBff/G6lt5tQ6jSePcCGGvmMMBM= 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=Nl2Ja5I9uef06BRtBSYME6nekk+elC3hPB3Y7qMf1bwtt/XTbmtBmefBUxdgYNtOwd h1T6OtO68T5NXdYZbulPl0KIoo7My/TFBFW6tt4+yA/glAEBCn8lr7RDnDgtYkxLdwFy 2gGbnUCWNpeXpdCfKCXGcB8JnZ4NLskTOZvWw= MIME-Version: 1.0 Received: by 10.115.93.18 with SMTP id v18mr9879243wal.100.1247535659830; Mon, 13 Jul 2009 18:40:59 -0700 (PDT) In-Reply-To: <4A5BE0E1.6000406@earthlink.net> References: <4A5BB11E.2090104@earthlink.net> <4A5BDE1B.3080207@earthlink.net> <4A5BE0E1.6000406@earthlink.net> Date: Tue, 14 Jul 2009 09:40:59 +0800 Message-ID: <45f744e40907131840j6d852774u3fa935ddd9644f3d@mail.gmail.com> Subject: Re: car-maven-plugin with nexus From: Ivan To: dev@geronimo.apache.org Content-Type: multipart/alternative; boundary=00163646ccded9510b046ea08769 X-Virus-Checked: Checked by ClamAV on apache.org --00163646ccded9510b046ea08769 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit I suggest you build and install the car-maven-plugin in your own machine, I think the one downloaded from the website is out of date. 2009/7/14 Joe Bohn > > Hmmm ... I replied too soon. That solved the issue with the > car-maven-plugin and now I'm on to the next issue ... a missing dependency > on org.apache.openejb/ejb31-api-experimental/3.1.2-20090618.052142-3/jar > > Joe > > > > Joe Bohn wrote: > >> I gave that a shot but it had the same results ... however when I just >> cleaned out my local repo yet again it worked! There must have been some >> residual junk left from the previous attempt. >> >> Thanks! >> Joe >> >> David Jencks wrote: >> >>> Have you tried including apache.snapshots (or whatever its called) as a >>> plugin repository? >>> >>> thanks >>> david jencks >>> >>> >>> On Jul 13, 2009, at 3:11 PM, Joe Bohn wrote: >>> >>> I'm trying to update Daytrader trunk to keep up with the changes in >>>> server trunk. To that end I recently updated it to use genesis 2.0 and >>>> therefore the latest in terms of repositories and nexus found in genesis. >>>> >>>> However, I still can't build Daytrader without first building Geronimo >>>> trunk. >>>> >>>> The problem that I'm currently hitting is with the car-maven-plugin. If >>>> I don't include any repositories in my root pom (similar to server trunk) >>>> then I get the following error: >>>> >>>> Downloading: >>>> http://repository.apache.org/snapshots/org/apache/geronimo/buildsupport/car-maven-plugin/2.2-SNAPSHOT/car-maven-plugin-2.2-SNAPSHOT.pom >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [ERROR] BUILD ERROR >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Failed to resolve artifact. >>>> >>>> GroupId: org.apache.geronimo.buildsupport >>>> ArtifactId: car-maven-plugin >>>> Version: 2.2-SNAPSHOT >>>> >>>> Reason: Unable to download the artifact from any repository >>>> >>>> org.apache.geronimo.buildsupport:car-maven-plugin:pom:2.2-SNAPSHOT >>>> >>>> from the specified remote repositories: >>>> ibiblio.org (http://mirrors.ibiblio.org/pub/mirrors/maven2), >>>> codehaus.snapshots (http://snapshots.repository.codehaus.org), >>>> apache.snapshots (http://repository.apache.org/snapshots) >>>> >>>> >>>> Note that it is failing to find the pom for the plugin and it didn't >>>> even look in the nexus repo (which I had just removed a few minutes earlier >>>> to match the server trunk). >>>> >>>> If I add the nexus repo back in I get a slightly different error ... but >>>> it still doesn't find the plugin: >>>> >>>> Downloading: >>>> http://snapshots.repository.codehaus.org/org/apache/geronimo/buildsupport/car-maven-plugin/2.2-SNAPSHOT/car-maven-plugin-2.2-SNAPSHOT.jar >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [ERROR] BUILD ERROR >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Plugin could not be found - check that the goal name is correct: >>>> Unable to download the artifact from any repository >>>> >>>> Try downloading the file manually from the project website. >>>> >>>> Then, install it using the command: >>>> mvn install:install-file -DgroupId=org.apache.geronimo.buildsupport >>>> -DartifactId=car-maven-plugin -Dversion=2.2-SNAPSHOT >>>> -Dpackaging=maven-plugin -Dfile=/path/to/file >>>> >>>> Alternatively, if you host your own repository you can deploy the file >>>> there: >>>> mvn deploy:deploy-file -DgroupId=org.apache.geronimo.buildsupport >>>> -DartifactId=car-maven-plugin -Dversion=2.2-SNAPSHOT >>>> -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] >>>> -DrepositoryId=[id] >>>> >>>> >>>> org.apache.geronimo.buildsupport:car-maven-plugin:maven-plugin:2.2-SNAPSHOT >>>> >>>> >>>> from the specified remote repositories: >>>> ibiblio.org (http://mirrors.ibiblio.org/pub/mirrors/maven2), >>>> codehaus.snapshots (http://snapshots.repository.codehaus.org), >>>> apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository >>>> ) >>>> >>>> >>>> >>>> This time it looks like it must have found the pom and is attempting to >>>> download the jar but for some reason it once again isn't looking for the jar >>>> in the nexus repo. >>>> >>>> I recall that there is something special about the loading of maven >>>> plugins that doesn't follow the typical dependency resolution. Any ideas on >>>> what I need to do to get around this? I'd really like for us to be able to >>>> build other dependent projects without having to build server trunk first. >>>> >>>> Thanks, >>>> Joe >>>> >>> >>> >> >> > -- Ivan --00163646ccded9510b046ea08769 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I suggest you build and install the car-maven-plugin in your own machine, I= think the one downloaded from the website is out of date.


2009/7/14 Joe Bohn <joe.bohn@earthlink.net>

Hmmm ... I replied too soon. =A0That solved the issue with the car-maven-pl= ugin and now I'm on to the next issue ... a missing dependency on org.a= pache.openejb/ejb31-api-experimental/3.1.2-20090618.052142-3/jar

Joe



Joe Bohn wrote:
I gave that a shot but it had the same results ... however when I just clea= ned out my local repo yet again it worked! =A0There must have been some res= idual junk left from the previous attempt.

Thanks!
Joe

David Jencks wrote:
Have you tried including apache.snapshots (or whatever its called) as a plu= gin repository?

thanks
david jencks


On Jul 13, 2009, at 3:11 PM, Joe Bohn wrote:

I'm trying to update Daytrader trunk to keep up with the changes in ser= ver trunk. =A0To that end I recently updated it to use genesis 2.0 and ther= efore the latest in terms of repositories and nexus found in genesis.

However, I still can't build Daytrader without first building Geronimo = trunk.

The problem that I'm currently hitting is with the car-maven-plugin. = =A0If I don't include any repositories in my root pom (similar to serve= r trunk) then I get the following error:

=A0Downloading: http://repository.apache.org/snapshots/org= /apache/geronimo/buildsupport/car-maven-plugin/2.2-SNAPSHOT/car-maven-plugi= n-2.2-SNAPSHOT.pom
=A0 [INFO] ---------------------------------------------------------------= ---------
=A0 [ERROR] BUILD ERROR
=A0 [INFO] ---------------------------------------------------------------= ---------
=A0 [INFO] Failed to resolve artifact.

=A0 GroupId: org.apache.geronimo.buildsupport
=A0 ArtifactId: car-maven-plugin
=A0 Version: 2.2-SNAPSHOT

=A0 Reason: Unable to download the artifact from any repository

=A0 =A0 org.apache.geronimo.buildsupport:car-maven-plugin:pom:2.2-SNAPSHOT=

=A0 from the specified remote repositories:
=A0 =A0 ibiblio.org (= http://mirrors.ibiblio.org/pub/mirrors/maven2),
=A0 =A0 codehaus.snapshots (http://snapshots.repository.codehaus.org),
=A0 =A0 apache.snapshots (http://repository.apache.org/snapshots)


Note that it is failing to find the pom for the plugin and it didn't ev= en look in the nexus repo (which I had just removed a few minutes earlier t= o match the server trunk).

If I add the nexus repo back in I get a slightly different error ... but it= still doesn't find the plugin:

Downloading: http://snapshots.repository.codehaus.org/org= /apache/geronimo/buildsupport/car-maven-plugin/2.2-SNAPSHOT/car-maven-plugi= n-2.2-SNAPSHOT.jar
[INFO] --------------------------------------------------------------------= ----
[ERROR] BUILD ERROR
[INFO] --------------------------------------------------------------------= ----
[INFO] Plugin could not be found - check that the goal name is correct: Una= ble to download the artifact from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
=A0 mvn install:install-file -DgroupId=3Dorg.apache.geronimo.buildsupport = -DartifactId=3Dcar-maven-plugin -Dversion=3D2.2-SNAPSHOT -Dpackaging=3Dmave= n-plugin -Dfile=3D/path/to/file

Alternatively, if you host your own repository you can deploy the file ther= e:
=A0 mvn deploy:deploy-file -DgroupId=3Dorg.apache.geronimo.buildsupport -D= artifactId=3Dcar-maven-plugin -Dversion=3D2.2-SNAPSHOT -Dpackaging=3Dmaven-= plugin -Dfile=3D/path/to/file -Durl=3D[url] -DrepositoryId=3D[id]


org.apache.geronimo.buildsupport:car-maven-plugin:maven-plugin:2.2-SNAPSHOT=

from the specified remote repositories:
=A0ibiblio.org (http:= //mirrors.ibiblio.org/pub/mirrors/maven2),
=A0codehaus.snapshots (http://snapshots.repository.codehaus.org),
=A0apache.snapshots (http://people.apache.org/repo/m2-snapshot-repo= sitory)



This time it looks like it must have found the pom and is attempting to dow= nload the jar but for some reason it once again isn't looking for the j= ar in the nexus repo.

I recall that there is something special about the loading of maven plugins= that doesn't follow the typical dependency resolution. =A0Any ideas on= what I need to do to get around this? =A0I'd really like for us to be = able to build other dependent projects without having to build server trunk= first.

Thanks,
Joe







--
Ivan
--00163646ccded9510b046ea08769--