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

<includes> and <excludes> do not seem to work correctly during scm:checkin

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Auto Closed
    • Affects Version/s: 1.0
    • Fix Version/s: None
    • Component/s: maven-scm-provider-cvs
    • Labels:
      None

      Description

      I am trying to use the scm plugin automatically during Maven builds. My real goal for this is to check only one file back in, but no matter what I try, the plugin checks in ANY file that has been changed. Below is one configuration that I have tried.

      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-scm-plugin</artifactId>
      <version>1.0</version>
      <inherited>false</inherited>
      <executions>
      <execution>
      <phase>process-resources</phase>
      <goals>
      <goal>checkin</goal>
      </goals>
      <configuration>
      <excludes>*/*</excludes>
      <includes>version.properties</includes>
      </configuration>
      </execution>
      </executions>
      </plugin>

      I also tried using only the <includes> tag without excluding anything, but it did not work either.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              njones njones
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: