This would have been better asked on the jenkinsci-dev list, But have you modified your local ~/.m2/settings.xml file to include the jenkins hosted repos. * * See the Setting Up Environment section of https://wiki.jenkins-ci.org/display/JENKINS/Plugin+tutorial
Chris On Friday, 20 April 2012 10:42:15 UTC+1, Andrew Melo wrote: > > Hello all, > > I'm trying to build a plugin ( > https://github.com/etsy/jenkins-master-project) which doesn't seem to be > able to resolve the dependencies right. Might this hae to do with the maven > shuffle that's been going on? > > [INFO] Scanning for projects... > Downloading: > http://repo1.maven.org/maven2/org/jenkins-ci/tools/maven-hpi-plugin/1.74/maven-hpi-plugin-1.74.jar > [INFO] Unable to find resource > 'org.jenkins-ci.tools:maven-hpi-plugin:maven-plugin:1.74' in repository > central (http://repo1.maven.org/maven2) > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] 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.jenkins-ci.tools > -DartifactId=maven-hpi-plugin -Dversion=1.74 -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.jenkins-ci.tools > -DartifactId=maven-hpi-plugin -Dversion=1.74 -Dpackaging=maven-plugin > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > > org.jenkins-ci.tools:maven-hpi-plugin:maven-plugin:1.74 > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > > org.jenkins-ci.tools:maven-hpi-plugin:maven-plugin:1.74 > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > > Thanks, > Andrew > > -- > -- > Andrew Melo > >