wakaleo/game-of-life

easyb plugin breaks build

Opened this issue · 1 comments

I get the following when building with Maven 2.2.1:

[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] gameoflife
[INFO] gameoflife-build
[INFO] gameoflife-core
[INFO] gameoflife-webservice
[INFO] gameoflife-web
[INFO] gameoflife-cli
[INFO] ------------------------------------------------------------------------
[INFO] Building gameoflife
[INFO] task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] ------------------------------------------------------------------------
[INFO] Building gameoflife-build
[INFO] task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory C:\Documents and Settings\axiomsofchoice\My Documents\game-of-life\gameoflife-build\target
[INFO] ------------------------------------------------------------------------
[INFO] Building gameoflife-core
[INFO] task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] ------------------------------------------------------------------------
[INFO] Building gameoflife-webservice
[INFO] task-segment: [clean]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] ------------------------------------------------------------------------
[INFO] Building gameoflife-web
[INFO] task-segment: [clean]
[INFO] ------------------------------------------------------------------------
Downloading: http://repo1.maven.org/maven2/org/easyb/maven-easyb-plugin/1.2.1/maven-easyb-plugin-1.2.1.jar
[INFO] Unable to find resource 'org.easyb:maven-easyb-plugin:maven-plugin:1.2.1' in repository central (http://repo1.maven.org/maven2)
[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.easyb -DartifactId=maven-easyb-plugin -Dversion=1.2.1 -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.easyb -DartifactId=maven-easyb-plugin -Dversion=1.2.1 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

org.easyb:maven-easyb-plugin:maven-plugin:1.2.1

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

org.easyb:maven-easyb-plugin:maven-plugin:1.2.1

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

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Wed Aug 24 15:52:30 BST 2011
[INFO] Final Memory: 10M/24M
[INFO] ------------------------------------------------------------------------

I had the same issue but I solved it changing the easyb version to 0.9.7:
maven-easyb-plugin
0.9.7

In root pom.xml and gameoflife-core/pom.xml

regards