Profile properties do not appear to be substituted in the scm connection string
-------------------------------------------------------------------------------

         Key: MNG-1474
         URL: http://jira.codehaus.org/browse/MNG-1474
     Project: Maven 2
        Type: Bug
    Versions: 2.0    
    Reporter: Tony Steele


I am trying to use cvs as the scm with the cvs user name etc specified in the 
local settings.xml. However the profile properties do not appear to be 
substituted in the scm connection string. 

Anybody got any ideas?

I have the following:

Pom:
<scm>
  <connection>
 
scm:cvs:pserver:[EMAIL PROTECTED]:/data/cvsroot:applications/DIS
Repository/components/DISRepositoryManager
  </connection>
</scm>

Settings:

<profiles>
  <profile>
    <id>default</id>
      <properties>
        <cvs.user>xxxxxx</cvs.user>
        <cvs.server>amlnx04.tv.bbc.co.uk</cvs.server>
      </properties>
  </profile>
</profiles>
<activeProfiles>
  <activeProfile>default</activeProfile>
</activeProfiles>

Error:

[INFO] Generate "changelog" report.
[INFO] Generating changed sets xml to: 
D:\Project\DISRepositoryManager\target\changelog.xml
[ERROR] Didn't find password for CVSROOT ':pserver:[EMAIL 
PROTECTED]:/data/cvsroot'.
[ERROR] Error processing command
org.netbeans.lib.cvsclient.connection.AuthenticationException: I/O error while 
connecting to host ${cvs.server}.
        at 
org.netbeans.lib.cvsclient.connection.PServerConnection.openConnection(P
ServerConnection.java:237)
        at 
org.netbeans.lib.cvsclient.connection.PServerConnection.open(PServerConn
ection.java:298)

Tony


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to