[ 
https://issues.apache.org/jira/browse/MDEP-524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15243081#comment-15243081
 ] 

Karl Heinz Marbaise commented on MDEP-524:
------------------------------------------

Which Maven version do you use?
You simply work a round this by using this:
{code:xml}
<plugin>
  <groupId>..</groupId>
  <artifactId>maven-dependency-plugin</artifactId>
  ..
  <dependencies>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-http-lightweight</artifactId>
      <version>2.10</version>
    </dependency>
  </dependencies>
</plugin>
{code}
Apart from that maven-dependency-plugin defines the dependency as 
{{<scope>provided</scope>}}...

> Update to new wagon-http-lightweight because of WAGON-314 - HTTP 301 ignored
> ----------------------------------------------------------------------------
>
>                 Key: MDEP-524
>                 URL: https://issues.apache.org/jira/browse/MDEP-524
>             Project: Maven Dependency Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.10
>            Reporter: Pavel Slechta
>
> When downloading dependencies the HTTP 301 Permanently moved redirect is not 
> currently followed. This was fixed in *WAGON-314 - Permament move (error 301) 
> not handled properly by Lightweight HTTP Wagon* in plugin version 2.0, but 
> maven-dependency-plugin uses still older version without this bugfix.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to