[jboss-dev] Unable to resolve an AS trunk dependency

Galder Zamarreño galder at jboss.org
Wed Oct 27 11:50:01 EDT 2010


On Oct 27, 2010, at 5:31 PM, Galder Zamarreño wrote:

> 
> On Oct 27, 2010, at 2:36 PM, Scott Marlow wrote:
> 
>> build.sh is still prescribed for building AS trunk.  
>> 
>> My local maven repo
>> has ./org/jboss/jbossas/jboss-as-system-jmx/5.1.0.GA/jboss-as-system-jmx-5.1.0.GA.jar which sounds slightly different but is the only artifact that matches the reported missing one.
>> 
>> Anyway, I wonder if you are hitting the same transient maven repo http
>> error others have hit.  Try looking in your ~/.m2/repository folder for
>> the above path.  You might need to remove the
>> org/jboss/jbossas/jboss-as-system-jmx/5.1.0.GA/ folder or even better
>> try "./build.sh install -U".  The "-U" asked maven to update the cached
>> (possibly empty) artifacts in your local repo.
> 
> Hmmm, I did check my repo for org/jboss/system/system-jmx and removing it did not make any difference although it's a diff location to yours.
> 
> I'll try the build with -U

Still no luck, after deleting system-jmx and try build and it failing again, I see this in the repo:

[z at dnb-2:~/.m2/repository/org/jboss/system/system-jmx/5.1.0.GA]% ls -al
total 16
drwxr-xr-x  4 z  staff  136 Oct 27 17:47 .
drwxr-xr-x  3 z  staff  102 Oct 27 17:46 ..
-rw-r--r--  1 z  staff  303 Oct 27 17:47 system-jmx-5.1.0.GA.jar.lastUpdated
-rw-r--r--  1 z  staff  303 Oct 27 17:47 system-jmx-5.1.0.GA.pom.lastUpdated

With these contents:

[z at dnb-2:~/.m2/repository/org/jboss/system/system-jmx/5.1.0.GA]% more system-jmx-5.1.0.GA.jar.lastUpdated
#Last modified on: Wed Oct 27 17:47:10 CEST 2010
#Wed Oct 27 17:47:10 CEST 2010
http\://repository.jboss.org/maven2=1288194430516
http\://repository.jboss.org/nexus/content/groups/public/=1288194429551
http\://repository.jboss.org/maven2-brew/=1288194428203
http\://repo1.maven.org/maven2=1288194429928
[z at dnb-2:~/.m2/repository/org/jboss/system/system-jmx/5.1.0.GA]% more system-jmx-5.1.0.GA.pom.lastUpdated
#Last modified on: Wed Oct 27 17:47:01 CEST 2010
#Wed Oct 27 17:47:01 CEST 2010
http\://repository.jboss.org/maven2=1288194421258
http\://repository.jboss.org/nexus/content/groups/public/=1288194420341
http\://repository.jboss.org/maven2-brew/=1288194419679
http\://repo1.maven.org/maven2=1288194420716


> 
>> 
>> On Wed, 2010-10-27 at 11:59 +0200, Ales Justin wrote:
>>> Trunk now builds with "mvn install". ;-)
>>> 
>>> On Oct 27, 2010, at 11:55 AM, Galder Zamarreño wrote:
>>> 
>>>> Hey,
>>>> 
>>>> I'm trying to build AS trunk using the given build.sh but I get:
>>>> 
>>>> [ERROR] Failed to execute goal on project jboss-as-depchain: Missing:
>>>> ----------
>>>> 1) org.jboss.system:system-jmx:jar:5.1.0.GA
>>>> ...
>>>> Path to dependency: 
>>>> 	1) org.jboss.jbossas:jboss-as-depchain:pom:6.0.0-SNAPSHOT
>>>> 	2) org.jboss.ejb3:jboss-ejb3-metrics-deployer:jar:1.1.0
>>>> 	3) org.jboss.system:system-jmx:jar:5.1.0.GA
>>>> 
>>>> ----------
>>>> 1 required artifact is missing.
>>>> 
>>>> for artifact: 
>>>> org.jboss.jbossas:jboss-as-depchain:pom:6.0.0-SNAPSHOT
>>>> 
>>>> from the specified remote repositories:
>>>> apache.snapshots (http://repository.apache.org/snapshots, releases=false, snapshots=true),
>>>> jboss-maven2-brew (http://repository.jboss.org/maven2-brew/, releases=true, snapshots=false),
>>>> jboss-public-repository-group (http://repository.jboss.org/nexus/content/groups/public/, releases=true, snapshots=true),
>>>> central (http://repo1.maven.org/maven2, releases=true, snapshots=false)
>>>> 
>>>> Cheers,
>>>> --
>>>> Galder Zamarreño
>>>> Sr. Software Engineer
>>>> Infinispan, JBoss Cache
>>>> 
>>>> 
>>>> _______________________________________________
>>>> jboss-development mailing list
>>>> jboss-development at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/jboss-development
>>> 
>>> 
>>> _______________________________________________
>>> jboss-development mailing list
>>> jboss-development at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/jboss-development
>> 
>> 
>> _______________________________________________
>> jboss-development mailing list
>> jboss-development at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-development
> 
> --
> Galder Zamarreño
> Sr. Software Engineer
> Infinispan, JBoss Cache
> 
> 
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development

--
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache




More information about the jboss-development mailing list