Re: Error building plugin

2012-04-20 Thread Andrew Melo
On Fri, Apr 20, 2012 at 1:14 PM, cjo  wrote:

> 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
>
>
I didn't try that, I looked here:

https://wiki.jenkins-ci.org/display/JENKINS/Building+Jenkins

And tried applying the fix to tell maven to use a mirror for glassfish. I
didn't know about the other twiki.

Thanks,
Andrew


> 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
>>
>>


-- 
--
Andrew Melo


Re: Error building plugin

2012-04-20 Thread cjo
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
>
>  

Error building plugin

2012-04-20 Thread Andrew Melo
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