dev@glassfish.java.net

build broken?

From: Carla Mott <carla.mott_at_oracle.com>
Date: Tue, 06 Apr 2010 22:13:17 -0700

Is the build broken? I just checked out a new workspace and get the
following when I try to build:


[INFO]
------------------------------------------------------------------------
[INFO] Building GlassFish Parent Project
[INFO] task-segment: [clean]
[INFO]
------------------------------------------------------------------------
Downloading:
http://maven.glassfish.org/content/groups/glassfish/org/apache/maven/plugins/maven-enforcer-plugin/1.0-beta-2-SNAPSHOT/maven-enforcer-plugin-1.0-beta-2-SNAPSHOT.pom

Downloading:
http://maven.glassfish.org/content/groups/glassfish/org/apache/maven/plugins/maven-enforcer-plugin/1.0-beta-2-SNAPSHOT/maven-enforcer-plugin-1.0-beta-2-SNAPSHOT.jar

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] A required plugin was not found: Plugin could not be found -
check that the goal name is correct: Unable to download the artifact
from any repository

Try downloading the file manually from the project website.

Then, install it using the command:
   mvn install:install-file -DgroupId=org.apache.maven.plugins
-DartifactId=maven-enforcer-plugin -Dversion=1.0-beta-2-SNAPSHOT
-Dpackaging=maven-plugin -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file
there:
   mvn deploy:deploy-file -DgroupId=org.apache.maven.plugins
-DartifactId=maven-enforcer-plugin -Dversion=1.0-beta-2-SNAPSHOT
-Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]


 
org.apache.maven.plugins:maven-enforcer-plugin:maven-plugin:1.0-beta-2-SNAPSHOT


from the specified remote repositories:
 central (http://repo1.maven.org/maven2),
 glassfish-repo-archive
(http://maven.glassfish.org/content/groups/glassfish)

 
org.apache.maven.plugins:maven-enforcer-plugin:maven-plugin:1.0-beta-2-SNAPSHOT


from the specified remote repositories:
 central (http://repo1.maven.org/maven2),
 glassfish-repo-archive
(http://maven.glassfish.org/content/groups/glassfish)

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 9 seconds
[INFO] Finished at: Tue Apr 06 22:52:36 GMT-00:08 2010
[INFO] Final Memory: 83M/157M