You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Jochen Wiedmann (JIRA)" <ji...@codehaus.org> on 2005/12/08 14:08:46 UTC
[jira] Created: (MNG-1783) maven-release-plugin doesn't pass
username to maven-scm-provider-cvs
maven-release-plugin doesn't pass username to maven-scm-provider-cvs
--------------------------------------------------------------------
Key: MNG-1783
URL: http://jira.codehaus.org/browse/MNG-1783
Project: Maven 2
Type: Bug
Versions: 2.0
Reporter: Jochen Wiedmann
The class CvsScmProvider refuses a CVS url without username. See, for example, line 253ff:
int index = userhost.indexOf( "@" );
if ( index == -1 )
{
result.messages.add( "The userhost part must be on the form: <username>@<hostname>." );
return result;
}
On the other hand, the maven-release-plugin doesn't pass the full URL to the provider. In AbstractReleaseMojo, an instance of ScmHelper is used, see line 120:
repository = getScmManager().makeScmRepository( scmHelper.getUrl() );
But the ScmHelper's URL is a reformatted URL, with user, password, and so on removed. The effect is that any attempt to run
mvn release:prepare
with an URL like scm:cvs:pserver:joe@host:/cvs:module is refused with an error message "The scm url is invalid."
I can't tell which side is wrong and am thus unable to provide a patch.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MRELEASE-72) maven-release-plugin doesn't pass
username to maven-scm-provider-cvs
Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-72?page=all ]
Emmanuel Venisse closed MRELEASE-72:
------------------------------------
Assign To: Emmanuel Venisse
Resolution: Fixed
Fixed in Maven-SCM
> maven-release-plugin doesn't pass username to maven-scm-provider-cvs
> --------------------------------------------------------------------
>
> Key: MRELEASE-72
> URL: http://jira.codehaus.org/browse/MRELEASE-72
> Project: Maven 2.x Release Plugin
> Type: Bug
> Reporter: Jochen Wiedmann
> Assignee: Emmanuel Venisse
> Priority: Critical
>
>
> The class CvsScmProvider refuses a CVS url without username. See, for example, line 253ff:
> int index = userhost.indexOf( "@" );
> if ( index == -1 )
> {
> result.messages.add( "The userhost part must be on the form: <username>@<hostname>." );
> return result;
> }
> On the other hand, the maven-release-plugin doesn't pass the full URL to the provider. In AbstractReleaseMojo, an instance of ScmHelper is used, see line 120:
> repository = getScmManager().makeScmRepository( scmHelper.getUrl() );
> But the ScmHelper's URL is a reformatted URL, with user, password, and so on removed. The effect is that any attempt to run
> mvn release:prepare
> with an URL like scm:cvs:pserver:joe@host:/cvs:module is refused with an error message "The scm url is invalid."
> I can't tell which side is wrong and am thus unable to provide a patch.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MRELEASE-72) maven-release-plugin doesn't pass
username to maven-scm-provider-cvs
Posted by "Adrian (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MRELEASE-72?page=comments#action_55382 ]
Adrian commented on MRELEASE-72:
--------------------------------
I imagine this is quite an easy fix, and is important to lots of people using CVS in a commercial environment.
> maven-release-plugin doesn't pass username to maven-scm-provider-cvs
> --------------------------------------------------------------------
>
> Key: MRELEASE-72
> URL: http://jira.codehaus.org/browse/MRELEASE-72
> Project: Maven 2.x Release Plugin
> Type: Bug
> Reporter: Jochen Wiedmann
> Priority: Critical
>
>
> The class CvsScmProvider refuses a CVS url without username. See, for example, line 253ff:
> int index = userhost.indexOf( "@" );
> if ( index == -1 )
> {
> result.messages.add( "The userhost part must be on the form: <username>@<hostname>." );
> return result;
> }
> On the other hand, the maven-release-plugin doesn't pass the full URL to the provider. In AbstractReleaseMojo, an instance of ScmHelper is used, see line 120:
> repository = getScmManager().makeScmRepository( scmHelper.getUrl() );
> But the ScmHelper's URL is a reformatted URL, with user, password, and so on removed. The effect is that any attempt to run
> mvn release:prepare
> with an URL like scm:cvs:pserver:joe@host:/cvs:module is refused with an error message "The scm url is invalid."
> I can't tell which side is wrong and am thus unable to provide a patch.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1783) maven-release-plugin doesn't pass
username to maven-scm-provider-cvs
Posted by "Jochen Wiedmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1783?page=comments#action_54014 ]
Jochen Wiedmann commented on MNG-1783:
--------------------------------------
Would anyone please be so kind to comment at least, whether my observations are correct and, if so, which side (maven-release-plugin or CVS provider) has to be fixed? If so, I could continue and provide a patch.
> maven-release-plugin doesn't pass username to maven-scm-provider-cvs
> --------------------------------------------------------------------
>
> Key: MNG-1783
> URL: http://jira.codehaus.org/browse/MNG-1783
> Project: Maven 2
> Type: Bug
> Versions: 2.0
> Reporter: Jochen Wiedmann
>
>
> The class CvsScmProvider refuses a CVS url without username. See, for example, line 253ff:
> int index = userhost.indexOf( "@" );
> if ( index == -1 )
> {
> result.messages.add( "The userhost part must be on the form: <username>@<hostname>." );
> return result;
> }
> On the other hand, the maven-release-plugin doesn't pass the full URL to the provider. In AbstractReleaseMojo, an instance of ScmHelper is used, see line 120:
> repository = getScmManager().makeScmRepository( scmHelper.getUrl() );
> But the ScmHelper's URL is a reformatted URL, with user, password, and so on removed. The effect is that any attempt to run
> mvn release:prepare
> with an URL like scm:cvs:pserver:joe@host:/cvs:module is refused with an error message "The scm url is invalid."
> I can't tell which side is wrong and am thus unable to provide a patch.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1783) maven-release-plugin doesn't pass
username to maven-scm-provider-cvs
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1783?page=comments#action_55099 ]
Dan Tran commented on MNG-1783:
-------------------------------
A reason thread at maven list show that
scm:cvs:pserver:joe:@host:/cvs:module ( note there is a : after joe )
works
would it be your temporary solution? or you want the the scm url without username ?
> maven-release-plugin doesn't pass username to maven-scm-provider-cvs
> --------------------------------------------------------------------
>
> Key: MNG-1783
> URL: http://jira.codehaus.org/browse/MNG-1783
> Project: Maven 2
> Type: Bug
> Versions: 2.0
> Reporter: Jochen Wiedmann
> Priority: Critical
> Fix For: 2.0.3
>
>
> The class CvsScmProvider refuses a CVS url without username. See, for example, line 253ff:
> int index = userhost.indexOf( "@" );
> if ( index == -1 )
> {
> result.messages.add( "The userhost part must be on the form: <username>@<hostname>." );
> return result;
> }
> On the other hand, the maven-release-plugin doesn't pass the full URL to the provider. In AbstractReleaseMojo, an instance of ScmHelper is used, see line 120:
> repository = getScmManager().makeScmRepository( scmHelper.getUrl() );
> But the ScmHelper's URL is a reformatted URL, with user, password, and so on removed. The effect is that any attempt to run
> mvn release:prepare
> with an URL like scm:cvs:pserver:joe@host:/cvs:module is refused with an error message "The scm url is invalid."
> I can't tell which side is wrong and am thus unable to provide a patch.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Updated: (MNG-1783) maven-release-plugin doesn't pass
username to maven-scm-provider-cvs
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1783?page=all ]
Brett Porter updated MNG-1783:
------------------------------
Priority: Critical (was: Major)
Fix Version: 2.0.3
this should be a relatively simply fix in Maven SCM.
> maven-release-plugin doesn't pass username to maven-scm-provider-cvs
> --------------------------------------------------------------------
>
> Key: MNG-1783
> URL: http://jira.codehaus.org/browse/MNG-1783
> Project: Maven 2
> Type: Bug
> Versions: 2.0
> Reporter: Jochen Wiedmann
> Priority: Critical
> Fix For: 2.0.3
>
>
> The class CvsScmProvider refuses a CVS url without username. See, for example, line 253ff:
> int index = userhost.indexOf( "@" );
> if ( index == -1 )
> {
> result.messages.add( "The userhost part must be on the form: <username>@<hostname>." );
> return result;
> }
> On the other hand, the maven-release-plugin doesn't pass the full URL to the provider. In AbstractReleaseMojo, an instance of ScmHelper is used, see line 120:
> repository = getScmManager().makeScmRepository( scmHelper.getUrl() );
> But the ScmHelper's URL is a reformatted URL, with user, password, and so on removed. The effect is that any attempt to run
> mvn release:prepare
> with an URL like scm:cvs:pserver:joe@host:/cvs:module is refused with an error message "The scm url is invalid."
> I can't tell which side is wrong and am thus unable to provide a patch.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1783) maven-release-plugin doesn't pass
username to maven-scm-provider-cvs
Posted by "Pascal Grange (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1783?page=comments#action_54015 ]
Pascal Grange commented on MNG-1783:
------------------------------------
I can't answer but I just want you to know that you are not alone :)
We are considering, in my company, switching to maven 2 but this bug is a blocker for us !
> maven-release-plugin doesn't pass username to maven-scm-provider-cvs
> --------------------------------------------------------------------
>
> Key: MNG-1783
> URL: http://jira.codehaus.org/browse/MNG-1783
> Project: Maven 2
> Type: Bug
> Versions: 2.0
> Reporter: Jochen Wiedmann
>
>
> The class CvsScmProvider refuses a CVS url without username. See, for example, line 253ff:
> int index = userhost.indexOf( "@" );
> if ( index == -1 )
> {
> result.messages.add( "The userhost part must be on the form: <username>@<hostname>." );
> return result;
> }
> On the other hand, the maven-release-plugin doesn't pass the full URL to the provider. In AbstractReleaseMojo, an instance of ScmHelper is used, see line 120:
> repository = getScmManager().makeScmRepository( scmHelper.getUrl() );
> But the ScmHelper's URL is a reformatted URL, with user, password, and so on removed. The effect is that any attempt to run
> mvn release:prepare
> with an URL like scm:cvs:pserver:joe@host:/cvs:module is refused with an error message "The scm url is invalid."
> I can't tell which side is wrong and am thus unable to provide a patch.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1783) maven-release-plugin doesn't pass
username to maven-scm-provider-cvs
Posted by "Pascal Grange (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1783?page=comments#action_54127 ]
Pascal Grange commented on MNG-1783:
------------------------------------
If it is a simple fix, when do you think a new release fixing this bug will be available ? I have to answer my boss.
Merry Christmas.
> maven-release-plugin doesn't pass username to maven-scm-provider-cvs
> --------------------------------------------------------------------
>
> Key: MNG-1783
> URL: http://jira.codehaus.org/browse/MNG-1783
> Project: Maven 2
> Type: Bug
> Versions: 2.0
> Reporter: Jochen Wiedmann
> Priority: Critical
> Fix For: 2.0.3
>
>
> The class CvsScmProvider refuses a CVS url without username. See, for example, line 253ff:
> int index = userhost.indexOf( "@" );
> if ( index == -1 )
> {
> result.messages.add( "The userhost part must be on the form: <username>@<hostname>." );
> return result;
> }
> On the other hand, the maven-release-plugin doesn't pass the full URL to the provider. In AbstractReleaseMojo, an instance of ScmHelper is used, see line 120:
> repository = getScmManager().makeScmRepository( scmHelper.getUrl() );
> But the ScmHelper's URL is a reformatted URL, with user, password, and so on removed. The effect is that any attempt to run
> mvn release:prepare
> with an URL like scm:cvs:pserver:joe@host:/cvs:module is refused with an error message "The scm url is invalid."
> I can't tell which side is wrong and am thus unable to provide a patch.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1783) maven-release-plugin doesn't pass
username to maven-scm-provider-cvs
Posted by "Pascal Grange (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1783?page=comments#action_55062 ]
Pascal Grange commented on MNG-1783:
------------------------------------
This is bug is a blocker for anyone using cvs as we are in my company.
One month after its submission by Jochen Wiedmann, how far are we from a fix ? Is it fixed by the way ?
> maven-release-plugin doesn't pass username to maven-scm-provider-cvs
> --------------------------------------------------------------------
>
> Key: MNG-1783
> URL: http://jira.codehaus.org/browse/MNG-1783
> Project: Maven 2
> Type: Bug
> Versions: 2.0
> Reporter: Jochen Wiedmann
> Priority: Critical
> Fix For: 2.0.3
>
>
> The class CvsScmProvider refuses a CVS url without username. See, for example, line 253ff:
> int index = userhost.indexOf( "@" );
> if ( index == -1 )
> {
> result.messages.add( "The userhost part must be on the form: <username>@<hostname>." );
> return result;
> }
> On the other hand, the maven-release-plugin doesn't pass the full URL to the provider. In AbstractReleaseMojo, an instance of ScmHelper is used, see line 120:
> repository = getScmManager().makeScmRepository( scmHelper.getUrl() );
> But the ScmHelper's URL is a reformatted URL, with user, password, and so on removed. The effect is that any attempt to run
> mvn release:prepare
> with an URL like scm:cvs:pserver:joe@host:/cvs:module is refused with an error message "The scm url is invalid."
> I can't tell which side is wrong and am thus unable to provide a patch.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1783) maven-release-plugin doesn't pass
username to maven-scm-provider-cvs
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1783?page=comments#action_54137 ]
Dan Tran commented on MNG-1783:
-------------------------------
mvn scm:validate -DconnectionUrl=scm:cvs:pserver:joe@host:/cvs:module -X
shows the url is valid. So the problem is in release plugin?
> maven-release-plugin doesn't pass username to maven-scm-provider-cvs
> --------------------------------------------------------------------
>
> Key: MNG-1783
> URL: http://jira.codehaus.org/browse/MNG-1783
> Project: Maven 2
> Type: Bug
> Versions: 2.0
> Reporter: Jochen Wiedmann
> Priority: Critical
> Fix For: 2.0.3
>
>
> The class CvsScmProvider refuses a CVS url without username. See, for example, line 253ff:
> int index = userhost.indexOf( "@" );
> if ( index == -1 )
> {
> result.messages.add( "The userhost part must be on the form: <username>@<hostname>." );
> return result;
> }
> On the other hand, the maven-release-plugin doesn't pass the full URL to the provider. In AbstractReleaseMojo, an instance of ScmHelper is used, see line 120:
> repository = getScmManager().makeScmRepository( scmHelper.getUrl() );
> But the ScmHelper's URL is a reformatted URL, with user, password, and so on removed. The effect is that any attempt to run
> mvn release:prepare
> with an URL like scm:cvs:pserver:joe@host:/cvs:module is refused with an error message "The scm url is invalid."
> I can't tell which side is wrong and am thus unable to provide a patch.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MNG-1783) maven-release-plugin doesn't pass
username to maven-scm-provider-cvs
Posted by "Dan Tran (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-1783?page=comments#action_55377 ]
Dan Tran commented on MNG-1783:
-------------------------------
should we move this to MRELEASE?
> maven-release-plugin doesn't pass username to maven-scm-provider-cvs
> --------------------------------------------------------------------
>
> Key: MNG-1783
> URL: http://jira.codehaus.org/browse/MNG-1783
> Project: Maven 2
> Type: Bug
> Versions: 2.0
> Reporter: Jochen Wiedmann
> Priority: Critical
> Fix For: 2.0.3
>
>
> The class CvsScmProvider refuses a CVS url without username. See, for example, line 253ff:
> int index = userhost.indexOf( "@" );
> if ( index == -1 )
> {
> result.messages.add( "The userhost part must be on the form: <username>@<hostname>." );
> return result;
> }
> On the other hand, the maven-release-plugin doesn't pass the full URL to the provider. In AbstractReleaseMojo, an instance of ScmHelper is used, see line 120:
> repository = getScmManager().makeScmRepository( scmHelper.getUrl() );
> But the ScmHelper's URL is a reformatted URL, with user, password, and so on removed. The effect is that any attempt to run
> mvn release:prepare
> with an URL like scm:cvs:pserver:joe@host:/cvs:module is refused with an error message "The scm url is invalid."
> I can't tell which side is wrong and am thus unable to provide a patch.
--
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
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org