dev@glassfish.java.net

Re: Build issues with 4.0 branch

From: Tim Quinn <tim.quinn_at_oracle.com>
Date: Fri, 3 May 2013 18:13:03 -0500

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?
>