Uploaded image for project: 'Maven SCM'
  1. Maven SCM
  2. SCM-712

using maven-scm-plugin to checkin folder and file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • None
    • None
    • maven-plugin
    • None
    • software platform

    Description

      step 1.Checkout Content

      <execution>
          <id>checkout folder</id>
          <phase>process-resources</phase>
          <configuration>
              <basedir>/home/checking-folder</basedir>
              <revisionKey>app.data.revision</revisionKey>
              <connectionUrl>scm:svn:https://www.test.com/project-folder</connectionUrl>
              <username>${svn.username}</username>
              <password>${svn.password}</password>
          </configuration>
          <goals>
              <goal>checkout</goal>
          </goals>
      </execution>
      

      step 2. jar adding

      <execution>
          <id>add jar</id>
          <phase>process-resources</phase>
          <configuration>
              <includes>*.*</includes>
              <includes>**/*</includes>
              <basedir>/home/checking-folder</basedir>
              <connectionUrl>scm:svn:https://www.test.com/project-folder</connectionUrl>
              <username>${svn.username}</username>
              <password>${svn.password}</password>
          </configuration>
          <goals>
              <goal>add</goal>
          </goals>
      </execution>
      

      step 3. checkin in new folder and jar

      <execution>
          <id>checkin- jar</id>
          <phase>process-resources</phase>
          <configuration>
              <connectionUrl>scm:svn:https://www.test.com/project-folder</connectionUrl>
              <message>${rdpv.chk.message}</message>
              <basedir>/home/checking-folder</basedir>
              <revisionKey>app.data.revision</revisionKey>
              <username>${svn.username}</username>
              <password>${svn.password}</password>
          </configuration>
          <goals>
              <goal>checkin</goal>
          </goals>
      </execution>
      

      After checking out using step 1, I am creating one New folder in "/home/checking-folder", after that i am moving one jar inside that New folder. while running the 2nd step and 3rd step it shows "new created folder is not working copy".

      Please help me to check-in jar with new created folder.

      Attachments

        Activity

          People

            Unassigned Unassigned
            RAJASEKAR RAJASEKAR
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: