You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Brian Kuhn <bn...@gmail.com> on 2004/12/20 22:20:05 UTC

ant's cvs task behind a firewall...

I'm behind a corporate firewall.  I've gotten Maven to use my
proxy to download dependencies, but for some reason it doesn't pass
the proxy configuration on to Ant's cvs task.  I assume this is
because it's not possible.  Can I get Maven to use CvsGrab instead?

Thanks,
    Brian Kuhn



Here's my command line:
maven scm:checkout-project
  -Dmaven.scm.method=cvs
  -Dmaven.scm.cvs.module=acegisecurity
  -Dmaven.scm.cvs.root=:pserver:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity
  -Dmaven.scm.checkout.dir=acegisecurity -Dmaven.proxy.host=my.proxyhost.com
  -Dmaven.proxy.port=80




This is the response I'm getting:
...
scm:cvs-checkout-project:
  [echo] Checking out acegisecurity; from CVSROOT:
:pserver:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity
  [mkdir] Created dir: C:\Documents and
Settings\00a3068\Desktop\acegisecurity\acegisecurity\acegisecurity
  [cvs] Unknown host cvs.sourceforge.net.

BUILD FAILED
File...... C:\Documents and
Settings\00a3068\.maven\cache\maven-scm-plugin-1.4.1\plugin.jelly
Element... ant:cvs
Line...... 245
Column.... 9
cvs exited with error code 1
Command line was [Executing 'cvs' with arguments:
'-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity'
'-q'
'checkout'
'-P'
'acegisecurity'

The ' characters around the executable and arguments are
not part of the command.
]
Total time: 44 seconds
Finished at: Mon Dec 20 11:30:24 PST 2004

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: ant's cvs task behind a firewall...

Posted by Brett Porter <br...@gmail.com>.
correct. At present, there is no Maven integration for CVSgrab. It
would be a welcome addition however!

Regards,
Brett


On Mon, 20 Dec 2004 13:20:05 -0800, Brian Kuhn <bn...@gmail.com> wrote:
> I'm behind a corporate firewall.  I've gotten Maven to use my
> proxy to download dependencies, but for some reason it doesn't pass
> the proxy configuration on to Ant's cvs task.  I assume this is
> because it's not possible.  Can I get Maven to use CvsGrab instead?
> 
> Thanks,
>     Brian Kuhn
> 
> Here's my command line:
> maven scm:checkout-project
>   -Dmaven.scm.method=cvs
>   -Dmaven.scm.cvs.module=acegisecurity
>   -Dmaven.scm.cvs.root=:pserver:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity
>   -Dmaven.scm.checkout.dir=acegisecurity -Dmaven.proxy.host=my.proxyhost.com
>   -Dmaven.proxy.port=80
> 
> This is the response I'm getting:
> ...
> scm:cvs-checkout-project:
>   [echo] Checking out acegisecurity; from CVSROOT:
> :pserver:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity
>   [mkdir] Created dir: C:\Documents and
> Settings\00a3068\Desktop\acegisecurity\acegisecurity\acegisecurity
>   [cvs] Unknown host cvs.sourceforge.net.
> 
> BUILD FAILED
> File...... C:\Documents and
> Settings\00a3068\.maven\cache\maven-scm-plugin-1.4.1\plugin.jelly
> Element... ant:cvs
> Line...... 245
> Column.... 9
> cvs exited with error code 1
> Command line was [Executing 'cvs' with arguments:
> '-d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/acegisecurity'
> '-q'
> 'checkout'
> '-P'
> 'acegisecurity'
> 
> The ' characters around the executable and arguments are
> not part of the command.
> ]
> Total time: 44 seconds
> Finished at: Mon Dec 20 11:30:24 PST 2004
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org