wakaleo / game-of-life

Demo application for the 'Jenkins: The Definitive Guide' book
http://www.wakaleo.com/books/jenkins-the-definitive-guide
2.04k stars 19.97k forks source link

Sonar plugin #9

Closed jmb1963 closed 12 years ago

jmb1963 commented 12 years ago

Tried to run sonar plugin against game-of-life and it gives this error:

[INFO] [resources:resources {execution: default-resources}] [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [21:45:39.300] Execute org.codehaus.mojo:cobertura-maven-plugin:2.5.1:cobertura done: 457 ms [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Can not execute Sonar

Embedded error: Unable to execute maven plugin

Missing:

1) com.wakaleo.gameoflife:gameoflife-webservice:jar:0.9.65-SNAPSHOT

Try downloading the file manually from the project website.

Then, install it using the command: mvn install:install-file -DgroupId=com.wakaleo.gameoflife -DartifactId=gameoflife-webservice -Dversion=0.9.65-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=com.wakaleo.gameoflife -DartifactId=gameoflife-webservice -Dversion=0.9.65-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

Path to dependency: 1) com.wakaleo.gameoflife:gameoflife-web:war:0.9.65-SNAPSHOT 2) com.wakaleo.gameoflife:gameoflife-webservice:jar:0.9.65-SNAPSHOT


1 required artifact is missing.

for artifact: com.wakaleo.gameoflife:gameoflife-web:war:0.9.65-SNAPSHOT

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

jmb1963 commented 12 years ago

Not sure what was wrong - forked again and all is OK.