First thing to try is to use version=3.3-RC1 on the maven 
plug-in command.  3.3 has not been officially released (but
some of the docs may refer to it in advance).

If this doesn't fix it, I saw a reference to the 301 errors 
occuring because the Apache.org folks moved the repository 
from www.apache.org to people.apache.org.  The redirect from
the old site to the new is not supported by Maven 1.0.

You should check that your maven config files reference this 
site instead of www.apache.org or cvs.apache.org.

> -----Original Message-----
> From: Aljosa Mohorovic [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, December 05, 2006 11:47 AM
> To: Apache Torque Users List
> Subject: Re: torque project compile with ant
> 
> On 12/5/06, Greg Monroe <[EMAIL PROTECTED]> wrote:
> > The best way to build Torque is to use Maven (V1.0).
> > Since this is what the developers use all the time, it's
> > guaranteed to work.  It's relatively painless to install
> > and learn to run.
> 
> i'm not using maven because command:
> "maven plugin:download -DartifactId=maven-torque-plugin
> -DgroupId=torque -Dversion=3.3"
> results in maven not understanding 301 redirects, so i use ant.
> 
> how can i resolve this maven problem?
> 
> >>>
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> 
> Attempting to download commons-io-20030203.000550.jar.
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/commons-io/jars/commons-io-20030
203.000550.jar]:
> java.io.IOException: Unknown error downloading; status code was: 301
> WARNING: Failed to download commons-io-20030203.000550.jar.
> Attempting to download commons-net-1.1.0.jar.
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/commons-net/jars/commons-net-1.1.0.jar]:
> java.io.IOException: Unknown error downloading; status code was: 301
> WARNING: Failed to download commons-net-1.1.0.jar.
> Attempting to download commons-httpclient-2.0.jar.
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/commons-httpclient/jars/commons-
> httpclient-2.0.jar]:
> java.io.IOException: Unknown error downloading; status code was: 301
> WARNING: Failed to download commons-httpclient-2.0.jar.
> Attempting to download commons-lang-2.0.jar.
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-2.0.jar]:
> java.io.IOException: Unknown error downloading; status code was: 301
> WARNING: Failed to download commons-lang-2.0.jar.
> Attempting to download commons-logging-1.0.3.jar.
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/commons-logging/jars/commons-log
ging-1.0.3.jar]:
> java.io.IOException: Unknown error downloading; status code was: 301
> WARNING: Failed to download commons-logging-1.0.3.jar.
> Attempting to download jsch-0.1.5.jar.
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/jsch/jars/jsch-0.1.5.jar]:
> java.io.IOException: Unknown error downloading; status code was: 301
> WARNING: Failed to download jsch-0.1.5.jar.
> Attempting to download commons-jelly-20030902.160215.jar.
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly
-20030902.160215.jar]:
> java.io.IOException: Unknown error downloading; status code was: 301
> WARNING: Failed to download commons-jelly-20030902.160215.jar.
> Attempting to download 
> commons-jelly-tags-velocity-20030303.205659.jar.
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly
> -tags-velocity-20030303.205659.jar]:
> java.io.IOException: Unknown error downloading; status code was: 301
> WARNING: Failed to download 
> commons-jelly-tags-velocity-20030303.205659.jar.
> Attempting to download velocity-1.4-dev.jar.
> Error retrieving artifact from
> [http://www.ibiblio.org/maven/velocity/jars/velocity-1.4-dev.jar]:
> java.io.IOException: Unknown error downloading; status code was: 301
> WARNING: Failed to download velocity-1.4-dev.jar.
> Total time: 15 seconds
> Finished at: Tue Dec 05 17:43:07 CET 2006
> <<<
> 
> -- 
> Aljosa Mohorovic
> 
> http://www.revolucija.hr
> Ivana Lucica 5
> 10000 Zagreb, Croatia
> 
> +385 (0)1 616 8414
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

Duke CE Privacy Statement
Please be advised that this e-mail and any files transmitted with it are 
confidential communication or may otherwise be privileged or confidential and 
are intended solely for the individual or entity to whom they are addressed.  
If you are not the intended recipient you may not rely on the contents of this 
email or any attachments, and we ask that you  please not read, copy or 
retransmit this communication, but reply to the sender and destroy the email, 
its contents, and all copies thereof immediately.  Any unauthorized 
dissemination, distribution or copying of this communication is strictly 
prohibited.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to