You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jan Najvarek <ja...@drei.com> on 2004/06/23 08:44:28 UTC

How to use Maven with StarTeam

Hi,

I would like to start using Maven together with StartTeam, where can I find description what I need for that? The only refence I have found is that I should set repository connection to 
scm:starteam:username:password@host:port/project/view/folder

Is that all? Don't I need any special plugins, libraries? Will plugins like Developer Activity, Changes and etc. work with StarTeam?

Thanks

Jan Najvarek 

Re: How to use Maven with StarTeam

Posted by Emmanuel Venisse <em...@venisse.net>.
OK, it's a known bug in old Maven version.
You can upgrade to Maven RC4.

Emmanuel

----- Original Message ----- 
From: "Jan Najvarek, ARTIN" <co...@artin.cz>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Monday, June 28, 2004 1:13 PM
Subject: Re: How to use Maven with StarTeam


Re: How to use Maven with StarTeamHi,

I have problems with setting the StarTeam setting. I am using following
connection string as described in reference:

<connection>scm:starteam:login:password@server:port/project/view/folder</con
nection>

I got following error:
...
Caused by: java.lang.IllegalArgumentException: repository connection string
contains less than six tokens
        at
org.apache.maven.project.Repository.splitSCMConnection(Repository.java:240)

If I add 6th token, then it does not complain, but then the plugin
(developer activity) using the scm can not run StarTeam correctly:

Unable to find Starteam executable. Changelog will be
empty(java.io.IOException:
 CreateProcess: stcmd hist -x -nologo -is -p
login:password@server:prot/projetc/view/folder:my_6th_token error=2)

It attach the sixth token to path to the project folder, which generates the
error.

Is it bug or what am I doing wrong?

Jan Najvarek
  ----- Original Message ----- 
  From: Emmanuel Venisse
  To: Maven Users List ; Najvarek,Jan
  Sent: Thursday, June 24, 2004 12:04 AM
  Subject: Re: How to use Maven with StarTeam


  For use maven with starteam, you must define your repositoy connection to
:
  scm:starteam:<connection string that you use with stcmd tool>
  =>Verify that stcmd is in your path.

  And you must define maven.changelog.factory property :

maven.changelog.factory=org.apache.maven.starteamlib.StarteamChangeLogFactor
  y

  Developer activity, File activity and changelog works fine with starteam.

  Emmanuel

  ----- Original Message ----- 
  From: "Jan Najvarek" <ja...@drei.com>
  To: <us...@maven.apache.org>
  Sent: Wednesday, June 23, 2004 8:44 AM
  Subject: How to use Maven with StarTeam



  Hi,

  I would like to start using Maven together with StartTeam, where can I
find
  description what I need for that? The only refence I have found is that I
  should set repository connection to
  scm:starteam:username:password@host:port/project/view/folder

  Is that all? Don't I need any special plugins, libraries? Will plugins
like
  Developer Activity, Changes and etc. work with StarTeam?

  Thanks

  Jan Najvarek


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


Re: How to use Maven with StarTeam

Posted by "Jan Najvarek, ARTIN" <co...@artin.cz>.
Re: How to use Maven with StarTeamHi,

I have problems with setting the StarTeam setting. I am using following connection string as described in reference:

<connection>scm:starteam:login:password@server:port/project/view/folder</connection>

I got following error:
...
Caused by: java.lang.IllegalArgumentException: repository connection string contains less than six tokens
        at org.apache.maven.project.Repository.splitSCMConnection(Repository.java:240)

If I add 6th token, then it does not complain, but then the plugin (developer activity) using the scm can not run StarTeam correctly:

Unable to find Starteam executable. Changelog will be empty(java.io.IOException:
 CreateProcess: stcmd hist -x -nologo -is -p login:password@server:prot/projetc/view/folder:my_6th_token error=2)

It attach the sixth token to path to the project folder, which generates the error.

Is it bug or what am I doing wrong?

Jan Najvarek
  ----- Original Message ----- 
  From: Emmanuel Venisse 
  To: Maven Users List ; Najvarek,Jan 
  Sent: Thursday, June 24, 2004 12:04 AM
  Subject: Re: How to use Maven with StarTeam


  For use maven with starteam, you must define your repositoy connection to : 
  scm:starteam:<connection string that you use with stcmd tool> 
  =>Verify that stcmd is in your path. 

  And you must define maven.changelog.factory property : 
  maven.changelog.factory=org.apache.maven.starteamlib.StarteamChangeLogFactor 
  y 

  Developer activity, File activity and changelog works fine with starteam. 

  Emmanuel 

  ----- Original Message ----- 
  From: "Jan Najvarek" <ja...@drei.com> 
  To: <us...@maven.apache.org> 
  Sent: Wednesday, June 23, 2004 8:44 AM 
  Subject: How to use Maven with StarTeam 



  Hi, 

  I would like to start using Maven together with StartTeam, where can I find 
  description what I need for that? The only refence I have found is that I 
  should set repository connection to 
  scm:starteam:username:password@host:port/project/view/folder 

  Is that all? Don't I need any special plugins, libraries? Will plugins like 
  Developer Activity, Changes and etc. work with StarTeam? 

  Thanks 

  Jan Najvarek 

Re: How to use Maven with StarTeam

Posted by Emmanuel Venisse <em...@venisse.net>.
For use maven with starteam, you must define your repositoy connection to :
scm:starteam:<connection string that you use with stcmd tool>
=>Verify that stcmd is in your path.

And you must define maven.changelog.factory property :
maven.changelog.factory=org.apache.maven.starteamlib.StarteamChangeLogFactor
y

Developer activity, File activity and changelog works fine with starteam.

Emmanuel

----- Original Message ----- 
From: "Jan Najvarek" <ja...@drei.com>
To: <us...@maven.apache.org>
Sent: Wednesday, June 23, 2004 8:44 AM
Subject: How to use Maven with StarTeam


Hi,

I would like to start using Maven together with StartTeam, where can I find
description what I need for that? The only refence I have found is that I
should set repository connection to
scm:starteam:username:password@host:port/project/view/folder

Is that all? Don't I need any special plugins, libraries? Will plugins like
Developer Activity, Changes and etc. work with StarTeam?

Thanks

Jan Najvarek


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