On Aug 23, 2005, at 12:27 PM, Levitt, David, Bookspan wrote:
And the repository line in the project.properties file should specify
the repository?
maven.repo.remote=http://www.ibiblio.org,http://maven-
plugins.sf.net/mav
en,http://www.apache.org/dist/java-repository/
I have this, and maven 1.0.2 complains:
Attempting to download apache-axis-1.2.1.jar.
Error retrieving artifact from
[http://maven-plugins.sf.net/maven/apache-axis/jars/apache-
axis-1.2.1.ja
r]: java.io.IOExc
eption: Unknown error downloading; status code was: 302
Change http://maven-plugins.sf.net/maven to http://maven-
plugins.sourceforge.net/maven/ and I bet it will work.
The status code 302 indicates a permanent redirect; sf.net redirects
to sourceforge.net. Maven's not following this correctly. I believe
this is <http://jira.codehaus.org/browse/WAGONHTTP-1>. Apparently
this error causes it to stop trying entirely, not just stop trying to
get it from the one repository.
Regards,
Scott
--
Scott Lamb <http://www.slamb.org/>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]