You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Omair-Inam Abdul-Matin <oi...@cs.uwaterloo.ca> on 2004/05/25 18:09:55 UTC

subversion repo connection string: (again I know)

There was a thread regarding Subversion and a proper connection string 
for it some time ago.  I'm still not sure about the form of the final 
connection string that pleases Maven.

When I try to build my project I get the following error

BUILD FAILED
File...... C:\Documents and 
Settings\oiinamul\.maven\plugins\maven-xdoc-plugin-1
.7.1\plugin.jelly
Element... velocity:merge
Line...... 491
Column.... 13
Invocation of method 'getScmType' in  class 
org.apache.maven.project.Repository
threw exception class java.lang.IllegalArgumentException : repository 
connection
  string contains less than six tokens
Total time: 1 minutes 45 seconds
Finished at: Tue May 25 12:06:25 EDT 2004

Alas... maven still insists on 6 tokens it seems. So if I have the 
following, how do I turn it into 6 acceptable tokens:

scm:svn:http://my-server-name/svn/my-project-name/trunk

I've tried
scm:svn:http://my-server-name:svn:project-name/trunk

didn't work...

Omair


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: subversion repo connection string: (again I know)

Posted by Emmanuel Venisse <em...@venisse.net>.
OK, it's a bug in the Repository class that check only the cvs format.

Can you add an issue in Jira?
Thanks

Emmanuel

----- Original Message ----- 
From: "Omair-Inam Abdul-Matin" <oi...@cs.uwaterloo.ca>
To: <us...@maven.apache.org>
Sent: Tuesday, May 25, 2004 6:18 PM
Subject: Re: subversion repo connection string: (again I know)


> The relevant snippet from my project.properties file is given below:
> 
> # -------------------------------------------------------------------
> #
> # C H A N G E L O G     P R O P E R T I E S
> #
> # -------------------------------------------------------------------
> maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory
> 
> Omair
> 
> Emmanuel Venisse wrote:
> 
> > Do you have setup the maven.changelog.factory property?
> > 
> > ----- Original Message ----- 
> > From: "Omair-Inam Abdul-Matin" <oi...@cs.uwaterloo.ca>
> > To: <us...@maven.apache.org>
> > Sent: Tuesday, May 25, 2004 6:09 PM
> > Subject: subversion repo connection string: (again I know)
> > 
> > 
> > 
> >>There was a thread regarding Subversion and a proper connection string 
> >>for it some time ago.  I'm still not sure about the form of the final 
> >>connection string that pleases Maven.
> >>
> >>When I try to build my project I get the following error
> >>
> >>BUILD FAILED
> >>File...... C:\Documents and 
> >>Settings\oiinamul\.maven\plugins\maven-xdoc-plugin-1
> >>.7.1\plugin.jelly
> >>Element... velocity:merge
> >>Line...... 491
> >>Column.... 13
> >>Invocation of method 'getScmType' in  class 
> >>org.apache.maven.project.Repository
> >>threw exception class java.lang.IllegalArgumentException : repository 
> >>connection
> >>  string contains less than six tokens
> >>Total time: 1 minutes 45 seconds
> >>Finished at: Tue May 25 12:06:25 EDT 2004
> >>
> >>Alas... maven still insists on 6 tokens it seems. So if I have the 
> >>following, how do I turn it into 6 acceptable tokens:
> >>
> >>scm:svn:http://my-server-name/svn/my-project-name/trunk
> >>
> >>I've tried
> >>scm:svn:http://my-server-name:svn:project-name/trunk
> >>
> >>didn't work...
> >>
> >>Omair
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> >>For additional commands, e-mail: users-help@maven.apache.org
> >>
> >>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: subversion repo connection string: (again I know)

Posted by Omair-Inam Abdul-Matin <oi...@cs.uwaterloo.ca>.
The relevant snippet from my project.properties file is given below:

# -------------------------------------------------------------------
#
# C H A N G E L O G     P R O P E R T I E S
#
# -------------------------------------------------------------------
maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory

Omair

Emmanuel Venisse wrote:

> Do you have setup the maven.changelog.factory property?
> 
> ----- Original Message ----- 
> From: "Omair-Inam Abdul-Matin" <oi...@cs.uwaterloo.ca>
> To: <us...@maven.apache.org>
> Sent: Tuesday, May 25, 2004 6:09 PM
> Subject: subversion repo connection string: (again I know)
> 
> 
> 
>>There was a thread regarding Subversion and a proper connection string 
>>for it some time ago.  I'm still not sure about the form of the final 
>>connection string that pleases Maven.
>>
>>When I try to build my project I get the following error
>>
>>BUILD FAILED
>>File...... C:\Documents and 
>>Settings\oiinamul\.maven\plugins\maven-xdoc-plugin-1
>>.7.1\plugin.jelly
>>Element... velocity:merge
>>Line...... 491
>>Column.... 13
>>Invocation of method 'getScmType' in  class 
>>org.apache.maven.project.Repository
>>threw exception class java.lang.IllegalArgumentException : repository 
>>connection
>>  string contains less than six tokens
>>Total time: 1 minutes 45 seconds
>>Finished at: Tue May 25 12:06:25 EDT 2004
>>
>>Alas... maven still insists on 6 tokens it seems. So if I have the 
>>following, how do I turn it into 6 acceptable tokens:
>>
>>scm:svn:http://my-server-name/svn/my-project-name/trunk
>>
>>I've tried
>>scm:svn:http://my-server-name:svn:project-name/trunk
>>
>>didn't work...
>>
>>Omair
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: subversion repo connection string: (again I know)

Posted by Emmanuel Venisse <em...@venisse.net>.
Do you have setup the maven.changelog.factory property?

----- Original Message ----- 
From: "Omair-Inam Abdul-Matin" <oi...@cs.uwaterloo.ca>
To: <us...@maven.apache.org>
Sent: Tuesday, May 25, 2004 6:09 PM
Subject: subversion repo connection string: (again I know)


> There was a thread regarding Subversion and a proper connection string 
> for it some time ago.  I'm still not sure about the form of the final 
> connection string that pleases Maven.
> 
> When I try to build my project I get the following error
> 
> BUILD FAILED
> File...... C:\Documents and 
> Settings\oiinamul\.maven\plugins\maven-xdoc-plugin-1
> .7.1\plugin.jelly
> Element... velocity:merge
> Line...... 491
> Column.... 13
> Invocation of method 'getScmType' in  class 
> org.apache.maven.project.Repository
> threw exception class java.lang.IllegalArgumentException : repository 
> connection
>   string contains less than six tokens
> Total time: 1 minutes 45 seconds
> Finished at: Tue May 25 12:06:25 EDT 2004
> 
> Alas... maven still insists on 6 tokens it seems. So if I have the 
> following, how do I turn it into 6 acceptable tokens:
> 
> scm:svn:http://my-server-name/svn/my-project-name/trunk
> 
> I've tried
> scm:svn:http://my-server-name:svn:project-name/trunk
> 
> didn't work...
> 
> Omair
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org