[ http://jira.codehaus.org/browse/SCM-272?page=comments#action_84916 ] Dan Tran commented on SCM-272: ------------------------------
To solve this issue, I have to add <connectionType>connection</connectionType> to my configuration. This way checkin mojo will use my configure <connectionUrl> However, from checkin mojo annotation, connectionType is default to "connection" if not configure. So I dont need to explicitely configure it. Strange! > connectionUrl is ignored when trying to execute scm:checkin within a phase. > It always use the main connection in the pom > ------------------------------------------------------------------------------------------------------------------------- > > Key: SCM-272 > URL: http://jira.codehaus.org/browse/SCM-272 > Project: Maven SCM > Issue Type: Bug > Components: maven-plugin > Environment: xp, linux starteam > Reporter: Dan Tran > > I am trying to do this > <build> > <plugins> > <plugin> > <artifactId>maven.scm.plugin</artifactId> > <executions> > <exectuion> > <goals> > <goal>checkin</goal> > </goals > <configuration> > <connectionUrl>xuy</connectionUrl> > .... > </configuration> > </execution> > ....... -- 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
