[ http://jira.codehaus.org/browse/CONTINUUM-730?page=comments#action_67528 
] 

Emmanuel Venisse commented on CONTINUUM-730:
--------------------------------------------

the project (and profiles) are read on each build, but in your case, when you 
added the project the first time, properties weren't read, so continuum store 
data with non interpolated scm connection string.
The scm connection string is used for run an update command and before to 
reread the pom, so in your case, database contains always the non interpolated 
value, it's why you need to add the project in continuum after the written of 
profiles in settings.xml

> Properties not resolved in SCM
> ------------------------------
>
>          Key: CONTINUUM-730
>          URL: http://jira.codehaus.org/browse/CONTINUUM-730
>      Project: Continuum
>         Type: Bug

>  Environment: Redhat 4, Continuum 1.03, JDK 1.5.06
>     Reporter: Martin Gilday

>
>
> Properties do not seem to be interpreted when I place them inside a SCM 
> connection.
> My $MAVEN_HOME/conf/settings.xml contains
> {noformat}
> <activeProfiles>
> <activeProfile>property-overrides</activeProfile>
> </activeProfiles>
> {noformat}
> Then in my user settings file (/home/continuum/.m2/settings.xml) contains:
> {noformat}
> <profile>
> <id>property-overrides</id>
> <properties>
> <cvs-user>name</cvs-user>
> <cvs-pass>password</cvs-pass>
> </properties>
> </profile>
> {noformat}
> Finally my pom contains
> {noformat}
> <scm>         
> <developerConnection>scm:cvs:pserver:${cvs-user}:[EMAIL 
> PROTECTED]:/usr/share/cvs/cvsroot:UTL-GeneralUtilities</developerConnection>
> <connection>scm:cvs:pserver:${cvs-user}:[EMAIL 
> PROTECTED]:/usr/share/cvs/cvsroot:UTL-GeneralUtilities</connection>
> </scm>
> {noformat}
> When I run the build from Continuum I recieve the error 
> {noformat}
> Provider message: The cvs command failed.
> Command output: 
> -------------------------------------------------------------------------------
> Fatal error, aborting.
> ${cvs-user}: no such user
> -------------------------------------------------------------------------------
> {noformat}

-- 
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

Reply via email to