You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Jacek Laskowski <ja...@laskowski.net.pl> on 2006/07/16 13:51:28 UTC
OpenEJB 3's build broken - org.apache.xbean:maven-xbean-plugin:pom:COL-20060716.015607-3
Hi,
Just updated the sources and run across the following build error:
jlaskowski@dev /cygdrive/c/oss/openejb3
$ mvn clean install
...
[INFO] Building OpenEJB :: Container :: Core
[INFO] task-segment: [clean]
[INFO] ----------------------------------------------------------------------------
[INFO] snapshot org.apache.xbean:maven-xbean-plugin:COL-SNAPSHOT:
checking for updates from DainDevRepo
[INFO] snapshot org.apache.xbean:maven-xbean-plugin:COL-SNAPSHOT:
checking for updates from apache-snapshot
Downloading: http://people.apache.org/repository/org.apache.xbean/poms/maven-xbean-plugin-COL-20060716.015607-3.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.apache.xbean
ArtifactId: maven-xbean-plugin
Version: COL-20060716.015607-3
Reason: Unable to locate resource in repository
org.apache.xbean:maven-xbean-plugin:pom:COL-20060716.015607-3
from the specified remote repositories:
apache-snapshot (http://people.apache.org/repository),
central (http://repo1.maven.org/maven2),
DainDevRepo (http://people.apache.org/~dain/repository/m2-dev),
codehaus (http://dist.codehaus.org)
What I found was that only when I whacked
~/.m2/repository/org/apache/xbean the repository - DainDevRepo - was
queried. Otherwise it was not.
jlaskowski@dev /cygdrive/c/oss/openejb3
$ mvn clean install
...
[INFO] ----------------------------------------------------------------------------
[INFO] Building OpenEJB :: Container :: Core
[INFO] task-segment: [clean]
[INFO] ----------------------------------------------------------------------------
Downloading: http://people.apache.org/repository/org.apache.xbean/poms/maven-xbean-plugin-COL-20060716.015607-3.pom
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.apache.xbean
ArtifactId: maven-xbean-plugin
Version: COL-20060716.015607-3
Reason: Unable to locate resource in repository
org.apache.xbean:maven-xbean-plugin:pom:COL-20060716.015607-3
from the specified remote repositories:
apache-snapshot (http://people.apache.org/repository),
central (http://repo1.maven.org/maven2),
DainDevRepo (http://people.apache.org/~dain/repository/m2-dev),
codehaus (http://dist.codehaus.org)
Jacek
--
Jacek Laskowski
http://www.laskowski.net.pl
Re: OpenEJB 3's build broken - org.apache.xbean:maven-xbean-plugin:pom:COL-20060716.015607-3
Posted by Dain Sundstrom <da...@iq80.com>.
There were spurious maven-metadata files in the xbean m1 repository
on apache again. I've remove these and the build works again with a
clean repository:
~/work/openejb3
[05:46:41] dain$ find . -name target -type d | xargs rm -rf
~/work/openejb3
[05:48:14] dain$ mvn install -Dmaven.repo.local=/Users/dain/work/
openejb3/repo
....
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 51 seconds
[INFO] Finished at: Sun Jul 16 17:49:22 PDT 2006
[INFO] Final Memory: 20M/55M
[INFO]
------------------------------------------------------------------------
If you are still having problems, please delete the xbean directory
from your local repository (rm -r ~/.m2/repository/org/apache/xbean).
-dain
On Jul 16, 2006, at 4:32 PM, David Blevins wrote:
>
> On Jul 16, 2006, at 4:51 AM, Jacek Laskowski wrote:
>
>> [INFO] snapshot org.apache.xbean:maven-xbean-plugin:COL-SNAPSHOT:
>> checking for updates from apache-snapshot
>> Downloading: http://people.apache.org/repository/org.apache.xbean/
>> poms/maven-xbean-plugin-COL-20060716.015607-3.pom
> [...]
>> GroupId: org.apache.xbean
>> ArtifactId: maven-xbean-plugin
>> Version: COL-20060716.015607-3
>>
>> Reason: Unable to locate resource in repository
>>
>> org.apache.xbean:maven-xbean-plugin:pom:COL-20060716.015607-3
>>
>> from the specified remote repositories:
>> apache-snapshot (http://people.apache.org/repository),
>> central (http://repo1.maven.org/maven2),
>> DainDevRepo (http://people.apache.org/~dain/repository/m2-dev),
>> codehaus (http://dist.codehaus.org)
>>
>> What I found was that only when I whacked
>> ~/.m2/repository/org/apache/xbean the repository - DainDevRepo - was
>> queried. Otherwise it was not.
>
> I did an 'rm -r ~/.m2/repository/org/apache/xbean' and still get
> the same issue.
>
> Seems commenting out 'http://people.apache.org/repository' is the
> only way I can get a good build.
>
>
> -David
>
Re: OpenEJB 3's build broken - org.apache.xbean:maven-xbean-plugin:pom:COL-20060716.015607-3
Posted by David Blevins <da...@visi.com>.
On Jul 16, 2006, at 4:51 AM, Jacek Laskowski wrote:
> [INFO] snapshot org.apache.xbean:maven-xbean-plugin:COL-SNAPSHOT:
> checking for updates from apache-snapshot
> Downloading: http://people.apache.org/repository/org.apache.xbean/
> poms/maven-xbean-plugin-COL-20060716.015607-3.pom
[...]
> GroupId: org.apache.xbean
> ArtifactId: maven-xbean-plugin
> Version: COL-20060716.015607-3
>
> Reason: Unable to locate resource in repository
>
> org.apache.xbean:maven-xbean-plugin:pom:COL-20060716.015607-3
>
> from the specified remote repositories:
> apache-snapshot (http://people.apache.org/repository),
> central (http://repo1.maven.org/maven2),
> DainDevRepo (http://people.apache.org/~dain/repository/m2-dev),
> codehaus (http://dist.codehaus.org)
>
> What I found was that only when I whacked
> ~/.m2/repository/org/apache/xbean the repository - DainDevRepo - was
> queried. Otherwise it was not.
I did an 'rm -r ~/.m2/repository/org/apache/xbean' and still get the
same issue.
Seems commenting out 'http://people.apache.org/repository' is the
only way I can get a good build.
-David