You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2006/03/31 23:40:45 UTC

[jira] Updated: (SCM-179) scm:checkin uses not

     [ http://jira.codehaus.org/browse/SCM-179?page=all ]

John Casey updated SCM-179:
---------------------------

    Component: maven-plugin

> scm:checkin uses <connection> not <developerConnection>
> -------------------------------------------------------
>
>          Key: SCM-179
>          URL: http://jira.codehaus.org/browse/SCM-179
>      Project: Maven SCM
>         Type: Bug

>   Components: maven-plugin
>     Reporter: Alex Mayorga Adame

>
>
> Looks like scm:checkin uses <connection> and not <developerConnection>. http://maven.apache.org/ref/2.0.3-SNAPSHOT/maven-model/maven.html#class_scm states that <connection> is to be read-only.
> Below found case for a <connection> read-only that fails:
> {{...}}
> {{[DEBUG] Retrieving parent-POM: org.apache.maven.scm:maven-scm::1.0-beta-2 for project:}} {{null:maven-scm-providers:pom:1.0-beta-2 from the repository.}}
> {{[DEBUG]   org.apache.maven.scm:maven-scm-provider-svn:jar:1.0-beta-2:runtime (selected for runtime)}}
> {{[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-scm-plugin:1.0-beta-2:checkin' -->}}
> {{[DEBUG]   (f) basedir = /export1/eae/am74839/esfSample}}
> {{[DEBUG]   (f) connectionUrl = scm:cvs:pserver:anonymous@gcatfs1d.ny.ssmb.com:/export1/cvsrep/eae:esfSample}}
> {{[DEBUG]   (f) message = -Fixed problems caused by change in CVS location}}
> {{[DEBUG]   (f) settings = org.apache.maven.settings.Settings@1f3ce5c}}
> {{[DEBUG] -- end configuration --}}
> {{[INFO] [scm:checkin]}}
> {{[DEBUG] cvsRoot: :pserver:anonymous@gcatfs1d.ny.ssmb.com:2401/export1/cvsrep/eae}}
> {{[DEBUG] passFile: /home/am74839/.cvspass}}
> {{[DEBUG] cvsroot :pserver:anonymous@gcatfs1d.ny.ssmb.com:2401/export1/cvsrep/eae already exist in}}
> {{/home/am74839/.cvspass. SKIPPED.}}
> {{[DEBUG] Working directory: /export1/eae/am74839/esfSample}}
> {{[DEBUG] Command line: cvs -f -d :pserver:anonymous@gcatfs1d.ny.ssmb.com:/export1/cvsrep/eae -q commit -R -F}} {{/var/tmp/scm-commit-message55027.txt}}
> {{[ERROR] Provider message:}}
> {{[ERROR] The cvs command failed.}}
> {{[ERROR] Command output:}}
> {{[ERROR] cvs [server aborted]: "commit" requires write access to the repository}}
> {{...}}
> Relevant part of POM:
> {{...}}
> {{<scm>}}
> {{<connection>scm:cvs:pserver:anonymous@gcatfs1d.ny.ssmb.com:/export1/cvsrep/eae:esfSample</connection>}}
> {{<developerConnection>scm:cvs:pserver:${user.name}@gcatfs1d.ny.ssmb.com:/export1/cvsrep/eae:esfSample</developerConnection>}}
> {{</scm>}}
> {{...}}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira