Issue was resolved after removing distributionManagement section.

On Tue, Feb 3, 2015 at 11:50 PM, KasunG Gajasinghe <kas...@wso2.com> wrote:

> Hi Abimaran,
>
> Please compare your repo against steps 5 and 6 mentioned in the release
> process.
>
> On Tue, Feb 3, 2015 at 9:58 PM, Abimaran Kugathasan <abima...@wso2.com>
> wrote:
>
>> Hi Kasun,
>>
>> I removed it from parent pom, still having the same issue.
>>
>> On Tue, Feb 3, 2015 at 12:25 PM, Kasun Gajasinghe <kas...@wso2.com>
>> wrote:
>>
>>> Hi Abimaran,
>>>
>>> Your distributionManagement section has an incorrect nexus staging repo
>>> url. Check the release process guide. You can actually remove this section
>>> since it's defined in the wso2 parent Pom. You will have to re-do the
>>> release prepare after correcting this.
>>>
>>> KasunG
>>>
>>>
>>> On Feb 3, 2015, at 10:17 AM, Abimaran Kugathasan <abima...@wso2.com>
>>> wrote:
>>>
>>> Hi Kasun,
>>>
>>>
>>> I followd the maven release guide[1], created a release
>>> branch[release-1.3.0] and I could be able to to the release:prepare and it
>>> pushed my changes to github too.
>>>
>>> But when I did the release:perform, I'm getting Unauthorized 401. I'm
>>> using the username, password given in the bottom of the guide.
>>>
>>> [INFO] [ERROR] Failed to execute goal
>>>> org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy)
>>>> on project carbon-apimgt: Failed to deploy artifacts: Could not transfer
>>>> artifact org.wso2.carbon.apimgt:carbon-apimgt:pom:1.3.0 from/to
>>>> wso2.releases (
>>>> http://maven.wso2.org/nexus/content/repositories/releases/): Failed to
>>>> transfer file:
>>>> http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/apimgt/carbon-apimgt/1.3.0/carbon-apimgt-1.3.0.pom.
>>>> Return code is: 401, ReasonPhrase: Unauthorized. -> [Help 1]
>>>>
>>>
>>>
>>> [INFO] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>>>> execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy
>>>> (default-deploy) on project carbon-apimgt: Failed to deploy artifacts:
>>>> Could not transfer artifact org.wso2.carbon.apimgt:carbon-apimgt:pom:1.3.0
>>>> from/to wso2.releases (
>>>> http://maven.wso2.org/nexus/content/repositories/releases/): Failed to
>>>> transfer file:
>>>> http://maven.wso2.org/nexus/content/repositories/releases/org/wso2/carbon/apimgt/carbon-apimgt/1.3.0/carbon-apimgt-1.3.0.pom.
>>>> Return code is: 401, ReasonPhrase: Unauthorized.
>>>
>>>
>>>
>>> I have attached my error herewith. Can you please look on this issue. I
>>> have double checked my username and passowrd in the maven setting.xml
>>>
>>> 1:
>>> https://docs.google.com/a/wso2.com/document/d/1hDbB_FKAbMGT7PKOH3FFKAHhumaLPEJMA2nVCyExJIc/edit
>>>
>>> --
>>> Thanks
>>> Abimaran Kugathasan
>>>
>>> Software Engineer | WSO2 Inc
>>> Data & APIs Technologies Team
>>> Mobile : +94 773922820
>>>
>>> <http://stackoverflow.com/users/515034>
>>> <http://lk.linkedin.com/in/abimaran>
>>> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimaran>
>>> <https://twitter.com/abimaran>
>>>
>>>  <carbon-apimgt-release-perform-error.txt>
>>>
>>>
>>
>>
>> --
>> Thanks
>> Abimaran Kugathasan
>>
>> Software Engineer | WSO2 Inc
>> Data & APIs Technologies Team
>> Mobile : +94 773922820
>>
>> <http://stackoverflow.com/users/515034>
>> <http://lk.linkedin.com/in/abimaran>
>> <http://www.lkabimaran.blogspot.com/>  <https://github.com/abimaran>
>> <https://twitter.com/abimaran>
>>
>>
>
>
> --
>
> *Kasun Gajasinghe*Senior Software Engineer, WSO2 Inc.
> email: kasung AT spamfree wso2.com
> linked-in: http://lk.linkedin.com/in/gajasinghe
> blog: http://kasunbg.org
>
>
>



-- 
Thanks
Abimaran Kugathasan

Software Engineer | WSO2 Inc
Data & APIs Technologies Team
Mobile : +94 773922820

<http://stackoverflow.com/users/515034>
<http://lk.linkedin.com/in/abimaran>  <http://www.lkabimaran.blogspot.com/>
<https://github.com/abimaran>  <https://twitter.com/abimaran>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to