I have to profiles in my pom.xml. The first profile does a scm:update in a
workingDirectory using the connectionUrl. This works just fine.

Then later during the same build within Hudson, another profile is triggered
which is also using the maven scm plugin. Now I would like to commit
(checkin) a modified file.
I did configure the workingDirectory and the connectionUrl.
But now an exception is thrown about the fact that the
developerConnectionUrl is missing! Why?

Why can't I just use the connectionUrl to do the checkin/commit?
Now I did try using the developerConnectionUrl and providing a message. But
now the actual file is not committed, but it seems it is looking at a time
file instead of the location of my workingdirectory.
I use tortoisesvn and the workingdirectory does already have a svn checkout.
And doing a commit with tortoisesvn is working just fine.

This is a part of my configuration:
<!-- SUBVERSION COMMIT VERSION.TXT -->
    <profile>
      <id>commit_version_id</id>
      <activation>
        <property>
          <name>commit_version</name>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-scm-plugin</artifactId>
            <version>1.2</version>
            <configuration>
              <username>${SVN_USERNAME}</username>
              <password>${SVN_PASSWORD}</password>
             
<developerConnectionUrl>${SVN_CONNECTIONURL}</developerConnectionUrl>
            </configuration>
            <executions>
              <execution>
                <id>svn_commit</id>
                <phase>verify</phase>
                <goals>
                  <goal>checkin</goal>
                </goals>
                <configuration>
                  <message>Automatically generated build id</message>
                 
<workingDirectory>${SVN_WORKINGDIRECTORY__PV50}</workingDirectory>
                </configuration>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
                
-- 
View this message in context: 
http://www.nabble.com/Maven-scm%3Acheckin-requires-developerConnectionUrl---tp23436610p23436610.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to