You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Luciano Resende <lu...@gmail.com> on 2009/04/06 18:21:57 UTC

[1.x] Missing geronimo-jpa_3.0_spec dependency when building from a clean repo

Is anyone else seeing the following when trying to build 1.x from a
clean maven repo ?

Missing:
----------
1) org.apache.geronimo.specs:geronimo-jpa_3.0_spec:jar:1.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=org.apache.geronimo.specs
-DartifactId=geronimo-jpa_3.0_spec -Dversion=1.0 -Dpackaging=jar
-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.specs
-DartifactId=geronimo-jpa_3.0_spec -Dversion=1.0 -Dpackaging=jar
-Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
  	1) org.apache.tuscany.sca:tuscany-implementation-bpel-ode:jar:1.5-SNAPSHOT
  	2) org.apache.openjpa:openjpa-all:jar:0.9.7-incubating
  	3) org.apache.openjpa:openjpa-persistence:jar:0.9.7-incubating
  	4) org.apache.geronimo.specs:geronimo-jpa_3.0_spec:jar:1.0

----------
1 required artifact is missing.

for artifact:
  org.apache.tuscany.sca:tuscany-implementation-bpel-ode:jar:1.5-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  apache.incubator (http://people.apache.org/repo/m2-incubating-repository),
  indiana (http://ftp.ussg.iu.edu/eclipse/modeling/emf/emf/maven2/),
  osuosl.org (http://ftp.osuosl.org/pub/eclipse/tools/emf/maven2),
  apache.ws.zone (http://ws.zones.apache.org/repository2),
  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)



[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7 minutes 43 seconds
[INFO] Finished at: Mon Apr 06 09:19:44 PDT 2009
[INFO] Final Memory: 81M/145M
[INFO] ------------------------------------------------------------------------

-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Re: [1.x] Missing geronimo-jpa_3.0_spec dependency when building from a clean repo

Posted by Raymond Feng <en...@gmail.com>.
The central used to point to http://repo1.maven.org/maven2. It's also 
reported in the error message. Is it caused by some parent apache pom 
changes?

Thanks,
Raymond
--------------------------------------------------
From: "Luciano Resende" <lu...@gmail.com>
Sent: Wednesday, April 08, 2009 9:42 AM
To: <de...@tuscany.apache.org>
Subject: Re: [1.x] Missing geronimo-jpa_3.0_spec dependency when building 
from a clean repo

> On Wed, Apr 8, 2009 at 3:15 AM, Simon Laws <si...@googlemail.com> 
> wrote:
>> On Wed, Apr 8, 2009 at 8:39 AM, Luciano Resende <lu...@gmail.com> 
>> wrote:
>>> On Wed, Apr 8, 2009 at 12:18 AM, Luciano Resende <lu...@gmail.com> 
>>> wrote:
>>>> On Mon, Apr 6, 2009 at 9:27 AM, Raymond Feng <en...@gmail.com> 
>>>> wrote:
>>>>> I'm seeing that during the weekend. It seems that the ibiblio repo 
>>>>> (which
>>>>> was down) is used instead of repo1.maven.org.
>>>>
>>>> I have added the following into my ~/.m2/settings.xml and got things 
>>>> fixed :
>>>>
>>>> <mirror>
>>>>    <id>repo1.apache</id>
>>>>    <url>http://repo1.maven.org/maven2</url>
>>>>    <mirrorOf>central</mirrorOf>
>>>>  </mirror>
>>>>
>>>> Should we add this repo to our pom.xml ?
>>>>
>>>
>>> I spoke too soon, I still have the same issue.
>>>
>>> --
>>> Luciano Resende
>>> Apache Tuscany, Apache PhotArk
>>> http://people.apache.org/~lresende
>>> http://lresende.blogspot.com/
>>>
>>
>> I build from a clean update yesterday and didn't see the issue because
>> I already have this dependency in my local repo. Do you happen to know
>> why we are using this dependency again? Is it just this version that
>> there is a problem with?
>>
>> Simon
>>
>
> Sorry for the confusion here, after adding the mirror and doing maven
> -U things are now working for me.
>
> -- 
> Luciano Resende
> Apache Tuscany, Apache PhotArk
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/ 


Re: [1.x] Missing geronimo-jpa_3.0_spec dependency when building from a clean repo

Posted by Luciano Resende <lu...@gmail.com>.
On Wed, Apr 8, 2009 at 3:15 AM, Simon Laws <si...@googlemail.com> wrote:
> On Wed, Apr 8, 2009 at 8:39 AM, Luciano Resende <lu...@gmail.com> wrote:
>> On Wed, Apr 8, 2009 at 12:18 AM, Luciano Resende <lu...@gmail.com> wrote:
>>> On Mon, Apr 6, 2009 at 9:27 AM, Raymond Feng <en...@gmail.com> wrote:
>>>> I'm seeing that during the weekend. It seems that the ibiblio repo (which
>>>> was down) is used instead of repo1.maven.org.
>>>
>>> I have added the following into my ~/.m2/settings.xml and got things fixed :
>>>
>>> <mirror>
>>>    <id>repo1.apache</id>
>>>    <url>http://repo1.maven.org/maven2</url>
>>>    <mirrorOf>central</mirrorOf>
>>>  </mirror>
>>>
>>> Should we add this repo to our pom.xml ?
>>>
>>
>> I spoke too soon, I still have the same issue.
>>
>> --
>> Luciano Resende
>> Apache Tuscany, Apache PhotArk
>> http://people.apache.org/~lresende
>> http://lresende.blogspot.com/
>>
>
> I build from a clean update yesterday and didn't see the issue because
> I already have this dependency in my local repo. Do you happen to know
> why we are using this dependency again? Is it just this version that
> there is a problem with?
>
> Simon
>

Sorry for the confusion here, after adding the mirror and doing maven
-U things are now working for me.

-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Re: [1.x] Missing geronimo-jpa_3.0_spec dependency when building from a clean repo

Posted by Simon Laws <si...@googlemail.com>.
On Wed, Apr 8, 2009 at 8:39 AM, Luciano Resende <lu...@gmail.com> wrote:
> On Wed, Apr 8, 2009 at 12:18 AM, Luciano Resende <lu...@gmail.com> wrote:
>> On Mon, Apr 6, 2009 at 9:27 AM, Raymond Feng <en...@gmail.com> wrote:
>>> I'm seeing that during the weekend. It seems that the ibiblio repo (which
>>> was down) is used instead of repo1.maven.org.
>>
>> I have added the following into my ~/.m2/settings.xml and got things fixed :
>>
>> <mirror>
>>    <id>repo1.apache</id>
>>    <url>http://repo1.maven.org/maven2</url>
>>    <mirrorOf>central</mirrorOf>
>>  </mirror>
>>
>> Should we add this repo to our pom.xml ?
>>
>
> I spoke too soon, I still have the same issue.
>
> --
> Luciano Resende
> Apache Tuscany, Apache PhotArk
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/
>

I build from a clean update yesterday and didn't see the issue because
I already have this dependency in my local repo. Do you happen to know
why we are using this dependency again? Is it just this version that
there is a problem with?

Simon

Re: [1.x] Missing geronimo-jpa_3.0_spec dependency when building from a clean repo

Posted by Luciano Resende <lu...@gmail.com>.
On Wed, Apr 8, 2009 at 12:18 AM, Luciano Resende <lu...@gmail.com> wrote:
> On Mon, Apr 6, 2009 at 9:27 AM, Raymond Feng <en...@gmail.com> wrote:
>> I'm seeing that during the weekend. It seems that the ibiblio repo (which
>> was down) is used instead of repo1.maven.org.
>
> I have added the following into my ~/.m2/settings.xml and got things fixed :
>
> <mirror>
>    <id>repo1.apache</id>
>    <url>http://repo1.maven.org/maven2</url>
>    <mirrorOf>central</mirrorOf>
>  </mirror>
>
> Should we add this repo to our pom.xml ?
>

I spoke too soon, I still have the same issue.

-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Re: [1.x] Missing geronimo-jpa_3.0_spec dependency when building from a clean repo

Posted by Luciano Resende <lu...@gmail.com>.
On Mon, Apr 6, 2009 at 9:27 AM, Raymond Feng <en...@gmail.com> wrote:
> I'm seeing that during the weekend. It seems that the ibiblio repo (which
> was down) is used instead of repo1.maven.org.

