You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Lionel Champalaune (JIRA)" <ji...@codehaus.org> on 2012/02/03 18:56:02 UTC
[jira] (MNG-5238) 301, ReasonPhrase:Moved Permanently
Lionel Champalaune created MNG-5238:
---------------------------------------
Summary: 301, ReasonPhrase:Moved Permanently
Key: MNG-5238
URL: https://jira.codehaus.org/browse/MNG-5238
Project: Maven 2 & 3
Issue Type: Bug
Components: Deployment, Errors, Plugins and Lifecycle
Affects Versions: 3.0.4
Environment: Continuum 1.3.6, Archiva 1.1.2
Reporter: Lionel Champalaune
I was in Maven 2.0.9 until two weeks ago.
I did integration test with maven 3.0.3 and everything was working fine.
When I decided to migrate my integration system this week I upgrade to 3.0.4 and then the clean deploy failed with this error:
Could not transfer artifact groupe:artifact:pom:0.5.0-20120203.164640-2 from/to snapshots (http://archiva.company.fr/repository/snapshots/): Failed to transfer file: http://archiva.company.fr/repository/snapshots/groupe/artifact/0.5.0-SNAPSHOT/panel-0.5.0-20120203.164640-2.pom. Return code is: 301, ReasonPhrase:Moved Permanently
I don't know how to investigate the problem because it's working with 3.0.3 (Wagon enhancement ?)
I migrate to 3.0.3 but I think it's better to be with the last version.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MNG-5238) 301, ReasonPhrase:Moved Permanently
Posted by "Lionel Champalaune (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-5238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=292027#comment-292027 ]
Lionel Champalaune commented on MNG-5238:
-----------------------------------------
There is nothing in archiva side.
It's a problem in the deploy phase of maven.
ERROR: Error deploying artifact: Failed to transfer file ....301...
As I said it's working in 3.0.3 but not in 3.0.4.
Sorry to not be clearer, as for me it's a regression I don't know exactly what changes between maven 3.0.3 and 3.0.4 which can cause this problem.
> 301, ReasonPhrase:Moved Permanently
> -----------------------------------
>
> Key: MNG-5238
> URL: https://jira.codehaus.org/browse/MNG-5238
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Deployment, Errors, Plugins and Lifecycle
> Affects Versions: 3.0.4
> Environment: Continuum 1.3.6, Archiva 1.1.2
> Reporter: Lionel Champalaune
>
> I was in Maven 2.0.9 until two weeks ago.
> I did integration test with maven 3.0.3 and everything was working fine.
> When I decided to migrate my integration system this week I upgrade to 3.0.4 and then the clean deploy failed with this error:
> Could not transfer artifact groupe:artifact:pom:0.5.0-20120203.164640-2 from/to snapshots (http://archiva.company.fr/repository/snapshots/): Failed to transfer file: http://archiva.company.fr/repository/snapshots/groupe/artifact/0.5.0-SNAPSHOT/panel-0.5.0-20120203.164640-2.pom. Return code is: 301, ReasonPhrase:Moved Permanently
> I don't know how to investigate the problem because it's working with 3.0.3 (Wagon enhancement ?)
> I migrate to 3.0.3 but I think it's better to be with the last version.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MNG-5238) 301, ReasonPhrase:Moved Permanently
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-5238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=290806#comment-290806 ]
Olivier Lamy commented on MNG-5238:
-----------------------------------
Does this Moved Permanently exists ?
> 301, ReasonPhrase:Moved Permanently
> -----------------------------------
>
> Key: MNG-5238
> URL: https://jira.codehaus.org/browse/MNG-5238
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Deployment, Errors, Plugins and Lifecycle
> Affects Versions: 3.0.4
> Environment: Continuum 1.3.6, Archiva 1.1.2
> Reporter: Lionel Champalaune
>
> I was in Maven 2.0.9 until two weeks ago.
> I did integration test with maven 3.0.3 and everything was working fine.
> When I decided to migrate my integration system this week I upgrade to 3.0.4 and then the clean deploy failed with this error:
> Could not transfer artifact groupe:artifact:pom:0.5.0-20120203.164640-2 from/to snapshots (http://archiva.company.fr/repository/snapshots/): Failed to transfer file: http://archiva.company.fr/repository/snapshots/groupe/artifact/0.5.0-SNAPSHOT/panel-0.5.0-20120203.164640-2.pom. Return code is: 301, ReasonPhrase:Moved Permanently
> I don't know how to investigate the problem because it's working with 3.0.3 (Wagon enhancement ?)
> I migrate to 3.0.3 but I think it's better to be with the last version.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MNG-5238) 301, ReasonPhrase:Moved Permanently
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-5238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=292080#comment-292080 ]
Olivier Lamy commented on MNG-5238:
-----------------------------------
maybe but I need more informations.
And according to http spec: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html.
Section 10.3.2 301 Moved Permanently
??If the 301 status code is received in response to a request other than GET or HEAD, the user agent MUST NOT automatically redirect the request.??
So I add can some flag to say "followMoved" but I understand it doesn't work.
Maybe (certainly) you have a http server in the middle which do redirect permanent. (again I don't know your infra).
Check that if you have a directive "Redirect permanent" rather than "Redirect".
> 301, ReasonPhrase:Moved Permanently
> -----------------------------------
>
> Key: MNG-5238
> URL: https://jira.codehaus.org/browse/MNG-5238
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Deployment, Errors, Plugins and Lifecycle
> Affects Versions: 3.0.4
> Environment: Continuum 1.3.6, Archiva 1.1.2
> Reporter: Lionel Champalaune
>
> I was in Maven 2.0.9 until two weeks ago.
> I did integration test with maven 3.0.3 and everything was working fine.
> When I decided to migrate my integration system this week I upgrade to 3.0.4 and then the clean deploy failed with this error:
> Could not transfer artifact groupe:artifact:pom:0.5.0-20120203.164640-2 from/to snapshots (http://archiva.company.fr/repository/snapshots/): Failed to transfer file: http://archiva.company.fr/repository/snapshots/groupe/artifact/0.5.0-SNAPSHOT/panel-0.5.0-20120203.164640-2.pom. Return code is: 301, ReasonPhrase:Moved Permanently
> I don't know how to investigate the problem because it's working with 3.0.3 (Wagon enhancement ?)
> I migrate to 3.0.3 but I think it's better to be with the last version.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MNG-5238) 301, ReasonPhrase:Moved Permanently
Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-5238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=292026#comment-292026 ]
Olivier Lamy commented on MNG-5238:
-----------------------------------
me neither as I don't have access to your env :-)
what says : curl -I http://archiva.company.fr/repository/snapshots ?
> 301, ReasonPhrase:Moved Permanently
> -----------------------------------
>
> Key: MNG-5238
> URL: https://jira.codehaus.org/browse/MNG-5238
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Deployment, Errors, Plugins and Lifecycle
> Affects Versions: 3.0.4
> Environment: Continuum 1.3.6, Archiva 1.1.2
> Reporter: Lionel Champalaune
>
> I was in Maven 2.0.9 until two weeks ago.
> I did integration test with maven 3.0.3 and everything was working fine.
> When I decided to migrate my integration system this week I upgrade to 3.0.4 and then the clean deploy failed with this error:
> Could not transfer artifact groupe:artifact:pom:0.5.0-20120203.164640-2 from/to snapshots (http://archiva.company.fr/repository/snapshots/): Failed to transfer file: http://archiva.company.fr/repository/snapshots/groupe/artifact/0.5.0-SNAPSHOT/panel-0.5.0-20120203.164640-2.pom. Return code is: 301, ReasonPhrase:Moved Permanently
> I don't know how to investigate the problem because it's working with 3.0.3 (Wagon enhancement ?)
> I migrate to 3.0.3 but I think it's better to be with the last version.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] (MNG-5238) 301, ReasonPhrase:Moved Permanently
Posted by "Lionel Champalaune (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MNG-5238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=290817#comment-290817 ]
Lionel Champalaune commented on MNG-5238:
-----------------------------------------
I don t know where it comes from. Is it from archiva or deploy plugin side ?
> 301, ReasonPhrase:Moved Permanently
> -----------------------------------
>
> Key: MNG-5238
> URL: https://jira.codehaus.org/browse/MNG-5238
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Deployment, Errors, Plugins and Lifecycle
> Affects Versions: 3.0.4
> Environment: Continuum 1.3.6, Archiva 1.1.2
> Reporter: Lionel Champalaune
>
> I was in Maven 2.0.9 until two weeks ago.
> I did integration test with maven 3.0.3 and everything was working fine.
> When I decided to migrate my integration system this week I upgrade to 3.0.4 and then the clean deploy failed with this error:
> Could not transfer artifact groupe:artifact:pom:0.5.0-20120203.164640-2 from/to snapshots (http://archiva.company.fr/repository/snapshots/): Failed to transfer file: http://archiva.company.fr/repository/snapshots/groupe/artifact/0.5.0-SNAPSHOT/panel-0.5.0-20120203.164640-2.pom. Return code is: 301, ReasonPhrase:Moved Permanently
> I don't know how to investigate the problem because it's working with 3.0.3 (Wagon enhancement ?)
> I migrate to 3.0.3 but I think it's better to be with the last version.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira