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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 1.0
    • None
    • maven-scm-provider-cvs
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: