dev@glassfish.java.net

RE: Build issues with 4.0 branch

From: David Twelves <david.twelves_at_oracle.com>
Date: Wed, 8 May 2013 11:33:34 -0700 (PDT)

I'm seeing the same error (reported in this email thread a few days ago) on both 4.0 and main branches.

>> [ERROR] Failed to execute goal on project glassfish-api: Could not resolve dependencies for project org.glassfish.main.common:glassfish-api:glassfish-jar:4.0-SNAPSHOT: Failed to collect dependencies for [org.glassfish.main.common:scattered-archive-api:jar:4.0-SNAPSHOT (compile), org.glassfish.hk2:hk2:jar:2.1.92 (compile), org.glassfish.main.grizzly:nucleus-grizzly-all:jar:4.0-SNAPSHOT (compile), org.glassfish.external:management-api:jar:3.2.0-b001 (compile), junit:junit:jar:4.10 (test?), com.sun:tools-jar:jar:1 (system)]: Failed to read artifact descriptor for org.glassfish.main.common:scattered-archive-api:jar:4.0-SNAPSHOT: Could not find artifact org.glassfish.jersey:jersey-bom:pom:2.0 -> [Help 1]


I've tried cleaning up my local maven repo and did a clean checkout before building, but can't get past this. Is anyone else seeing this?

Thanks,
David

-----Original Message-----
From: Joe Di Pol
Sent: May-03-13 8:42 PM
To: dev_at_glassfish.java.net
Subject: Re: Build issues with 4.0 branch


FYI, this worked for me:

- Clean checkout and build of trunk.
- Clean checkout and build of branch

Both using the same local maven repository.

Joe


On 5/3/13 4:13 PM, Tim Quinn wrote:
> I had an IM chat earlier this afternoon with someone who saw the same problem.
>
> At that time just to see I updated and built the 4.0 branch on my Mac - successfully.
>
> I happened to use a separate maven repository for this build vs. my builds for the trunk.
>
> FWIW.
>
> - Tim
>
> On May 3, 2013, at 5:32 PM, Mahesh.Kannan_at_Oracle.Com wrote:
>
>> I am having hard time building 4.0 branch on my mac:
>>
>> Here is the svn info:
>> svn info
>> Path: .
>> URL: https://svn.java.net/svn/glassfish~svn/branches/4.0
>> Repository Root: https://svn.java.net/svn/glassfish~svn
>> Repository UUID: 6f3ba3e3-413c-0410-a8aa-90bee3ab43b5
>> Revision: 61826
>> Node Kind: directory
>> Schedule: normal
>> Last Changed Author: shaun.pei_at_oracle.com
>> Last Changed Rev: 61825
>> Last Changed Date: 2013-05-03 14:07:40 -0700 (Fri, 03 May 2013)
>>
>>
>> When I run mvn clean install, this is what I am getting:
>>
>> [ERROR] Failed to execute goal on project glassfish-api: Could not resolve dependencies for project org.glassfish.main.common:glassfish-api:glassfish-jar:4.0-SNAPSHOT: Failed to collect dependencies for [org.glassfish.main.common:scattered-archive-api:jar:4.0-SNAPSHOT (compile), org.glassfish.hk2:hk2:jar:2.1.92 (compile), org.glassfish.main.grizzly:nucleus-grizzly-all:jar:4.0-SNAPSHOT (compile), org.glassfish.external:management-api:jar:3.2.0-b001 (compile), junit:junit:jar:4.10 (test?), com.sun:tools-jar:jar:1 (system)]: Failed to read artifact descriptor for org.glassfish.main.common:scattered-archive-api:jar:4.0-SNAPSHOT: Could not find artifact org.glassfish.jersey:jersey-bom:pom:2.0 -> [Help 1]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions, please read the following articles:
>> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>> [ERROR]
>> [ERROR] After correcting the problems, you can resume the build with the command
>> [ERROR] mvn <goals> -rf :glassfish-api
>>
>> Any ideas?
>>