Re: Not able to release new version of plugin

2017-01-15 Thread Irfan Sayed
Awesome !!! you are rock
it has resolved. I am able to upload new version . BUILD got success
Thanks all for all your tremendous support and co-operation

Regards,


On Mon, Jan 16, 2017 at 12:23 AM, Irfan Sayed  wrote:

> sorry. my mistake
> i apologize.
> i ran the command again.
> will give you result in few min
>
> regards,
>
>
>
> On Sun, Jan 15, 2017 at 10:40 AM, Daniel Beck  wrote:
>
>>
>> > On 15.01.2017, at 19:08, Irfan Sayed  wrote:
>> >
>> > I have just removed the ID in the distributionManagement from POM
>>
>> WHY? WHY remove it altogether after being told to change it to the same
>> value as something else?
>>
>> I give up.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jenkinsci-dev+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/jenkinsci-dev/81A8BA14-0040-4589-96DE-06C8727C92D9%40beckweb.net.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CACGLCJY%3DcD7K6Dsog02Rx5CfYSKDhZYmEWnfHP0VdHrOvf0W6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to release new version of plugin

2017-01-15 Thread Irfan Sayed
sorry. my mistake
i apologize.
i ran the command again.
will give you result in few min

regards,



On Sun, Jan 15, 2017 at 10:40 AM, Daniel Beck  wrote:

>
> > On 15.01.2017, at 19:08, Irfan Sayed  wrote:
> >
> > I have just removed the ID in the distributionManagement from POM
>
> WHY? WHY remove it altogether after being told to change it to the same
> value as something else?
>
> I give up.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/81A8BA14-0040-4589-96DE-06C8727C92D9%40beckweb.net.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CACGLCJZJ42_ja78dOtNY1J_nnw8wcz9M7252_F5K33FcuMtrgQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to release new version of plugin

2017-01-15 Thread Fritz Elfert
On 15.01.2017 19:08, Irfan Sayed wrote:
> No. still the issue.
> I have just removed the ID in the distributionManagement from POM and

Daniel wrote "CHANGE the IDs of distributionManagement as well.". He did
NOT wrote REMOVE them.

Of course they MUST exist AND equal in both files.

Eg.: If the Id is "foo" in your pom.xml then in your settings.xml it
must me "foo" as well.

Please, at least TRY to understand how this works instead of blindly
trial/error:

If running the deploy, maven does the following:
 1. Looks for a server entry in the distributionManagement section
of the pom, reading the Id of that entry.
 2. Then, using THAT Id, it searches for a server record
with the SAME id in settings.xml in order to find the credentials

Therefore, of course if you REMOVE the Id in the pom.xml and/or
settings.xml, then maven has nothing to search for.
Sounds logical?

Hope this finally helps
 -Fritz


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/36de6908-f2f0-2faa-0b9a-c6361364d1ec%40fritz-elfert.de.
For more options, visit https://groups.google.com/d/optout.


signature.asc
Description: OpenPGP digital signature


Re: Not able to release new version of plugin

2017-01-15 Thread Daniel Beck

> On 15.01.2017, at 19:08, Irfan Sayed  wrote:
> 
> I have just removed the ID in the distributionManagement from POM

WHY? WHY remove it altogether after being told to change it to the same value 
as something else?

I give up.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/81A8BA14-0040-4589-96DE-06C8727C92D9%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to release new version of plugin

2017-01-15 Thread Irfan Sayed
PFA

Regards,


On Sun, Jan 15, 2017 at 10:33 AM, Daniel Beck  wrote:

>
> > On 15.01.2017, at 19:08, Irfan Sayed  wrote:
> >
> > still same unauthorized issue
> >
>
> What's the effective POM now?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/F291309B-EEAD-4B76-9A84-0AE4D940A542%40beckweb.net.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CACGLCJazGBBq6fhU_NphmzBaYJLTVR5-yu0a9y8vxgFVKr2rZg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
[INFO] Scanning for projects...
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, 
no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin 
org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be 
resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in 
https://repo.jenkins-ci.org/public/ was cached in the local repository, 
resolution will not be reattempted until the update interval of 
repo.jenkins-ci.org has elapsed or updates are forced
[INFO] 
[INFO] 
[INFO] Building Chef Sinatra Jenkins plugin 1.14-SNAPSHOT
[INFO] 
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, 
no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin 
org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be 
resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in 
https://repo.jenkins-ci.org/public/ was cached in the local repository, 
resolution will not be reattempted until the update interval of 
repo.jenkins-ci.org has elapsed or updates are forced
[INFO] 
[INFO] --- maven-help-plugin:2.2:effective-pom (default-cli) @ 
sinatra-chef-builder ---
[INFO] 
Effective POMs, after inheritance, interpolation, and profiles are applied:
















