[jira] (SCM-452) scm url not being parsed correctly for release:perform only

2012-05-02 Thread Robert Scholte (JIRA)

 [ 
https://jira.codehaus.org/browse/SCM-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte updated SCM-452:
---

Description: 
{{mvn release:perform 
-DconnectionUrl=scm:cvs:ext:usern...@cvs-server.mycompany.com:/cvsroot:projectname}}
works, except it won't really do what we need without a lot of manual 
intervention, because this command:
{{mvn release:prepare 
-DconnectionUrl=scm:cvs:ext:usern...@cvs-server.mycompany.com:/cvsroot:projectname}}
yields this error:
{noformat}
[ERROR] BUILD FAILURE
[INFO] 
[INFO] The scm url is invalid.
  - The connection string contains too few tokens.
[INFO] 
{noformat}

{{-e}} doesn't reveal a long enough stack trace to show anything.  It would be 
helpful if this error could say what url it's parsing
the scm section of the pom is this:
{code:xml}


scm:cvs:ext:cvs-server.mycompany.com:/cvsroot

scm:cvs:ext:cvs-server.mycompany.com:/cvsroot

scm:cvs:ext:cvs-server.mycompany.com:/cvsroot:projectname

{code}
We don't intend to put the user name in the pom (shared resource) which is part 
of why I'm trying to override it.

and the servers section of {{settings.xml}} is like so:
{code:xml}

  cvs-server.mycompany.com
  664
  775
  username
  /home/username/.ssh/id_rsa_of_this_setup

{code}

but in any case I'm not sure it's even reading the scm section of the pom 
correctly.  After downloading the plugin sources, one of the few unresolved 
items was the {{Xpp3Reader}} which might have told me the answer.  This is not 
up to my experience of a high bar set by working with this plugin in a 
subversion environment, but maybe it's an unfair comparison.

Any attention greatly appreciated

--Ben Clark

  was:
{{mvn release:perform 
-DconnectionUrl=scm:cvs:ext:usern...@cvs-server.mycompany.com:/cvsroot:projectname}}
works, except it won't really do what we need without a lot of manual 
intervention, because this command:
{{mvn release:prepare 
-DconnectionUrl=scm:cvs:ext:usern...@cvs-server.mycompany.com:/cvsroot:projectname
 }}
yields this error:
{noformat}
[ERROR] BUILD FAILURE
[INFO] 
[INFO] The scm url is invalid.
  - The connection string contains too few tokens.
[INFO] 
{noformat}

{{-e}} doesn't reveal a long enough stack trace to show anything.  It would be 
helpful if this error could say what url it's parsing
the scm section of the pom is this:
{code:xml}


scm:cvs:ext:cvs-server.mycompany.com:/cvsroot

scm:cvs:ext:cvs-server.mycompany.com:/cvsroot

scm:cvs:ext:cvs-server.mycompany.com:/cvsroot:projectname

{code}
We don't intend to put the user name in the pom (shared resource) which is part 
of why I'm trying to override it.

and the servers section of {{settings.xml}} is like so:
{code:xml}

  cvs-server.mycompany.com
  664
  775
  username
  /home/username/.ssh/id_rsa_of_this_setup

{code}

but in any case I'm not sure it's even reading the scm section of the pom 
correctly.  After downloading the plugin sources, one of the few unresolved 
items was the {{Xpp3Reader}} which might have told me the answer.  This is not 
up to my experience of a high bar set by working with this plugin in a 
subversion environment, but maybe it's an unfair comparison.

Any attention greatly appreciated

--Ben Clark


> scm url not being parsed correctly for release:perform only
> ---
>
> Key: SCM-452
> URL: https://jira.codehaus.org/browse/SCM-452
> Project: Maven SCM
>  Issue Type: Bug
>  Components: maven-scm-provider-cvs
>Affects Versions: 2.0
> Environment: reproduced on Windows Vista ultimate 32bit, w/ Sun jdk 
> 1.5.0_17, ubuntu 2.6.27-11-generic, with openjdk 1.6 (result of apt-get 
> install maven2).  Also happens in a windows eclipse workspace w/ m2eclipse, 
> project checked out as maven project with from a repository location defined 
> with ext protocol (not extssh)
>Reporter: Ben Clark
>
> {{mvn release:perform 
> -DconnectionUrl=scm:cvs:ext:usern...@cvs-server.mycompany.com:/cvsroot:projectname}}
> works, except it won't really do what we need without a lot of manual 
> intervention, because this command:
> {{mvn release:prepare 
> -DconnectionUrl=scm:cvs:ext:usern...@cvs-server.mycompany.com:/cvsroot:projectname}}
> yields this error:
> {noformat}
> [ERROR] BUILD FAILURE
> [INFO] 
> --

[jira] (SCM-452) scm url not being parsed correctly for release:perform only

2012-05-02 Thread Robert Scholte (JIRA)

 [ 
https://jira.codehaus.org/browse/SCM-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte updated SCM-452:
---

Description: 
{{mvn release:perform 
-DconnectionUrl=scm:cvs:ext:usern...@cvs-server.mycompany.com:/cvsroot:projectname}}
works, except it won't really do what we need without a lot of manual 
intervention, because this command:
{{mvn release:prepare 
-DconnectionUrl=scm:cvs:ext:usern...@cvs-server.mycompany.com:/cvsroot:projectname
 }}
yields this error:
{noformat}
[ERROR] BUILD FAILURE
[INFO] 
[INFO] The scm url is invalid.
  - The connection string contains too few tokens.
[INFO] 
{noformat}

{{-e}} doesn't reveal a long enough stack trace to show anything.  It would be 
helpful if this error could say what url it's parsing
the scm section of the pom is this:
{code:xml}


scm:cvs:ext:cvs-server.mycompany.com:/cvsroot

scm:cvs:ext:cvs-server.mycompany.com:/cvsroot

scm:cvs:ext:cvs-server.mycompany.com:/cvsroot:projectname

{code}
We don't intend to put the user name in the pom (shared resource) which is part 
of why I'm trying to override it.

and the servers section of {{settings.xml}} is like so:
{code:xml}

  cvs-server.mycompany.com
  664
  775
  username
  /home/username/.ssh/id_rsa_of_this_setup

{code}

but in any case I'm not sure it's even reading the scm section of the pom 
correctly.  After downloading the plugin sources, one of the few unresolved 
items was the {{Xpp3Reader}} which might have told me the answer.  This is not 
up to my experience of a high bar set by working with this plugin in a 
subversion environment, but maybe it's an unfair comparison.

Any attention greatly appreciated

--Ben Clark

  was:
mvn release:perform 
-DconnectionUrl=scm:cvs:ext:usern...@cvs-server.mycompany.com:/cvsroot:projectname
works, except it won't really do what we need without a lot of manual 
intervention, because this command:
mvn release:prepare 
-DconnectionUrl=scm:cvs:ext:usern...@cvs-server.mycompany.com:/cvsroot:projectname
 
yields this error:
[ERROR] BUILD FAILURE
[INFO] 
[INFO] The scm url is invalid.
  - The connection string contains too few tokens.
[INFO] 

-e doesn't reveal a long enough stack trace to show anything.  It would be 
helpful if this error could say what url it's parsing
the scm section of the pom is this:


scm:cvs:ext:cvs-server.mycompany.com:/cvsroot

scm:cvs:ext:cvs-server.mycompany.com:/cvsroot

scm:cvs:ext:cvs-server.mycompany.com:/cvsroot:projectname


We don't intend to put the user name in the pom (shared resource) which is part 
of why I'm trying to override it.

and the servers section of settings.xml is like so:

  cvs-server.mycompany.com
  664
  775
  username
  /home/username/.ssh/id_rsa_of_this_setup



but in any case I'm not sure it's even reading the scm section of the pom 
correctly.  After downloading the plugin sources, one of the few unresolved 
items was the Xpp3Reader which might have told me the answer.  This is not up 
to my experience of a high bar set by working with this plugin in a subversion 
environment, but maybe it's an unfair comparison.

Any attention greatly appreciated

--Ben Clark


> scm url not being parsed correctly for release:perform only
> ---
>
> Key: SCM-452
> URL: https://jira.codehaus.org/browse/SCM-452
> Project: Maven SCM
>  Issue Type: Bug
>  Components: maven-scm-provider-cvs
>Affects Versions: 2.0
> Environment: reproduced on Windows Vista ultimate 32bit, w/ Sun jdk 
> 1.5.0_17, ubuntu 2.6.27-11-generic, with openjdk 1.6 (result of apt-get 
> install maven2).  Also happens in a windows eclipse workspace w/ m2eclipse, 
> project checked out as maven project with from a repository location defined 
> with ext protocol (not extssh)
>Reporter: Ben Clark
>
> {{mvn release:perform 
> -DconnectionUrl=scm:cvs:ext:usern...@cvs-server.mycompany.com:/cvsroot:projectname}}
> works, except it won't really do what we need without a lot of manual 
> intervention, because this command:
> {{mvn release:prepare 
> -DconnectionUrl=scm:cvs:ext:usern...@cvs-server.mycompany.com:/cvsroot:projectname
>  }}
> yields this error:
> {noformat}
> [ERROR] BUILD FAILURE
> [INFO] 
> 
> [INFO] The scm url is invalid.
>   - The connection string co