dev@glassfish.java.net

RE: building Glassfish 3.1.2 from source using maven

From: peter belbin <pbelbin_at_gmail.com>
Date: Sat, 17 Mar 2012 18:24:11 -0500

Ok, so I'm still not there yet, building glassfish 3.1.2.

 

I am using JDK 6u30 with Maven 2.2.1.

 

Please help!

 

Here is what Maven is saying:

 

 

[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.main.external:schema2beans-repackaged:jar:3.1.2

                2)
org.netbeans.api:org-netbeans-modules-schema2beans:jar:RELEASE55

 

----------

1 required artifact is missing.

 

for artifact:

  org.glassfish.main.external:schema2beans-repackaged:jar:3.1.2

 

from the specified remote repositories:

  maven-central (http://repo1.maven.org/maven2/),

  eclipselink.repository
(http://download.eclipse.org/rt/eclipselink/maven.repo/)