http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
  4.0.0
  
org.jenkins-ci.plugins
plugin
2.11

  
  org.jenkins-ci.plugins
  sinatra-chef-builder
  1.14-SNAPSHOT
  hpi
  Chef Sinatra Jenkins plugin
  Chef Sinatra Jenkins plugin
  
https://wiki.jenkins-ci.org/display/JENKINS/Chef+Sinatra+Jenkins+Plugin
  2016
  

  MIT License
  http://opensource.org/licenses/MIT

  
  

  irfanjs
  Irfan Sayed
  irfu.sa...@gmail.com

  
  

scm:git:git://github.com/jenkinsci/sinatra-chef-builder-plugin.git

scm:git:g...@github.com:jenkinsci/sinatra-chef-builder-plugin.git
sinatra-chef-builder-1.10
  
  

  https://repo.jenkins-ci.org/releases


  https://repo.jenkins-ci.org/snapshots

  
  


1C
true
1.0
git
1.117
8
8
2.11
1.609.1
1.9.2

true
/win-x64
win-x64/node.exe
4.0.0

2.13.1
UTF-8
UTF-8
UTF-8
true



1.7.7
1.17
4
  
  

  
com.google.code.findbugs
annotations
3.0.0
  
  
net.jcip
jcip-annotations
1.0
  
  
org.jenkins-ci.main
jenkins-core
1.609.1
  
  
org.jenkins-ci.main
jenkins-war
1.609.1
war-for-test
  
  
org.jenkins-ci.main
jenkins-war
1.609.1
war
test
  
  
org.jenkins-ci.main
jenkins-test-harness
2.11
  
  
org.jenkins-ci
test-annotations
1.2
  
  
junit
junit
4.12
  
  
javax.servlet
javax.servlet-api
3.1.0
  
  
javax.servlet
servlet-api
2.4
  
  
org.codehaus.mojo
animal-sniffer-annotations
1.14
  
  
org.codehaus.mojo.signature
java15
1.0
signature
  
  
org.codehaus.mojo.signature
java16

Re: Not able to release new version of plugin

2017-01-15 Thread Daniel Beck

> On 15.01.2017, at 19:08, Irfan Sayed  wrote:
> 
> still same unauthorized issue 
> 

What's the effective POM now?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/F291309B-EEAD-4B76-9A84-0AE4D940A542%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to release new version of plugin

2017-01-15 Thread Irfan Sayed
No. still the issue.
I have just removed the ID in the distributionManagement from POM and build
again
still same unauthorized issue

regards,


On Sun, Jan 15, 2017 at 11:24 PM, Daniel Beck  wrote:

>
> > On 15.01.2017, at 18:34, Irfan Sayed  wrote:
> >
> > Can you please quickly review and see any issue.
> >
>
> Change the IDs of distributionManagement as well.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/20C69A2F-2375-4171-B652-8DC9258CD474%40beckweb.net.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CACGLCJarQFdojMvuZrvBzrcZetfRjEETo%2B5r3EYL82ZgeTOMTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to release new version of plugin

2017-01-15 Thread Daniel Beck

> On 15.01.2017, at 18:34, Irfan Sayed  wrote:
> 
> Can you please quickly review and see any issue.
> 

Change the IDs of distributionManagement as well.


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/20C69A2F-2375-4171-B652-8DC9258CD474%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to release new version of plugin

2017-01-15 Thread Irfan Sayed
Still no luck.
same issue.
I have attached effective POM and effective settings.
Can you please quickly review and see any issue.

Regards,


On Sun, Jan 15, 2017 at 9:02 AM, Irfan Sayed  wrote:

