geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Bohn <joe.b...@earthlink.net>
Subject Re: Error when trying to build Geronimo 2.0.2
Date Fri, 26 Oct 2007 14:03:34 GMT
Well, the pom for groovy-all that was changed is still out there causing 
problems.

Here are 2 ways that you can work-around this problem for now to build 
2.0.2.
1) Start with a clean repo and build Geronimo trunk first.  A version of 
groovy-all without the nasty dependency has been checked into the 
repository that is included with geronimo and it will be included in 
your local repo.  You should then be able to build Geronimo 2.0.2 
successfully.  You could also skip the trunk build and just delete 
groovy-all in your local repo and replace it with what is in the 
geronimo trunk repo.
2) Go into your local maven repository after a failed build attempt and 
edit groovy/groovy-all/1.0/groovy-all-1.0.pom.  Remove everything 
between <dependencies> and </dependencies> in the pom.  Then rebuild.

Joe


Joe Bohn wrote:
> 
> 
> Aman Nanner/MxI Technologies wrote:
>> Would this workaround require a change to any of the Geronimo source 
>> (e.g.
>> POM files)?
> 
> Yes, that would be the hope.  However, I haven't yet found an easy fix. 
>  I've made changes to quite a number of poms but I don't have a set of 
> changes yet that will allow 2.0.2 to be built successfully.
> 
> I'm really hoping the maven/groovy folks will come up with the real fix 
> soon.
> 
> Joe
> 
> 
>>
>> Joe Bohn <joe.bohn@earthlink.net> wrote on 10-25-2007 11:52:01 AM:
>>
>>> Aman,
>>>
>>> It isn't just you.  This is a problem that began yesterday due to some
>>> changes in one of our dependencies which should not have happened.
>>>
>>> See: http://permalink.gmane.org/gmane.comp.lang.groovy.user/25859
>>>
>>> and: http://jira.codehaus.org/browse/MEV-550
>>>
>>> I'm trying to find a work-around until this gets fixed.
>>>
>>> Joe
>>>
>>>
>>> Aman Nanner/MxI Technologies wrote:
>>>> Hi,
>>>>
>>>> I am trying to build Geronimo 2.0.2, and I just recently started
>> getting
>>>> the following error even though I successfully built it once before.
>> Would
>>>> this be due to some kind corruption in my build environment?
>>>> -------
>>>>
>>>> .....
>>>>      [exec] [WARNING] Unable to get resource
>>>> 'org.apache.yoko:yoko-spec-corba:pom:1.0-incubating-r557035' from
>> repositor
>>>> y java.net (http://download.java.net/maven/1/)
>>>>      [exec] Downloading:
>>>> http://people.apache.org/repo/m2-incubating-
>>> repository//org/apache/yoko/yoko-spec-corba/1.0-inc
>>>> ubating-r557035/yoko-spec-corba-1.0-incubating-r557035.pom
>>>>      [exec] [WARNING] Unable to get resource
>>>> 'org.apache.yoko:yoko-spec-corba:pom:1.0-incubating-r557035' from
>> repositor
>>>> y apache-incubator
>>>> (http://people.apache.org/repo/m2-incubating-repository/)
>>>>      [exec] Downloading:
>>>> http://repo1.maven.org/maven2/org/apache/yoko/yoko-spec-corba/1.0-
>>> incubating-r557035/yoko-spec-
>>>> corba-1.0-incubating-r557035.pom
>>>>      [exec] [WARNING] Unable to get resource
>>>> 'org.apache.yoko:yoko-spec-corba:pom:1.0-incubating-r557035' from
>> repositor
>>>> y central (http://repo1.maven.org/maven2)
>>>>      [exec] [WARNING]
>>>>      [exec]     Artifact junit:junit:jar:3.8.1:test retains local scope
>>>> 'test' overriding broader scope 'compile'
>>>>      [exec]     given by a dependency. If this is not intended, modify
>> or
>>>> remove the local scope.
>>>>
>>>>      [exec] Downloading:
>>>>
>> file://D:\g20\g\repository//castor/castor/0.9.9.0-pre/castor-0.9.9.0-pre.pom 
>>
>>
>>>>      [exec] [WARNING] Unable to get resource
>>>> 'castor:castor:pom:0.9.9.0-pre' from repository module-local
>> (file://D:\g20
>>>> \g\repository/)
>>>>      [exec] Downloading:
>>>> http://download.java.net/maven/1//castor/poms/castor-0.9.9.0-pre.pom
>>>>      [exec] [WARNING] Unable to get resource
>>>> 'castor:castor:pom:0.9.9.0-pre' from repository java.net
>> (http://download.j
>>>> ava.net/maven/1/)
>>>>      [exec] Downloading:
>>>> http://people.apache.org/repo/m2-incubating-
>>> repository//castor/castor/0.9.9.0-pre/castor-0.9.9.
>>>> 0-pre.pom
>>>>      [exec] [WARNING] Unable to get resource
>>>> 'castor:castor:pom:0.9.9.0-pre' from repository apache-incubator
>> (http://pe
>>>> ople.apache.org/repo/m2-incubating-repository/)
>>>>      [exec] Downloading:
>>>> http://repo1.maven.org/maven2/castor/castor/0.9.9.0-pre/castor-0.
>>> 9.9.0-pre.pom
>>>>      [exec] [WARNING] Unable to get resource
>>>> 'castor:castor:pom:0.9.9.0-pre' from repository central
>> (http://repo1.maven
>>>> .org/maven2)
>>>>      [exec] Downloading:
>>>>
>> file://D:\g20\g\repository//castor/castor/0.9.9.0-pre/castor-0.9.9.0-pre.jar 
>>
>>
>>>>      [exec] [WARNING] Unable to get resource
>>>> 'castor:castor:jar:0.9.9.0-pre' from repository module-local
>> (file://D:\g20
>>>> \g\repository/)
>>>>      [exec] Downloading:
>>>> http://download.java.net/maven/1//castor/jars/castor-0.9.9.0-pre.jar
>>>>      [exec] [WARNING] Unable to get resource
>>>> 'castor:castor:jar:0.9.9.0-pre' from repository java.net
>> (http://download.j
>>>> ava.net/maven/1/)
>>>>      [exec] Downloading:
>>>> http://people.apache.org/repo/m2-incubating-
>>> repository//castor/castor/0.9.9.0-pre/castor-0.9.9.
>>>> 0-pre.jar
>>>>      [exec] [WARNING] Unable to get resource
>>>> 'castor:castor:jar:0.9.9.0-pre' from repository apache-incubator
>> (http://pe
>>>> ople.apache.org/repo/m2-incubating-repository/)
>>>>      [exec] Downloading:
>>>> http://repo1.maven.org/maven2/castor/castor/0.9.9.0-pre/castor-0.
>>> 9.9.0-pre.jar
>>>>      [exec] [WARNING] Unable to get resource
>>>> 'castor:castor:jar:0.9.9.0-pre' from repository central
>> (http://repo1.maven
>>>> .org/maven2)
>>>>      [exec] [INFO]
>>>>
>> ------------------------------------------------------------------------
>>>>      [exec] [ERROR] BUILD ERROR
>>>>      [exec] [INFO]
>>>>
>> ------------------------------------------------------------------------
>>>>      [exec] [INFO] Failed to resolve artifact.
>>>>
>>>>      [exec] Missing:
>>>>      [exec] ----------
>>>>      [exec] 1) castor:castor:jar:0.9.9.0-pre
>>>>
>>>>      [exec]   Try downloading the file manually from the project
>> website.
>>>>      [exec]   Then, install it using the command:
>>>>      [exec]       mvn install:install-file -DgroupId=castor
>>>> -DartifactId=castor \
>>>>      [exec]           -Dversion=0.9.9.0-pre -Dpackaging=jar
>>>> -Dfile=/path/to/file
>>>>
>>>>      [exec]   Path to dependency:
>>>>      [exec]     1) org.apache.geronimo:repository:jar:2.0.2
>>>>      [exec]     2)
>>>> org.codehaus.mojo.jspc:jspc-maven-plugin:jar:2.0-alpha-1-20070806
>>>>      [exec]     3)
>>>> org.codehaus.mojo.groovy:groovy-mojo-support:jar:1.0-alpha-3
>>>>      [exec]     4)
>>>> org.codehaus.mojo.groovy:groovy-mojo-common:jar:1.0-alpha-3
>>>>      [exec]     5) groovy:groovy-all:jar:1.0
>>>>      [exec]     6) openejb:openejb-loader:jar:1.0
>>>>      [exec]     7) openejb:openejb-core:jar:1.0
>>>>      [exec]     8) castor:castor:jar:0.9.9.0-pre
>>>>
>>>>      [exec] ----------
>>>>      [exec] 1 required artifact is missing.
>>>>
>>>>      [exec] for artifact:
>>>>      [exec]   org.apache.geronimo:repository:jar:2.0.2
>>>>
>>>>      [exec] from the specified remote repositories:
>>>>      [exec]   central (http://repo1.maven.org/maven2),
>>>>      [exec]   java.net (http://download.java.net/maven/1/),
>>>>      [exec]   apache.snapshots
>>>> (http://people.apache.org/repo/m2-snapshot-repository),
>>>>      [exec]   apache-snapshots
>>>> (http://people.apache.org/repo/m2-snapshot-repository),
>>>>      [exec]   codehaus-snapshots
>>>> (http://snapshots.repository.codehaus.org),
>>>>      [exec]   apache-incubator
>>>> (http://people.apache.org/repo/m2-incubating-repository/),
>>>>      [exec]   module-local (file://D:\g20\g\repository/)
>>>>
>>>>
>>>>      [exec] [INFO]
>>>>
>> ------------------------------------------------------------------------
>>>>      [exec] [INFO] For more information, run Maven with the -e switch
>>>>      [exec] [INFO]
>>>>
>> ------------------------------------------------------------------------
>>>>      [exec] [INFO] Total time: 32 seconds
>>>>      [exec] [INFO] Finished at: Thu Oct 25 11:31:18 EDT 2007
>>>>      [exec] [INFO] Final Memory: 51M/92M
>>>>      [exec] [INFO]
>>>>
>> ------------------------------------------------------------------------
>>>>
>> __________________________________________________________________________________

>>
>>
>>>> * This message is intended only for the use of the individual or
>>> entity to which it is addressed, and may contain information that is
>>> privileged, confidential and exempt from disclosure under applicable
>>> law. Unless you are the addressee (or authorized to receive for the
>>> addressee), you may not use, copy or disclose the message or any
>>> information contained in the message. If you have received this
>>> message in error, please advise the sender by reply e-mail , and
>>> delete the message, or call (collect) 001 613 747 4698. *
>>>>
>>
>> __________________________________________________________________________________

>>
>> * This message is intended only for the use of the individual or 
>> entity to which it is addressed, and may contain information that is 
>> privileged, confidential and exempt from disclosure under applicable 
>> law. Unless you are the addressee (or authorized to receive for the 
>> addressee), you may not use, copy or disclose the message or any 
>> information contained in the message. If you have received this 
>> message in error, please advise the sender by reply e-mail , and 
>> delete the message, or call (collect) 001 613 747 4698. *
>>
>>
> 

Mime
View raw message