jira-importer opened a new issue, #1225:
URL: https://github.com/apache/maven-scm/issues/1225

   
**[robert](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=JIRAUSER294511)**
 opened 
**[SCM-1000](https://issues.apache.org/jira/browse/SCM-1000?redirect=false)** 
and commented
   
   Add this to any `pomx.ml`.  The run `mvn clean install`.  Everything should 
build with no issues since the excludes has `star star /pom.xml` in it.  **The 
build stops with the follow error message** The build will stop as there is 
local modifications. 
   
    
   
   I believe the pom.xml file should be excluded from the modification check.
   
    
   
   ```xml
   <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-scm-plugin</artifactId>
       <version>1.13.0</version>
       <executions>
           <execution>
               <goals>
                   <goal>check-local-modification</goal>
               </goals>
               <phase>validate</phase>
           </execution>
       </executions>
       <configuration>
           <excludes>**/pom.xml</excludes>
           <skip>${skip.local-modification.check}</skip>
       </configuration>
   </plugin>
   ```
   
   
   
   ---
   
   **Affects:** 1.13.0
   
   **Attachments:**
   - 
[0001-sample-problem-for-SCM-1000.patch](https://issues.apache.org/jira/secure/attachment/13048244/0001-sample-problem-for-SCM-1000.patch)
 (_1.22 kB_)
   - 
[SCM-1000.txt](https://issues.apache.org/jira/secure/attachment/13048246/SCM-1000.txt)
 (_685.67 kB_)
   
   **Remote Links:**
   - [GitHub Pull Request #161
   ](https://github.com/apache/maven-scm/pull/161)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to