Re: [Dev] Unauthorized when doing release perform for carbon-apimgt project

2015-02-05 Thread Abimaran Kugathasan
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


Re: [Dev] Unauthorized when doing release perform for carbon-apimgt project

2015-02-03 Thread Abimaran Kugathasan
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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Unauthorized when doing release perform for carbon-apimgt project

2015-02-03 Thread KasunG Gajasinghe
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
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Unauthorized when doing release perform for carbon-apimgt project

2015-02-02 Thread Abimaran Kugathasan
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
abimaran:carbon-apimgt$ mvn release:perform
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.handlers.security.stub:bundle:1.3.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for 
org.apache.felix:maven-bundle-plugin is missing. @ line 85, column 21
[WARNING] 'build.plugins.plugin.version' for 
org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 65, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.keymgt.stub:bundle:1.3.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for 
org.apache.felix:maven-bundle-plugin is missing. @ line 94, column 21
[WARNING] 'build.plugins.plugin.version' for 
org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 74, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.keymgt:bundle:1.3.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for 
org.apache.felix:maven-bundle-plugin is missing. @ line 83, column 12
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.keymgt.client:bundle:1.3.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for 
org.apache.felix:maven-bundle-plugin is missing. @ line 75, column 12
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.usage.publisher:bundle:1.3.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for 
org.apache.felix:maven-bundle-plugin is missing. @ line 60, column 21
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for 
org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.usage.client:bundle:1.3.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for 
org.apache.felix:maven-bundle-plugin is missing. @ line 52, column 21
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten 
the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support 
building such malformed projects.
[WARNING] 
[INFO] 
[INFO] Reactor Build Order:
[INFO] 
[INFO] WSO2 Carbon - API Management Aggregator Pom
[INFO] API Management
[INFO] WSO2 Carbon - API Security Handler Service Stub
[INFO] WSO2 Carbon - API Key Management Stub
[INFO] API Management
[INFO] WSO2 Carbon - Api for API Management
[INFO] WSO2 Carbon - API Key Mgt Client
[INFO] WSO2 Carbon - API Management Implementation
[INFO] WSO2 Carbon - API Gateway
[INFO] WSO2 Carbon - API Management Usage Aggregator Module
[INFO] WSO2 Carbon - API Management Usage Publisher
[INFO] WSO2 Carbon - API Management Usage Client
[INFO] WSO2 Carbon - HostObject for API management
[INFO] WSO2 Carbon - API 

Re: [Dev] Unauthorized when doing release perform for carbon-apimgt project

2015-02-02 Thread Kasun Gajasinghe
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
 
 
 
 carbon-apimgt-release-perform-error.txt
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev