D T created SCM-952:
-----------------------

             Summary: check-local-modification does not recognize new files 
(git)
                 Key: SCM-952
                 URL: https://issues.apache.org/jira/browse/SCM-952
             Project: Maven SCM
          Issue Type: Bug
    Affects Versions: 1.11.2
            Reporter: D T


mvn scm:check-local-modification

 
{code:java}
[INFO] Scanning for projects...
[INFO] 
[INFO] --------------< test:test >--------------
[INFO] Building Test 1.9.1-SNAPSHOT
[INFO] ----------------------------[ maven-plugin ]----------------------------
[INFO] 
[INFO] --- maven-scm-plugin:1.11.2:check-local-modification (default-cli) @ 
test ---
[INFO] Executing: cmd.exe /X /C "git rev-parse --show-prefix"
[INFO] Working directory: C:\Users\test\git\test
[INFO] Executing: cmd.exe /X /C "git status --porcelain ."
[INFO] Working directory: C:\Users\test\git\test
[WARNING] Ignoring unrecognized line: ?? src/main/MyNewFile.txt
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.247 s
[INFO] Finished at: 2021-07-15T11:39:32+02:00
[INFO] 
------------------------------------------------------------------------{code}
*Expected result:*
Build failed, because there is a file that isn't ignored or commited.


{code:java}
$ git --version
git version 2.32.0.windows.2
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to