> Ok. Thanks
> Let me remove that entry and tray again
>
> Regards,
>
>
> On Sun, Jan 15, 2017 at 10:24 PM, Daniel Beck  wrote:
>
>>
>> > On 15.01.2017, at 17:52, Irfan Sayed  wrote:
>> >
>> > so what would be the correct ID ?
>> > java.net-m2-repository OR repo.jenkins-ci.org   ??
>> >
>>
>> Doesn't matter, just needs to match.
>>
>> FWIW recent parent POMs used maven.jenkins-ci.org, so you may be able to
>> just remove that entry from the pom.xml if I'm correct about this:
>>
>> https://github.com/jenkinsci/plugin-pom/blob/afe60afe46f2466
>> d8d7efc4829e0887cc17e146b/pom.xml#L757
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jenkinsci-dev+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/jenkinsci-dev/B439BE30-8B80-4F54-87EF-5B9F6F1F19D2%40beckweb.net.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CACGLCJY-EWdGXX38sYxk7D2AwQHUPRb6N_kQkwh0mh4zcnhHiQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
[INFO] Scanning for projects...
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, 
no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin 
org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be 
resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in 
https://repo.jenkins-ci.org/public/ was cached in the local repository, 
resolution will not be reattempted until the update interval of 
repo.jenkins-ci.org has elapsed or updates are forced
[INFO] 
[INFO] 
[INFO] Building Chef Sinatra Jenkins plugin 1.13-SNAPSHOT
[INFO] 
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, 
no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin 
org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be 
resolved: Failure to find org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in 
https://repo.jenkins-ci.org/public/ was cached in the local repository, 
resolution will not be reattempted until the update interval of 
repo.jenkins-ci.org has elapsed or updates are forced
[INFO] 
[INFO] --- maven-help-plugin:2.2:effective-pom (default-cli) @ 
sinatra-chef-builder ---
[INFO] 
Effective POMs, after inheritance, interpolation, and profiles are applied:
















http://maven.apache.org/POM/4.0.0; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd;>
  4.0.0
  
org.jenkins-ci.plugins
plugin
2.11

  
  org.jenkins-ci.plugins
  sinatra-chef-builder
  1.13-SNAPSHOT
  hpi
  Chef Sinatra Jenkins plugin
  Chef Sinatra Jenkins plugin
  
https://wiki.jenkins-ci.org/display/JENKINS/Chef+Sinatra+Jenkins+Plugin
  2016
  

  MIT License
  http://opensource.org/licenses/MIT

  
  

  irfanjs
  Irfan Sayed
  irfu.sa...@gmail.com

  
  

scm:git:git://github.com/jenkinsci/sinatra-chef-builder-plugin.git

scm:git:g...@github.com:jenkinsci/sinatra-chef-builder-plugin.git
sinatra-chef-builder-1.10
  
  

  propRel
  https://repo.jenkins-ci.org/releases


  propSnap
  https://repo.jenkins-ci.org/snapshots

  
  


1C
true
1.0
git
1.117
8
8
2.11
1.609.1
1.9.2

true
/win-x64
win-x64/node.exe
4.0.0

2.13.1
UTF-8
UTF-8
UTF-8
true



1.7.7
1.17
4
  
  

  
com.google.code.findbugs
annotations
3.0.0
  
  
net.jcip
jcip-annotations
1.0
  
  
org.jenkins-ci.main
jenkins-core
1.609.1
  
  
org.jenkins-ci.main
jenkins-war
1.609.1
war-for-test
  
  
org.jenkins-ci.main

Re: Not able to release new version of plugin

2017-01-15 Thread Irfan Sayed
Ok. Thanks
Let me remove that entry and tray again

Regards,


On Sun, Jan 15, 2017 at 10:24 PM, Daniel Beck  wrote:

>
> > On 15.01.2017, at 17:52, Irfan Sayed  wrote:
> >
> > so what would be the correct ID ?
> > java.net-m2-repository OR repo.jenkins-ci.org   ??
> >
>
> Doesn't matter, just needs to match.
>
> FWIW recent parent POMs used maven.jenkins-ci.org, so you may be able to
> just remove that entry from the pom.xml if I'm correct about this:
>
> https://github.com/jenkinsci/plugin-pom/blob/
> afe60afe46f2466d8d7efc4829e0887cc17e146b/pom.xml#L757
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/B439BE30-8B80-4F54-87EF-5B9F6F1F19D2%40beckweb.net.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CACGLCJZbkBy-tPDbBZdze3vUwXT1A%3DD1M__Muk%2BusHM%3DDOz_RQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to release new version of plugin

