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