I have added the following into my ~/.m2/settings.xml and got things fixed :

<mirror>
    <id>repo1.apache</id>
    <url>http://repo1.maven.org/maven2</url>
    <mirrorOf>central</mirrorOf>
  </mirror>

Should we add this repo to our pom.xml ?


-- 
Luciano Resende
Apache Tuscany, Apache PhotArk
http://people.apache.org/~lresende
http://lresende.blogspot.com/

Re: [1.x] Missing geronimo-jpa_3.0_spec dependency when building from a clean repo

Posted by Raymond Feng <en...@gmail.com>.
I'm seeing that during the weekend. It seems that the ibiblio repo (which 
was down) is used instead of repo1.maven.org.

Thanks,
Raymond

--------------------------------------------------
From: "Luciano Resende" <lu...@gmail.com>
Sent: Monday, April 06, 2009 9:21 AM
To: <de...@tuscany.apache.org>
Subject: [1.x] Missing geronimo-jpa_3.0_spec dependency when building from a 
clean repo

> Is anyone else seeing the following when trying to build 1.x from a
> clean maven repo ?
>
> Missing:
> ----------
> 1) org.apache.geronimo.specs:geronimo-jpa_3.0_spec:jar:1.0
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=org.apache.geronimo.specs
> -DartifactId=geronimo-jpa_3.0_spec -Dversion=1.0 -Dpackaging=jar
> -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.specs
> -DartifactId=geronimo-jpa_3.0_spec -Dversion=1.0 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>  1) 
> org.apache.tuscany.sca:tuscany-implementation-bpel-ode:jar:1.5-SNAPSHOT
>  2) org.apache.openjpa:openjpa-all:jar:0.9.7-incubating
>  3) org.apache.openjpa:openjpa-persistence:jar:0.9.7-incubating
>  4) org.apache.geronimo.specs:geronimo-jpa_3.0_spec:jar:1.0
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>  org.apache.tuscany.sca:tuscany-implementation-bpel-ode:jar:1.5-SNAPSHOT
>
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2),
>  apache.incubator 
> (http://people.apache.org/repo/m2-incubating-repository),
>  indiana (http://ftp.ussg.iu.edu/eclipse/modeling/emf/emf/maven2/),
>  osuosl.org (http://ftp.osuosl.org/pub/eclipse/tools/emf/maven2),
>  apache.ws.zone (http://ws.zones.apache.org/repository2),
>  apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository)
>
>
>
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 7 minutes 43 seconds
> [INFO] Finished at: Mon Apr 06 09:19:44 PDT 2009
> [INFO] Final Memory: 81M/145M
> [INFO] ------------------------------------------------------------------------
>
> -- 
> Luciano Resende
> Apache Tuscany, Apache PhotArk
> http://people.apache.org/~lresende
> http://lresende.blogspot.com/