dev@glassfish.java.net

Re: build problem

From: Jane Young <jane.young_at_oracle.com>
Date: Fri, 12 Nov 2010 10:26:52 -0800

Please use Maven 2.2.1.
There is a bug in earlier version of Maven where the repository defined
in the dependent pom overrides the original repository. See:
http://jira.codehaus.org/browse/MNG-4842

 From the build output, you can see that it's not searching the
artifact in GlassFish Nexus repo.


On 11/12/10 10:04 AM, Tom Mueller wrote:
> Can someone please summarize the solution for this build problem?
>
> I lost my nexus-settings file, so if you need one of those, please
> provide it and update the build instructions on the wiki with this
> information.
>
> Thanks.
> Tom
>
>
> Downloading:
> http://repository.jboss.org/nexus/content/groups/public/org/jboss/weld/weld-api-bom/1.1.Beta2/weld-api-bom-1.1.Beta2.pom
> [WARNING] Unable to get resource
> 'org.jboss.weld:weld-api-bom:pom:1.1.Beta2' from repository
> jboss-public-repository-group
> (http://repository.jboss.org/nexus/content/groups/public): Error
> transferring file: Server returned HTTP response code: 502 for URL:
> http://repository.jboss.org/nexus/content/groups/public/org/jboss/weld/weld-api-bom/1.1.Beta2/weld-api-bom-1.1.Beta2.pom
> Downloading:
> http://repo1.maven.org/maven2/org/jboss/weld/weld-api-bom/1.1.Beta2/weld-api-bom-1.1.Beta2.pom
> Unable to find resource 'org.jboss.weld:weld-api-bom:pom:1.1.Beta2' in
> repository central (http://repo1.maven.org/maven2)
> ------------------------------------------------------------------------
> [ERROR]BUILD ERROR
> ------------------------------------------------------------------------
> Error building POM (may not be this project's POM).
>
>
> Project ID: org.jboss.weld:weld-api-bom
>
> Reason: POM 'org.jboss.weld:weld-api-bom' not found in repository:
> Unable to download the artifact from any repository
>
> org.jboss.weld:weld-api-bom:pom:1.1.Beta2
>
> from the specified remote repositories:
> jboss-snapshots-repository
> (http://repository.jboss.org/nexus/content/groups/public),
> central (http://repo1.maven.org/maven2),
> jboss-public-repository-group
> (http://repository.jboss.org/nexus/content/groups/public)
>
> for project org.jboss.weld:weld-api-bom
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>