The following comment has been added to this issue:
Author: Jerome Lacoste
Created: Mon, 31 May 2004 10:43 AM
Body:
Dion made a comment on the dev list at the same time I created this issue. May be
fixed. I will try to build from CVS and report it.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/MAVEN-1302?page=comments#action_20222
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/MAVEN-1302
Here is an overview of the issue:
---------------------------------------------------------------------
Key: MAVEN-1302
Summary: SVN repository parsing broken between 1.0rc2 and 1.0rc3
Type: Bug
Status: Unassigned
Priority: Blocker
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: maven
Versions:
1.0-rc3
Assignee:
Reporter: Jerome Lacoste
Created: Mon, 31 May 2004 10:40 AM
Updated: Mon, 31 May 2004 10:43 AM
Description:
This used to work in 1.0rc2 but doesn't in 1.0rc3.
scm:svn:file://home/jerome/svn-repository/cb.org/jset/trunk/${module.path}
[...]
Caused by: java.lang.IllegalArgumentException: repository connection
string contains less than six tokens
at
org.apache.maven.project.Repository.splitSCMConnection(Repository.java:240)
at
org.apache.maven.project.Repository.getScmType(Repository.java:115)
[...]
Problem probably comes from:
http://cvs.apache.org/viewcvs.cgi/maven/src/java/org/apache/maven/project/Repository.java#rev1.20
The change:
public String getScmType() {
if ( isValid( getConnection() ) )
{
- return getConnection().substring( 4, connection.indexOf( ":", 4 ) );
+ return splitSCMConnection(getConnection())[1];
}
return null;
makes us use splitSCM... which refuses to accept a what-used-to-be valid repository
definition for SVN (but apparently not for CVS).
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]