2017-01-15 Thread Daniel Beck

> On 15.01.2017, at 17:52, Irfan Sayed  wrote:
> 
> so what would be the correct ID ?
> java.net-m2-repository OR repo.jenkins-ci.org   ??
> 

Doesn't matter, just needs to match.

FWIW recent parent POMs used maven.jenkins-ci.org, so you may be able to just 
remove that entry from the pom.xml if I'm correct about this:

https://github.com/jenkinsci/plugin-pom/blob/afe60afe46f2466d8d7efc4829e0887cc17e146b/pom.xml#L757


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/B439BE30-8B80-4F54-87EF-5B9F6F1F19D2%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to release new version of plugin

2017-01-15 Thread Irfan Sayed
Thanks Daniel.
so what would be the correct ID ?
java.net-m2-repository OR repo.jenkins-ci.org   ??

Regards




On Sun, Jan 15, 2017 at 10:19 PM, Daniel Beck  wrote:

> The password is defined for the repo ID: java.net-m2-repository
> The upload goes to the repo ID: repo.jenkins-ci.org
>
> Am I missing something here? Isn't this the problem?
>
>
> > On 15.01.2017, at 10:05, Irfan Sayed  wrote:
> >
> >   http://maven.apache.org/SETTINGS/1.1.0;>
> > 
> >   irfanjs
> >   ***
> >   java.net-m2-repository
> > 
> >   
> >   http://maven.apache.org/SETTINGS/1.1.0;>
> > 
> >   m.g.o-public
> >   https://repo.jenkins-ci.org/public/
> >   repo.jenkins-ci.org
> > 
> >   
> >   http://maven.apache.org/SETTINGS/1.1.0;>
> > 
> >   
> > true
> >   
> >   
> > 
> >   repo.jenkins-ci.org
> >   https://repo.jenkins-ci.org/public/
> > 
> >   
> >   
> > 
> >   repo.jenkins-ci.org
> >   https://repo.jenkins-ci.org/public/
> > 
> >   
> >   jenkins
> > 
> >   
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/C0589EF7-13BC-4F5C-A3DC-3DB79B4E0B3F%40beckweb.net.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CACGLCJbU%2BAWxt41QTvbXGfquFSP5MSMNFBuWpHpGuVabGOsAdQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to release new version of plugin

2017-01-15 Thread Daniel Beck
The password is defined for the repo ID: java.net-m2-repository
The upload goes to the repo ID: repo.jenkins-ci.org

Am I missing something here? Isn't this the problem?


> On 15.01.2017, at 10:05, Irfan Sayed  wrote:
> 
>   http://maven.apache.org/SETTINGS/1.1.0;>
> 
>   irfanjs
>   ***
>   java.net-m2-repository
> 
>   
>   http://maven.apache.org/SETTINGS/1.1.0;>
> 
>   m.g.o-public
>   https://repo.jenkins-ci.org/public/
>   repo.jenkins-ci.org
> 
>   
>   http://maven.apache.org/SETTINGS/1.1.0;>
> 
>   
> true
>   
>   
> 
>   repo.jenkins-ci.org
>   https://repo.jenkins-ci.org/public/
> 
>   
>   
> 
>   repo.jenkins-ci.org
>   https://repo.jenkins-ci.org/public/
> 
>   
>   jenkins
> 
>   
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/C0589EF7-13BC-4F5C-A3DC-3DB79B4E0B3F%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: Not able to release new version of plugin

2017-01-15 Thread Irfan Sayed
Hi,
Please suggest if what can be done . i verified again all troubleshooting
step but all seems OK.

Regards,


On Sun, Jan 15, 2017 at 2:35 PM, Irfan Sayed  wrote:

