OK, it's a known bug in old Maven version.
You can upgrade to Maven RC4.

Emmanuel

----- Original Message ----- 
From: "Jan Najvarek, ARTIN" <[EMAIL PROTECTED]>
To: "Maven Users List" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]: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:[EMAIL PROTECTED]: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" <[EMAIL PROTECTED]>
  To: <[EMAIL PROTECTED]>
  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:[EMAIL PROTECTED]: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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to