geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anita kulshreshtha <a_kuls...@yahoo.com>
Subject Re: build failure: o/a/g/specs vs. geronimo-specs
Date Thu, 21 Sep 2006 18:29:56 GMT
    Have you tried changing geronimo-dependency.xml in
openejb2/modules/openejb-core/src/resources2/META-INF? Please modify
the following line:
<dep:groupId>geronimo-spec</dep:groupId>
to 
<dep:groupId>org.apache.geronimo.specs</dep:groupId>

Thanks
Anita

--- Paul McMahan <paulmcmahan@gmail.com> wrote:

> When I build specs/trunk/geronimo-spec-corba it installs a jar into
> my
> local repo in the o/a/g/spec group:
> 
> 
> [INFO] Installing
>
/home/pmcmahan/src/geronimo/specs/trunk/geronimo-spec-corba/target/geronimo-spec-corba-1.0.jar
> to
>
/home/pmcmahan/.m2/repository/org/apache/geronimo/specs/geronimo-spec-corba/1.0/geronimo-spec-corba-1.0.jar
> 
> 
> But then when I build configs/client it looks for
> geronimo-spec-corba-1.0.jar in the geronimo-specs group.
> 
> 
>
[INFO]------------------------------------------------------------------------
> [ERROR] BUILD ERROR
>
[INFO]------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> Missing:
> ----------
> 1) geronimo-spec:geronimo-spec-corba:jar:1.0
> 
>   Try downloading the file manually from the project website.
> 
>   Then, install it using the command:
>       mvn install:install-file -DgroupId=geronimo-spec
> -DartifactId=geronimo-spec-corba \
>           -Dversion=1.0 -Dpackaging=jar -Dfile=/path/to/file
> 
>   Path to dependency:
>         1) org.apache.geronimo.configs:client:car:1.2-SNAPSHOT
>         2) geronimo-spec:geronimo-spec-corba:jar:1.0
> 
> ----------
> 1 required artifact is missing.
> 
> for artifact:
>   org.apache.geronimo.configs:client:car:1.2-SNAPSHOT
> 
> 
> Is the dependency really needed?  The client still builds if I remove
> it from the pom, but there's a comment about m1 that makes me wonder
> if that's safe.  If it's needed then shouldn't it depend on
> o/a/g/specs instead of geronimo-specs?  I've never been totally up to
> speed on the differences between these two groups.
> 
> BTW, for the time being I worked around this problem by doing this:
> cp -r ~/.m2/repository/org/apache/geronimo/specs/geronimo-spec-corba/
> ~/.m2/repository/geronimo-spec/
> 
> Paul
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message