> Thanks Christopher.
> howver, i tried plaintext and encrypted password as well but still no luck
> i enabled the debug mode but still it does not have any specific hint/clue
>
> here is the effective settings
> [INFO] Scanning for projects...
> [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is
> missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for
> org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin 
> org.eclipse.m2e:lifecycle-mapping:1.0.0
> or one of its dependencies could not be resolved: Failure to find
> org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in
> https://repo.jenkins-ci.org/public/ was cached in the local repository,
> resolution will not be reattempted until the update interval of
> repo.jenkins-ci.org has elapsed or updates are forced
> [INFO]
>
> [INFO] 
> 
> [INFO] Building Chef Sinatra Jenkins plugin 1.12-SNAPSHOT
> [INFO] 
> 
> [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is
> missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for
> org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin 
> org.eclipse.m2e:lifecycle-mapping:1.0.0
> or one of its dependencies could not be resolved: Failure to find
> org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in
> https://repo.jenkins-ci.org/public/ was cached in the local repository,
> resolution will not be reattempted until the update interval of
> repo.jenkins-ci.org has elapsed or updates are forced
> [INFO]
> [INFO] --- maven-help-plugin:2.2:effective-settings (default-cli) @
> sinatra-chef-builder ---
> [INFO]
> Effective user-specific configuration settings:
>
> 
> 
> 
> 
> 
> 
> 
>
> 
> 
> 
> 
> 
>
> http://maven.apache.org/POM/4.0.0; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://
> maven.apache.org/SETTINGS/1.1.0 http://maven.apache.org/xsd/
> settings-1.1.0.xsd">
>   http://maven.apache.org/SETTINGS/1.1.0
> ">C:\Users\irfanjs\.m2\repository
>   http://maven.apache.org/SETTINGS/1.1.0;>
> 
>   irfanjs
>   ***
>   java.net-m2-repository
> 
>   
>   http://maven.apache.org/SETTINGS/1.1.0;>
> 
>   m.g.o-public
>   https://repo.jenkins-ci.org/public/
>   repo.jenkins-ci.org
> 
>   
>   http://maven.apache.org/SETTINGS/1.1.0;>
> 
>   
> true
>   
>   
> 
>   repo.jenkins-ci.org
>   https://repo.jenkins-ci.org/public/
> 
>   
>   
> 
>   repo.jenkins-ci.org
>   https://repo.jenkins-ci.org/public/
> 
>   
>   jenkins
> 
>   
>   http://maven.apache.org/SETTINGS/1.1.0;>
> org.jenkins-ci.tools
> org.apache.maven.plugins
> org.codehaus.mojo
>   
> 
>
> [INFO] 
> 
> [INFO] BUILD SUCCESS
> [INFO] 
> 
> [INFO] Total time: 8.734 s
> [INFO] Finished at: 2017-01-15T00:53:13-08:00
> [INFO] Final Memory: 20M/50M
> [INFO] 
> 
>
> is there any issue in this ?
> regards,
>
>
> On Sat, Jan 14, 2017 at 10:50 PM, Slide  wrote:
>
>> The pom.xml has http instead of https for the Jenkins maven repos.
>>
>> On Sat, Jan 14, 2017, 18:50 Daniel Beck  wrote:
>>
>>>
>>> > On 14.01.2017, at 18:39, Christopher Orr  wrote:
>>> >
>>> > Since last month, no special permissions are needed to upload
>>> SNAPSHOTs:
>>> > https://groups.google.com/d/msgid/jenkinsci-dev/53CC6ED4-3BB
>>> C-4FAD-A197-10AD7F922A34%40beckweb.net
>>> >
>>> > The permissions look correct here, and match the groupId and
>>> artifactId from your logs, plus you said that you've logged into
>>> Artifactory, so that should be fine:
>>> > https://github.com/jenkins-infra/repository-permissions-upda
>>> ter/blob/176a269/permissions/plugin-sinatra-chef-builder.yml
>>> >
>>> > So since the permissions look ok (and aren't needed for SNAPSHOTs
>>> anyway), and you've managed to log in to the Jenkins account app and
>>> Artifactory, I would guess that's something is wrong with your Maven
>>> security config.
>>> > But I don't know much about this stuff — maybe you've defined your
>>> id/password in multiple places, or perhaps Maven shows where it's reading
>>> the credentials from if you use --debug?
>>>
>>> 403 Forbidden is what would be caused by upload permissions.
>>>
>>> 401 Unauthorized means that Maven does not send any credentials to
>>> Artifactory, which then refuses to let anonymous upload something.
>>>

Re: Not able to release new version of plugin

2017-01-15 Thread Irfan Sayed
Thanks Christopher.
howver, i tried plaintext and encrypted password as well but still no luck
i enabled the debug mode but still it does not have any specific hint/clue

here is the effective settings
[INFO] Scanning for projects...
[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is
missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for
org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin
org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could
not be resolved: Failure to find
org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in
https://repo.jenkins-ci.org/public/ was cached in the local repository,
resolution will not be reattempted until the update interval of
repo.jenkins-ci.org has elapsed or updates are forced
[INFO]

[INFO]

[INFO] Building Chef Sinatra Jenkins plugin 1.12-SNAPSHOT
[INFO]

[WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is
missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for
org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin
org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could
not be resolved: Failure to find
org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 in
https://repo.jenkins-ci.org/public/ was cached in the local repository,
resolution will not be reattempted until the update interval of
repo.jenkins-ci.org has elapsed or updates are forced
[INFO]
[INFO] --- maven-help-plugin:2.2:effective-settings (default-cli) @
sinatra-chef-builder ---
[INFO]
Effective user-specific configuration settings:















http://maven.apache.org/POM/4.0.0; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="
http://maven.apache.org/SETTINGS/1.1.0
http://maven.apache.org/xsd/settings-1.1.0.xsd;>
  http://maven.apache.org/SETTINGS/1.1.0
">C:\Users\irfanjs\.m2\repository
  http://maven.apache.org/SETTINGS/1.1.0;>

  irfanjs
  ***
  java.net-m2-repository

  
  http://maven.apache.org/SETTINGS/1.1.0;>

  m.g.o-public
  https://repo.jenkins-ci.org/public/
  repo.jenkins-ci.org

  
  http://maven.apache.org/SETTINGS/1.1.0;>

  
true
  
  

  repo.jenkins-ci.org
  https://repo.jenkins-ci.org/public/

  
  

  repo.jenkins-ci.org
  https://repo.jenkins-ci.org/public/

  
  jenkins

  
  http://maven.apache.org/SETTINGS/1.1.0;>
org.jenkins-ci.tools
org.apache.maven.plugins
org.codehaus.mojo
  


[INFO]

[INFO] BUILD SUCCESS
[INFO]

[INFO] Total time: 8.734 s
[INFO] Finished at: 2017-01-15T00:53:13-08:00
[INFO] Final Memory: 20M/50M
[INFO]


is there any issue in this ?
regards,


On Sat, Jan 14, 2017 at 10:50 PM, Slide  wrote:

> The pom.xml has http instead of https for the Jenkins maven repos.
>
> On Sat, Jan 14, 2017, 18:50 Daniel Beck  wrote:
>
>>
>> > On 14.01.2017, at 18:39, Christopher Orr  wrote:
>> >
>> > Since last month, no special permissions are needed to upload SNAPSHOTs:
>> > https://groups.google.com/d/msgid/jenkinsci-dev/53CC6ED4-
>> 3BBC-4FAD-A197-10AD7F922A34%40beckweb.net
>> >
>> > The permissions look correct here, and match the groupId and artifactId
>> from your logs, plus you said that you've logged into Artifactory, so that
>> should be fine:
>> > https://github.com/jenkins-infra/repository-permissions-
>> updater/blob/176a269/permissions/plugin-sinatra-chef-builder.yml
>> >
>> > So since the permissions look ok (and aren't needed for SNAPSHOTs
>> anyway), and you've managed to log in to the Jenkins account app and
>> Artifactory, I would guess that's something is wrong with your Maven
>> security config.
>> > But I don't know much about this stuff — maybe you've defined your
>> id/password in multiple places, or perhaps Maven shows where it's reading
>> the credentials from if you use --debug?
>>
>> 403 Forbidden is what would be caused by upload permissions.
>>
>> 401 Unauthorized means that Maven does not send any credentials to
>> Artifactory, which then refuses to let anonymous upload something.
>>
>> My guess (unclear to me given how this thread developed) is the server ID
>> in settings.xml does not match the server ID in the pom.xml's
>> distributionManagement.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Jenkins Developers" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jenkinsci-dev+unsubscr...@googlegroups.com.
>> To view this discussion on the web