You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Routis Haralampos (JIRA)" <ji...@codehaus.org> on 2005/06/30 11:30:52 UTC
[jira] Created: (MPSCM-60) Support to non default port in cvs pserver
Support to non default port in cvs pserver
-------------------------------------------
Key: MPSCM-60
URL: http://jira.codehaus.org/browse/MPSCM-60
Project: maven-scm-plugin
Type: Improvement
Versions: 1.5
Reporter: Routis Haralampos
Priority: Blocker
The plugin does not support the use of a non default port for the cvs pserver.
I tried to use the following url:
scm:cvs:pserver:username@host:port:cvsroot:module
but because the ':' is considered as a delimeter by the plugin.jelly script (see bellow) the
maven.scm.cvs.root is calculated to 'pserver:username@host:port' and not to 'pserver:username@host:port:cvsroot'
<j:set var="maven.scm.cvs.root" value=":${tokens[2]}:${tokens[3]}:${tokens[4]}"/>
<j:set var="maven.scm.cvs.module" value="${tokens[5]}"/>
--
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: (MPSCM-60) Support to non default port in cvs
pserver
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPSCM-60?page=comments#action_55764 ]
Dennis Lundberg commented on MPSCM-60:
--------------------------------------
Running this as the reporter suggests
maven scm:parse-connection -DscmConnection=scm:cvs:pserver:username@host:port:cvsroot:module
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
build:start:
scm:find-connection:
[echo] Using connection: scm:cvs:pserver:username@host:port:cvsroot:module
scm:parse-connection:
[echo] Using SCM method: cvs
[echo] Using CVSROOT: :pserver:username@host:port
[echo] Using module: cvsroot
BUILD SUCCESSFUL
This shows that the module is not correct.
Using the solution in the previous comment like this
G:\test\1>maven scm:parse-connection -DscmConnection="scm|cvs|pserver|username@host:port|cvsroot|module"
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
build:start:
scm:find-connection:
[echo] Using connection: scm|cvs|pserver|username@host:port|cvsroot|module
scm:parse-connection:
[echo] Using SCM method: cvs
[echo] Using CVSROOT: :pserver:username@host:port:cvsroot
[echo] Using module: module
BUILD SUCCESSFUL
This shows that the module is correct.
Please close this issue.
> Support to non default port in cvs pserver
> -------------------------------------------
>
> Key: MPSCM-60
> URL: http://jira.codehaus.org/browse/MPSCM-60
> Project: maven-scm-plugin
> Type: Improvement
> Versions: 1.5
> Reporter: Routis Haralampos
> Priority: Blocker
>
>
> The plugin does not support the use of a non default port for the cvs pserver.
> I tried to use the following url:
> scm:cvs:pserver:username@host:port:cvsroot:module
> but because the ':' is considered as a delimeter by the plugin.jelly script (see bellow) the
> maven.scm.cvs.root is calculated to 'pserver:username@host:port' and not to 'pserver:username@host:port:cvsroot'
> <j:set var="maven.scm.cvs.root" value=":${tokens[2]}:${tokens[3]}:${tokens[4]}"/>
> <j:set var="maven.scm.cvs.module" value="${tokens[5]}"/>
--
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: (MPSCM-60) Support to non default port in cvs
pserver
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPSCM-60?page=comments#action_55771 ]
Dennis Lundberg commented on MPSCM-60:
--------------------------------------
It's documented at the maven-scm site for each of the available scm providers
http://maven.apache.org/scm/scm-url-format.html
It seems that SVN trunk for maven-scm-plugin does not have the file xdocs/scmurl.xml any more. But the file index.xml still references it. I'll post a patch shortly. navigation.xml has a link to the maven-scm site (the link above) instead. I'll change the index page accordingly.
> Support to non default port in cvs pserver
> -------------------------------------------
>
> Key: MPSCM-60
> URL: http://jira.codehaus.org/browse/MPSCM-60
> Project: maven-scm-plugin
> Type: Improvement
> Versions: 1.5
> Reporter: Routis Haralampos
> Priority: Blocker
>
>
> The plugin does not support the use of a non default port for the cvs pserver.
> I tried to use the following url:
> scm:cvs:pserver:username@host:port:cvsroot:module
> but because the ':' is considered as a delimeter by the plugin.jelly script (see bellow) the
> maven.scm.cvs.root is calculated to 'pserver:username@host:port' and not to 'pserver:username@host:port:cvsroot'
> <j:set var="maven.scm.cvs.root" value=":${tokens[2]}:${tokens[3]}:${tokens[4]}"/>
> <j:set var="maven.scm.cvs.module" value="${tokens[5]}"/>
--
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: (MPSCM-60) Support to non default port in cvs
pserver
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPSCM-60?page=all ]
Dennis Lundberg updated MPSCM-60:
---------------------------------
Attachment: MPSCM-60.patch
> Support to non default port in cvs pserver
> -------------------------------------------
>
> Key: MPSCM-60
> URL: http://jira.codehaus.org/browse/MPSCM-60
> Project: maven-scm-plugin
> Type: Improvement
> Versions: 1.5
> Reporter: Routis Haralampos
> Priority: Blocker
> Attachments: MPSCM-60.patch
>
>
> The plugin does not support the use of a non default port for the cvs pserver.
> I tried to use the following url:
> scm:cvs:pserver:username@host:port:cvsroot:module
> but because the ':' is considered as a delimeter by the plugin.jelly script (see bellow) the
> maven.scm.cvs.root is calculated to 'pserver:username@host:port' and not to 'pserver:username@host:port:cvsroot'
> <j:set var="maven.scm.cvs.root" value=":${tokens[2]}:${tokens[3]}:${tokens[4]}"/>
> <j:set var="maven.scm.cvs.module" value="${tokens[5]}"/>
--
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: (MPSCM-60) Support to non default port in cvs pserver
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPSCM-60?page=comments#action_47176 ]
Dennis Lundberg commented on MPSCM-60:
--------------------------------------
If you need to use the ':' character in a value in your scm-url, you can use '|' as a delimiter instead, like this:
scm|cvs|pserver|username@host:port|cvsroot|module
You can read more about this here:
http://maven.apache.org/reference/project-descriptor.html#class_Repository
> Support to non default port in cvs pserver
> -------------------------------------------
>
> Key: MPSCM-60
> URL: http://jira.codehaus.org/browse/MPSCM-60
> Project: maven-scm-plugin
> Type: Improvement
> Versions: 1.5
> Reporter: Routis Haralampos
> Priority: Blocker
>
>
> The plugin does not support the use of a non default port for the cvs pserver.
> I tried to use the following url:
> scm:cvs:pserver:username@host:port:cvsroot:module
> but because the ':' is considered as a delimeter by the plugin.jelly script (see bellow) the
> maven.scm.cvs.root is calculated to 'pserver:username@host:port' and not to 'pserver:username@host:port:cvsroot'
> <j:set var="maven.scm.cvs.root" value=":${tokens[2]}:${tokens[3]}:${tokens[4]}"/>
> <j:set var="maven.scm.cvs.module" value="${tokens[5]}"/>
--
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: (MPSCM-60) Support to non default port in cvs
pserver
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPSCM-60?page=comments#action_55768 ]
Lukas Theussl commented on MPSCM-60:
------------------------------------
Dennis, is this feature documented somewhere on the scm plugin site? If not, can you attach a patch?
> Support to non default port in cvs pserver
> -------------------------------------------
>
> Key: MPSCM-60
> URL: http://jira.codehaus.org/browse/MPSCM-60
> Project: maven-scm-plugin
> Type: Improvement
> Versions: 1.5
> Reporter: Routis Haralampos
> Priority: Blocker
>
>
> The plugin does not support the use of a non default port for the cvs pserver.
> I tried to use the following url:
> scm:cvs:pserver:username@host:port:cvsroot:module
> but because the ':' is considered as a delimeter by the plugin.jelly script (see bellow) the
> maven.scm.cvs.root is calculated to 'pserver:username@host:port' and not to 'pserver:username@host:port:cvsroot'
> <j:set var="maven.scm.cvs.root" value=":${tokens[2]}:${tokens[3]}:${tokens[4]}"/>
> <j:set var="maven.scm.cvs.module" value="${tokens[5]}"/>
--
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: (MPSCM-60) Support to non default port in cvs
pserver
Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPSCM-60?page=all ]
Lukas Theussl closed MPSCM-60:
------------------------------
Resolution: Won't Fix
I also added a faq. Thanks Dennis!
> Support to non default port in cvs pserver
> -------------------------------------------
>
> Key: MPSCM-60
> URL: http://jira.codehaus.org/browse/MPSCM-60
> Project: maven-scm-plugin
> Type: Improvement
> Versions: 1.5
> Reporter: Routis Haralampos
> Priority: Blocker
> Attachments: MPSCM-60.patch
>
>
> The plugin does not support the use of a non default port for the cvs pserver.
> I tried to use the following url:
> scm:cvs:pserver:username@host:port:cvsroot:module
> but because the ':' is considered as a delimeter by the plugin.jelly script (see bellow) the
> maven.scm.cvs.root is calculated to 'pserver:username@host:port' and not to 'pserver:username@host:port:cvsroot'
> <j:set var="maven.scm.cvs.root" value=":${tokens[2]}:${tokens[3]}:${tokens[4]}"/>
> <j:set var="maven.scm.cvs.module" value="${tokens[5]}"/>
--
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