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 <[email protected]> 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
> 
>     
> 
> <carbon-apimgt-release-perform-error.txt>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to