dev@glassfish.java.net

Re: Missing artifact, Glassfish not buildable from scratch?

From: Jane Young <jane.young_at_oracle.com>
Date: Mon, 15 Nov 2010 10:40:53 -0800

Your build is looking for the artifacts in the repository,
http://server:6060/nexus/content/groups/public.
What do you have in your <home>/.m2/settings.xml?



On 11/15/10 3:13 AM, Ian Smith wrote:
> Hi,
>
> I have been trying to build Glassfish for the first time using the
> instructions at
> http://wikis.sun.com/display/GlassFish/V3FullBuildInstructions
>
> but I get the failure below about half way through the list of
> modules. I have made some enquiries on #glassfish, and seem to have
> have established that existing users have the artifact in their maven
> caches, whereas I do not.
>
> Is this a known issue, is anyone in a situation where they can test
> this with an empty Maven cache? Or provide me with a download link, I
> haven't been able to locate that version using Google or Jarvana.
>
> Thanks in advance,
>
> Ian.
>
> ------------------------------------------------------------------------------------------------------
>
> [INFO] Building org.netbeans.modules.schema2beans.all version
> RELEASE55 repackaged as a module
> [INFO] task-segment: [install]
> [INFO] ------------------------------------------------------------------------
> Downloading: http://server:6060/nexus/content/groups/public/org/netbeans/api/org-netbeans-modules-schema2beans/RELEASE55/org-netbeans-modules-schema2beans-RELEASE55.pom
> [INFO] Unable to find resource
> 'org.netbeans.api:org-netbeans-modules-schema2beans:pom:RELEASE55' in
> repository central (http://central)
> Downloading: http://server:6060/nexus/content/groups/public/org/netbeans/api/org-netbeans-modules-schema2beans/RELEASE55/org-netbeans-modules-schema2beans-RELEASE55.pom
> [INFO] Unable to find resource
> 'org.netbeans.api:org-netbeans-modules-schema2beans:pom:RELEASE55' in
> repository glassfish-repo-archive
> (http://maven.glassfish.org/content/groups/glassfish)
> Downloading: http://server:6060/nexus/content/groups/public/org/netbeans/api/org-netbeans-modules-schema2beans/RELEASE55/org-netbeans-modules-schema2beans-RELEASE55.jar
> [INFO] Unable to find resource
> 'org.netbeans.api:org-netbeans-modules-schema2beans:jar:RELEASE55' in
> repository central (http://central)
> Downloading: http://server:6060/nexus/content/groups/public/org/netbeans/api/org-netbeans-modules-schema2beans/RELEASE55/org-netbeans-modules-schema2beans-RELEASE55.jar
> [INFO] Unable to find resource
> 'org.netbeans.api:org-netbeans-modules-schema2beans:jar:RELEASE55' in
> repository glassfish-repo-archive
> (http://maven.glassfish.org/content/groups/glassfish)
> [INFO] ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.netbeans.api:org-netbeans-modules-schema2beans:jar:RELEASE55
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.netbeans.api
> -DartifactId=org-netbeans-modules-schema2beans -Dversion=RELEASE55
> -Dpackaging=jar -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file there:
> mvn deploy:deploy-file -DgroupId=org.netbeans.api
> -DartifactId=org-netbeans-modules-schema2beans -Dversion=RELEASE55
> -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) org.glassfish.external:schema2beans-repackaged:jar:3.1-SNAPSHOT
> 2) org.netbeans.api:org-netbeans-modules-schema2beans:jar:RELEASE55
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
> org.glassfish.external:schema2beans-repackaged:jar:3.1-SNAPSHOT
>
> from the specified remote repositories:
> nexus (http://server:6060/nexus/content/groups/public)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>