[jira] [Updated] (SCM-952) check-local-modification does not recognize new files (git)

2021-07-15 Thread D T (Jira)


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

D T updated SCM-952:

Description: 
If I add a new file src/main/MyNewFile.txt to my project and run

mvn scm:check-local-modification

 
then the build completes successfully, showing only a warning regarding an 
unrecognized lines:
{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}

  was:
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}


> 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
>Priority: Minor
>
> If I add a new file src/main/MyNewFile.txt to my project and run
> mvn scm:check-local-modification
>  
> then the build completes successfully, showing only a warning regarding an 
> unrecognized lines:
> {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)


[jira] [Created] (SCM-952) check-local-modification does not recognize new files (git)

2021-07-15 Thread D T (Jira)
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)


[jira] (MCOMPILER-169) Jboss AS6.1 build with OpenJdk1.7 failure

2012-05-02 Thread D T (JIRA)
D T created MCOMPILER-169:
-

 Summary: Jboss AS6.1 build with OpenJdk1.7 failure
 Key: MCOMPILER-169
 URL: https://jira.codehaus.org/browse/MCOMPILER-169
 Project: Maven 2.x Compiler Plugin
  Issue Type: Bug
Affects Versions: 2.3.2
 Environment: Ubuntu + Jboss AS6.1.0
Reporter: D T
 Attachments: log.txt

/home/dtsybin/git/kszkipo-server-jboss6/system-jmx/src/test/java/org/jboss/test/system/metadata/test/AbstractMetaDataTest.java:[88,38]
 error: name clash: getDelegate(Class?) in AbstractMetaDataTest and 
getDelegate(Class) in AbstractSystemTest have the same erasure, yet neither 
hides the other
[ERROR] 
/home/dtsybin/git/kszkipo-server-jboss6/system-jmx/src/test/java/org/jboss/test/system/controller/integration/test/AbstractJMXAnnotationTest.java:[65,38]
 error: name clash: getDelegate(Class?) in AbstractJMXAnnotationTest and 
getDelegate(Class) in AbstractIntegrationTest have the same erasure, yet 
neither hides the other
[ERROR] 
/home/dtsybin/git/kszkipo-server-jboss6/system-jmx/src/test/java/org/jboss/test/system/controller/parse/test/ErrorInParseOldUnitTestCase.java:[47,38]
 error: name clash: getDelegate(Class?) in ErrorInParseOldUnitTestCase and 
getDelegate(Class) in AbstractSystemTest have the same erasure, yet neither 
hides the other
[ERROR] 
/home/dtsybin/git/kszkipo-server-jboss6/system-jmx/src/test/java/org/jboss/test/system/controller/configure/value/text/test/TextValueOldUnitTestCase.java:[48,38]
 error: name clash: getDelegate(Class?) in TextValueOldUnitTestCase and 
getDelegate(Class) in AbstractSystemTest have the same erasure, yet neither 
hides the other
[ERROR] 
/home/dtsybin/git/kszkipo-server-jboss6/system-jmx/src/test/java/org/jboss/test/system/controller/configure/attribute/test/DependsListAttributeNewUnitTestCase.java:[46,38]
 error: name clash: getDelegate(Class?) in 
DependsListAttributeNewUnitTestCase and getDelegate(Class) in 
AbstractSystemTest have the same erasure, yet neither hides the other
[ERROR] 
/home/dtsybin/git/kszkipo-server-jboss6/system-jmx/src/test/java/org/jboss/test/system/controller/configure/attribute/test/AttributeOldUnitTestCase.java:[48,38]
 error: name clash: getDelegate(Class?) in AttributeOldUnitTestCase and 
getDelegate(Class) in AbstractSystemTest have the same erasure, yet neither 
hides the other
[ERROR] 
/home/dtsybin/git/kszkipo-server-jboss6/system-jmx/src/test/java/org/jboss/test/system/controller/basic/test/DoubleInstallOldUnitTestCase.java:[48,38]
 error: name clash: getDelegate(Class?) in DoubleInstallOldUnitTestCase and 
getDelegate(Class) in AbstractSystemTest have the same erasure, yet neither 
hides the other
[ERROR] 
/home/dtsybin/git/kszkipo-server-jboss6/system-jmx/src/test/java/org/jboss/test/system/controller/configure/attribute/test/DependsListAttributeOldUnitTestCase.java:[50,38]
 error: name clash: getDelegate(Class?) in 
DependsListAttributeOldUnitTestCase and getDelegate(Class) in 
AbstractSystemTest have the same erasure, yet neither hides the other

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira