Hi Baptiste,
Can you please suggest ?
i am able to push the changes using my username and using pass-wordless
authentication
not getting why "unauthorized" error is coming. i verified settings.xml as
well

regards,


On Wed, Jan 11, 2017 at 5:14 PM, Irfan Sayed <[email protected]> wrote:

> Hi,
> The issue of having wrong URL in the maven release preparation is now
> resolved. i am getting correct URL.
> however, now "401 unauthorized" error is coming
> i have uploaded correct public key in the github and able to push the code
> properly.
>
> do i need to do any another setting to get rid of "unauthorized" error ?
> Please suggest
>
> regards,
>
>
> On Mon, Jan 9, 2017 at 10:27 PM, Irfan Sayed <[email protected]> wrote:
>
>> Thanks Baptiste.
>> I have created public gist and uploaded all data there.
>>
>> https://gist.github.com/irfanjs/1e0315588d1e55dbbd28cc415fc4d157
>>
>> please have a look.
>>
>> Regards,
>> irfan
>>
>>
>> On Mon, Jan 9, 2017 at 11:28 AM, Baptiste Mathus <[email protected]> wrote:
>>
>>> You're not helpable this way. Please describe what you did, and put the
>>> necessary data in gist.github.com or something. Like the error you're
>>> having. Is this really still the same error?
>>> You probably have something wrong locally or so you didn't push, because
>>> right now your pom.xml seems correct. At least can't see any ref to the old
>>> maven repo;
>>>
>>> 2017-01-09 17:44 GMT+01:00 Irfan Sayed <[email protected]>:
>>>
>>>> Hi Baptiste,
>>>> Can you please help
>>>>
>>>> Regards,
>>>> Irfan
>>>>
>>>>
>>>> On Mon, Jan 9, 2017 at 12:08 PM, Irfan Sayed <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi Baptiste,
>>>>> I tried creating settings.xml and try to perform the release. still
>>>>> the issue persist.
>>>>> Effective POM also looks OK.
>>>>>
>>>>>  <distributionManagement>
>>>>>     <repository>
>>>>>       <id>maven.jenkins-ci.org</id>
>>>>>       <url>https://repo.jenkins-ci.org/releases/</url>
>>>>>     </repository>
>>>>>     <snapshotRepository>
>>>>>       <id>maven.jenkins-ci.org</id>
>>>>>       <url>https://repo.jenkins-ci.org/snapshots/</url>
>>>>>     </snapshotRepository>
>>>>>   </distributionManagement>
>>>>>
>>>>> Regards,
>>>>> Irfan
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Jan 8, 2017 at 12:57 AM, Irfan Sayed <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Sorry. while experimenting, that modification left as it is. i fixed
>>>>>> that and uploaded new version. please have a look
>>>>>> further , please find the attached settings.xml as well
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>>
>>>>>> On Sun, Jan 8, 2017 at 2:44 AM, Baptiste Mathus <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> Your current pom.xml is not even valid from a Maven PoV. You commented
>>>>>>> out the artifactId
>>>>>>> <https://github.com/jenkinsci/sinatra-chef-builder-plugin/blob/master/pom.xml#L24-L26>
>>>>>>> for one.
>>>>>>> So I don't know what you're testing right now, but no, this is not
>>>>>>> what is on your repo because that immediately fails with Maven.
>>>>>>>
>>>>>>> Please file a PR with what you really have. For me, once this is
>>>>>>> removed this seems fine. Or maybe you have crap left somehow in your
>>>>>>> settings.xml.
>>>>>>>
>>>>>>> 2017-01-07 17:43 GMT+01:00 Irfan Sayed <[email protected]>:
>>>>>>>
>>>>>>>> Thanks.
>>>>>>>> Yes. I did remove the DistributionManagement from my POM.
>>>>>>>> Please refer here actual code. This is the latest code which i
>>>>>>>> would like to release
>>>>>>>> https://github.com/jenkinsci/sinatra-chef-builder-plugin
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Jan 6, 2017 at 9:27 PM, Baptiste Mathus <[email protected]>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Can you create a branch or a PR against your repo so that we check
>>>>>>>>> actual code/thing?
>>>>>>>>>
>>>>>>>>> Also, did you *remove* the distributionManagement part from your
>>>>>>>>> pom as I said?
>>>>>>>>>
>>>>>>>>> 2017-01-06 15:08 GMT+01:00 Irfan Sayed <[email protected]>:
>>>>>>>>>
>>>>>>>>>> I changed the version from 2.3 to 2.5 , but still it refers to
>>>>>>>>>> old repo.
>>>>>>>>>> then i again changed to more updated version of plugin POM : 2.11
>>>>>>>>>> , still the same issue...
>>>>>>>>>> in the effective POM, there is no entry with 8081 port
>>>>>>>>>>
>>>>>>>>>> i have checked the .m2/settings.xml file as well, there is also
>>>>>>>>>> not any old repo.
>>>>>>>>>>
>>>>>>>>>> i have referred this sample POM: https://github.com/jenkin
>>>>>>>>>> sci/maven-hpi-plugin/blob/49fc9860c9cccc8b23a3690c5110b84aee
>>>>>>>>>> fed12a/hpi-archetype/pom.xml#L6...L29
>>>>>>>>>> i have deleted all the contents of local maven repo (just in
>>>>>>>>>> case) and tried again.
>>>>>>>>>>
>>>>>>>>>> I am still not getting what is wrong ?
>>>>>>>>>>
>>>>>>>>>> regards,
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Fri, Jan 6, 2017 at 5:30 AM, Daniel Beck <[email protected]>
>>>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> > On 06.01.2017, at 14:26, Irfan Sayed <[email protected]>
>>>>>>>>>>> wrote:
>>>>>>>>>>> >
>>>>>>>>>>> >     <version>2.3</version> <!-- or later -->
>>>>>>>>>>> >
>>>>>>>>>>>
>>>>>>>>>>> The first response you got linked to:
>>>>>>>>>>> https://wiki.jenkins-ci.org/display/JENKINS/Hosting+Plugins#
>>>>>>>>>>> HostingPlugins-Workingaroundcommonissues
>>>>>>>>>>>
>>>>>>>>>>> And it says:
>>>>>>>>>>>
>>>>>>>>>>> > … or update to the parent plugins POM 2.5 or newer
>>>>>>>>>>>
>>>>>>>>>>> 2.3 is not newer than 2.5.
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> 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 [email protected].
>>>>>>>>>>> To view this discussion on the web visit
>>>>>>>>>>> https://groups.google.com/d/msgid/jenkinsci-dev/AC4A284C-F84
>>>>>>>>>>> D-4F1C-AFE3-31EB11A6C819%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 [email protected].
>>>>>>>>>> To view this discussion on the web visit
>>>>>>>>>> https://groups.google.com/d/msgid/jenkinsci-dev/CACGLCJapwky
>>>>>>>>>> 4ADhy88iiY%3DBUvNDa-k7ASQ7bXdjXTxRE0kQA5g%40mail.gmail.com
>>>>>>>>>> <https://groups.google.com/d/msgid/jenkinsci-dev/CACGLCJapwky4ADhy88iiY%3DBUvNDa-k7ASQ7bXdjXTxRE0kQA5g%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>>>>>> .
>>>>>>>>>>
>>>>>>>>>> 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 [email protected].
>>>>>>>>> To view this discussion on the web visit
>>>>>>>>> https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS4q9uP
>>>>>>>>> 5jz5n_5wnLdDFbX-K37BrgeAzNdPs9mKEWv6umg%40mail.gmail.com
>>>>>>>>> <https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS4q9uP5jz5n_5wnLdDFbX-K37BrgeAzNdPs9mKEWv6umg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>>>>> .
>>>>>>>>>
>>>>>>>>> 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 [email protected].
>>>>>>>> To view this discussion on the web visit
>>>>>>>> https://groups.google.com/d/msgid/jenkinsci-dev/CACGLCJZ6PjF
>>>>>>>> H1K1PkOKAMvHFA_u%3DDfq-hvPbYame4TWR7QcmPw%40mail.gmail.com
>>>>>>>> <https://groups.google.com/d/msgid/jenkinsci-dev/CACGLCJZ6PjFH1K1PkOKAMvHFA_u%3DDfq-hvPbYame4TWR7QcmPw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>>>> .
>>>>>>>>
>>>>>>>> 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 [email protected].
>>>>>>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS6QSfH
>>>>>>> UcPnJVUKA%3D%3Dr0MROneNa3yhsjW1sbu6TBDo49%2Bg%40mail.gmail.com
>>>>>>> <https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS6QSfHUcPnJVUKA%3D%3Dr0MROneNa3yhsjW1sbu6TBDo49%2Bg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>>> .
>>>>>>>
>>>>>>> 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 [email protected].
>>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>>> gid/jenkinsci-dev/CACGLCJYHpFMEbpxS%2BqtvEuqJmK5GCgooe2LoRh%
>>>> 3D63DjBaWeBAg%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/jenkinsci-dev/CACGLCJYHpFMEbpxS%2BqtvEuqJmK5GCgooe2LoRh%3D63DjBaWeBAg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>> 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 [email protected].
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/jenkinsci-dev/CANWgJS5MF08z6EJK9d1XM8SWLtASSP1qikc%3DyPT
>>> 8TqMkE2oppQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/jenkinsci-dev/CANWgJS5MF08z6EJK9d1XM8SWLtASSP1qikc%3DyPT8TqMkE2oppQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>> 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CACGLCJZuSZQA4ayuBUH0uVJessNZ2ceBhKu%3DuYpgsF6LEWs3zQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to