You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2022/08/18 07:52:00 UTC

[jira] [Closed] (SCM-1000) check-local-modification ignoring excludes (scm:git)

     [ https://issues.apache.org/jira/browse/SCM-1000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Osipov closed SCM-1000.
-------------------------------
    Fix Version/s: 2.0.0-M3
                       (was: waiting-for-feedback)
         Assignee: Michael Osipov
       Resolution: Fixed

Fixed with [7ba4b9bc135e1fcc0140c7b6e087b79c8aa2e925|https://gitbox.apache.org/repos/asf?p=maven-scm.git&a=commit&h=7ba4b9bc135e1fcc0140c7b6e087b79c8aa2e925].

> check-local-modification ignoring excludes (scm:git)
> ----------------------------------------------------
>
>                 Key: SCM-1000
>                 URL: https://issues.apache.org/jira/browse/SCM-1000
>             Project: Maven SCM
>          Issue Type: Bug
>    Affects Versions: 1.13.0
>            Reporter: robert
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: 2.0.0-M3
>
>         Attachments: 0001-sample-problem-for-SCM-1000.patch, SCM-1000.txt
>
>
> 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.
>  
> {code: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>
> {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)