You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Heinz Drews <he...@gmail.com> on 2007/10/28 09:30:30 UTC

Build problem

Hello,

is there any fix or bypass available to get rid of

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) castor:castor:jar:0.9.9.0-pre

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=castor -DartifactId=castor \
          -Dversion=0.9.9.0-pre -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:       mvn deploy:deploy-file -DgroupId=castor -DartifactId=castor \
          -Dversion=0.9.9.0-pre -Dpackaging=jar -Dfile=/path/to/file \
           -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.apache.geronimo:repository:jar:2.1-SNAPSHOT
        2) groovy:groovy-all:jar:1.0
        3) openejb:openejb-loader:jar:1.0
        4) openejb:openejb-core:jar:1.0
        5) castor:castor:jar:0.9.9.0-pre

Best regards,
Heinz

Re: Build problem

Posted by Heinz Drews <he...@gmail.com>.
Kevan,
that was the cure, thanks.

On 10/28/07, Kevan Miller <ke...@gmail.com> wrote:
>
>
> On Oct 28, 2007, at 4:30 AM, Heinz Drews wrote:
>
> > Hello,
> >
> > is there any fix or bypass available to get rid of
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Failed to resolve artifact.
> >
> > Missing:
> > ----------
> > 1) castor:castor:jar:0.9.9.0-pre
> >
>
> Heinz
> I thought there was a work-around for this in the latest trunk source.
>
> I'd remove groovy-all from your m2 repo (e.g. rm -rf ~/.m2/repository/
> groovy/groovy-all ) svn up and rebuild.
>
> --kevan
>

Re: Build problem

Posted by Kevan Miller <ke...@gmail.com>.
On Oct 28, 2007, at 4:30 AM, Heinz Drews wrote:

> Hello,
>
> is there any fix or bypass available to get rid of
>
> [INFO]  
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) castor:castor:jar:0.9.9.0-pre
>

Heinz
I thought there was a work-around for this in the latest trunk source.

I'd remove groovy-all from your m2 repo (e.g. rm -rf ~/.m2/repository/ 
groovy/groovy-all ) svn up and rebuild.

--kevan

Re: Build problem

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On 10/28/07, Heinz Drews <he...@gmail.com> wrote:
> Hello,
>
> is there any fix or bypass available to get rid of
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) castor:castor:jar:0.9.9.0-pre
>
>   Try downloading the file manually from the project website.
>
>   Then, install it using the command:
>        mvn install:install-file -DgroupId=castor -DartifactId=castor \
>           -Dversion=0.9.9.0-pre -Dpackaging=jar -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file
> there:       mvn deploy:deploy-file -DgroupId=castor -DartifactId=castor \
>           -Dversion=0.9.9.0-pre -Dpackaging=jar -Dfile=/path/to/file \
>            -Durl=[url] -DrepositoryId=[id]
>
>   Path to dependency:
>         1) org.apache.geronimo:repository:jar:2.1-SNAPSHOT
>         2) groovy:groovy-all:jar: 1.0
>         3) openejb:openejb-loader:jar:1.0
>         4) openejb:openejb-core:jar:1.0
>         5) castor:castor:jar:0.9.9.0-pre

It appears it's the issue with broken groovy-all artifact in m2 repo.
I built Geronimo yesterday without any troubles, but I suspect that m2
downloaded groovy-all long before it got broken and thus I'm not
running into it.

If I run into the issue, I'd download groovy from its website and
install the file manually (replace the broken jar file with the file
from groovy distro). Start the build process over.

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl