opened
Glandos
username_0
<html>
<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>
<hr><center>nginx</center>
</body>
</html>
```

I've no idea where this dependency should be, but it seems that maven cannot follow 301 redirections.
Unable to build due to 301 redirects
issue
created
damencho
username_1
We have seen such problems. What you can do is update maven if it is not the latest one, but not from packages, take the latest from http://maven.apache.org/.
And/Or delete ~/.m2/ and do mvn install -U so it can update and take latest packages.
comment
created
Glandos
username_0
The official Debian package provide the 3.5.0, which is the latest available.

I just removed the subdirectory, and run `mvn install -U` before `ant`. It works. Thanks.
comment
closed
Glandos
username_0
issue
created
Glandos
username_0
(Maybe it was linked to Maven ant task, and not Maven itself)
comment