dev@glassfish.java.net

Re: why can't I build GF trunk?

From: Jerome Dochez <jerome.dochez_at_oracle.com>
Date: Mon, 9 May 2011 09:08:43 -0700

I reported this to jane earlier this week end, she suggested the following workaround :

In the meantime, the workaround is to set the following mirror element in .m2/settings.xml:
<mirrors>
<mirror>
<id>glassfish-nexus</id>
<url>http://maven.glassfish.org/content/groups/glassfish</url>
<mirrorOf>*</mirrorOf>
</mirror>
</mirrors>

she's looking into it.

jerome

On May 9, 2011, at 8:49 AM, Bobby Bissett wrote:

> Off OWAN, no /m2/settings.xml, using Maven 2.2.1, with rev 46738 I get this:
>
>
> create.package:
> Overriding previous definition of reference to all-modules
> Downloading: http://repo1.maven.org/maven2/org/glassfish/external/management-api/3.0.0-b012/management-api-3.0.0-b012.jar
> [INFO] Unable to find resource 'org.glassfish.external:management-api:jar:3.0.0-b012' in repository central (http://repo1.maven.org/maven2)
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] An Ant BuildException has occured: The following error occurred while executing this line:
> /Users/bobby/work/ws/v3/packager/glassfish-grizzly/build.xml:65: The following error occurred while executing this line:
> /Users/bobby/work/ws/v3/packager/common-targets.xml:99: Failed to resolve artifact. Trail=[org.glassfish.packager:glassfish-grizzly:3.2-SNAPSHOT--(compile)-->org.glassfish.grizzly:grizzly-framework:2.1, org.glassfish.grizzly:grizzly-framework:2.1--(compile)-->org.glassfish.gmbal:gmbal-api-only:3.0.0-b023, org.glassfish.gmbal:gmbal-api-only:3.0.0-b023--(compile)-->org.glassfish.external:management-api:3.0.0-b012]
>
> Unable to download the artifact from any repository
> [INFO] ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 8 minutes 23 seconds
> [INFO] Finished at: Mon May 09 10:12:41 EDT 2011
> [INFO] Final Memory: 206M/397M
> [INFO] ------------------------------------------------------------------------
>
>
> I get the same thing on OWAN with the same proxy I always use in settings.xml, and I've also tried removing org/glassfish from my local repo.
>
>