john-smart/game-of-life — pull request #1 by mgrundy (2012-06-08 20:23:25+00:00)
Title: Fixes for Jenkins the definitive guide

This patch, and using maven 3.0.4, fixes the errors I got while following the first example in "Jenkins the Definitive Guide":

[WARNING] The POM for org.easyb:maven-easyb-plugin:jar:0.9.8 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] gameoflife ........................................ SUCCESS [0.126s]
[INFO] gameoflife-build .................................. SUCCESS [0.563s]
[INFO] gameoflife-core ................................... FAILURE [0.003s]
[INFO] gameoflife-webservice ............................. SKIPPED
[INFO] gameoflife-web .................................... SKIPPED
[INFO] gameoflife-cli .................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.844s
[INFO] Finished at: Fri Jun 08 15:46:03 EDT 2012
[INFO] Final Memory: 9M/480M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.easyb:maven-easyb-plugin:0.9.8 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.easyb:maven-easyb-plugin:jar:0.9.8: Failure to find org.easyb:maven-easyb-plugin:pom:0.9.8 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
Build step 'Invoke top-level Maven targets' marked build as failure
Recording test results
Finished: FAILURE

Originally using maven 2.2.1, like the book example, I got this error:

Downloading: http://repo1.maven.org/maven2/org/easyb/maven-easyb-plugin/0.9.8/maven-easyb-plugin-0.9.8.pom
[INFO] Unable to find resource 'org.easyb:maven-easyb-plugin:pom:0.9.8' in repository central (http://repo1.maven.org/maven2)
Downloading: http://repo1.maven.org/maven2/org/easyb/maven-easyb-plugin/0.9.8/maven-easyb-plugin-0.9.8.pom
[INFO] Unable to find resource 'org.easyb:maven-easyb-plugin:pom:0.9.8' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).

Project ID: org.easyb:maven-easyb-plugin

Reason: POM 'org.easyb:maven-easyb-plugin' not found in repository: Unable to download the artifact from any repository

org.easyb:maven-easyb-plugin:pom:0.9.8

from the specified remote repositories:
central (http://repo1.maven.org/maven2)

for project org.easyb:maven-easyb-plugin