Hello. 

I'm trying to apply maven from remote. But unfortunately I can't connect it to 
the scm, which is a cvs. 

I'd like to show you the pom, i use:
--------------------------------------------
<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
  <modelVersion>4.0.0</modelVersion>
  <groupId>de.der.pu</groupId>
  <artifactId>dingens</artifactId>
  <packaging>jar</packaging>
  <version>1.0-SNAPSHOT</version>
  <name>Phoenix Unlimited</name>
  <url>http://www.der.de</url>
  <scm>
     <connection>scm:cvs:pserver:maven:[EMAIL 
PROTECTED]:/home/cvsroot:pu-base</connection>
<!--     
<connection>scm:cvs:pserver:maven:@panaka.der.de:/home/cvsroot:pu-base</connection>
 -->
     
<developerConnection>scm:cvs:pserver:anoncvs:@panaka.der.de:/home/cvsroot:pu-base</developerConnection>
<!--    <url>scm:cvs:pserver:cweiser:[EMAIL 
PROTECTED]:/home/cvsroot:pu-base</url> -->
  </scm>

  <build>
  <plugins>
    <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <!-- <artifactId>maven-scm-provider-cvs</artifactId> -->
      <artifactId>maven-scm-plugin</artifactId>
      <version>1.0-beta-3</version>
      <configuration>
        <connectionType>connection</connectionType>
            <goals>install</goals>
      </configuration>
    </plugin>
  </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <version>3.8.1</version>
      <scope>test</scope>
    </dependency>
  </dependencies>
</project>
--------------------------------------------
Now, the call: (according to 
http://www.mail-archive.com/scm-dev@maven.apache.org/msg00840.html)
mvn -Dusername=maven -Dpassword=maven scm:checkout

And now the corresponding error message:
--------------------------------------------
[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:
[ERROR] cvs checkout: authorization failed: server panaka.der.de rejected 
access to /home/cvsroot for user maven
cvs checkout: used empty password; try "cvs login" with a real password

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
--------------------------------------------

It has no effect, doing a cvs login before that mvn call. 

Background: 
i'm doing that call from remote. 
remote site itself has to connect to the cvs-server on another site
remote machine is hp tandem
on that machine, there is some kind of bash-emulation, there is a jdk installed 
on it and also a cvs-client.

What am i doing wrong?

thanks in advance, 
 Christof Weiser

Christof Weiser
Dipl.-Inform. 
PRODYNA GmbH - information architects
Eschborner Landstraße 42-50
60489 Frankfurt
Telefon +49 (69) 7870340
Mobil +49 173 3154316 
[EMAIL PROTECTED]
www.prodyna.de

Reply via email to