Re: [release-plugin] prepare phase does not detect dirty Git files (on Windows)

2015-10-06 Thread ecki
Thanks vincet,

I already tried the latest version (because 2.5.2 announced scm 1.9.4 update), 
but I might need to try it again with a minimal POM so I can check which 
provider is loaded. If I understand correctly you would agree it is a bug to 
ignore untracked files. Because I can then open a JIRA as soon as I have the 
results with multiple os, git and maven versions.

Bernd

-- 
http://bernd.eckenfels.net

-Original Message-
From: Vincent Latombe 
To: Maven Users List 
Sent: Di., 06 Okt. 2015 22:56
Subject: Re: [release-plugin] prepare phase does not detect dirty Git files (on 
Windows)

Hi Bernd,

you should make sure you are using a recent version of maven-release-plugin
(>=2.5). Older versions have compatibility issues because of the git scm
provider they depend on which is incompatible with current git versions.

Vincent

2015-10-05 22:26 GMT+02:00 Bernd Eckenfels :

> Unlike with a SVN workspace the release:prepare goal in a Git workspace
> seems to not error-out when it sees untracked (git status results
> in ??) files. I have seen this on windows.
>
> In some cases it was not mentioning the files at all (they are shown in
> -X debug output) in other cases it was printing a warning that it does
> not understand ?? file.
>
> [WARNING] Ignoring unrecognized line: ?? file.txt
>
> The files are not ignored, neither by the releaseBackup patterns nor
> by .gitignore. Any idea if this is a bug?
>
> I havent found a bug mentioning this, but this bug here shows an
> example for the warning:
> https://issues.apache.org/jira/browse/MRELEASE-881
>
> My Path contains GitHubs "git 4 windows" in version 1.9.5.github.0
>
>
> 36047 [INFO] Verifying that there are no local modifications...
> 36050 [INFO]   ignoring changes on: **\pom.xml.next,
> **\release.properties, **\pom.xml.branch, **\pom.xml.tag,
> **\pom.xml.backup, **\pom.xml.releaseBackup 36114 [INFO] Executing:
> cmd.exe /X /C "git status --porcelain" 36116 [INFO] Working directory:
> C:\ws\github\jabylon 36363 [DEBUG] ?? dirty.txt
> 36427 [DEBUG] ?? pom.xml.releaseBackup
> 36428 [DEBUG] ?? release.properties
> 36444 [INFO] Checking dependencies and plugins for snapshots ...
>
> Gruss
> Bernd
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: [release-plugin] prepare phase does not detect dirty Git files (on Windows)

2015-10-06 Thread Vincent Latombe
Hi Bernd,

you should make sure you are using a recent version of maven-release-plugin
(>=2.5). Older versions have compatibility issues because of the git scm
provider they depend on which is incompatible with current git versions.

Vincent

2015-10-05 22:26 GMT+02:00 Bernd Eckenfels :

> Unlike with a SVN workspace the release:prepare goal in a Git workspace
> seems to not error-out when it sees untracked (git status results
> in ??) files. I have seen this on windows.
>
> In some cases it was not mentioning the files at all (they are shown in
> -X debug output) in other cases it was printing a warning that it does
> not understand ?? file.
>
> [WARNING] Ignoring unrecognized line: ?? file.txt
>
> The files are not ignored, neither by the releaseBackup patterns nor
> by .gitignore. Any idea if this is a bug?
>
> I havent found a bug mentioning this, but this bug here shows an
> example for the warning:
> https://issues.apache.org/jira/browse/MRELEASE-881
>
> My Path contains GitHubs "git 4 windows" in version 1.9.5.github.0
>
>
> 36047 [INFO] Verifying that there are no local modifications...
> 36050 [INFO]   ignoring changes on: **\pom.xml.next,
> **\release.properties, **\pom.xml.branch, **\pom.xml.tag,
> **\pom.xml.backup, **\pom.xml.releaseBackup 36114 [INFO] Executing:
> cmd.exe /X /C "git status --porcelain" 36116 [INFO] Working directory:
> C:\ws\github\jabylon 36363 [DEBUG] ?? dirty.txt
> 36427 [DEBUG] ?? pom.xml.releaseBackup
> 36428 [DEBUG] ?? release.properties
> 36444 [INFO] Checking dependencies and plugins for snapshots ...
>
> Gruss
> Bernd
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>


[release-plugin] prepare phase does not detect dirty Git files (on Windows)

2015-10-05 Thread Bernd Eckenfels
Unlike with a SVN workspace the release:prepare goal in a Git workspace
seems to not error-out when it sees untracked (git status results
in ??) files. I have seen this on windows.

In some cases it was not mentioning the files at all (they are shown in
-X debug output) in other cases it was printing a warning that it does
not understand ?? file.

[WARNING] Ignoring unrecognized line: ?? file.txt

The files are not ignored, neither by the releaseBackup patterns nor
by .gitignore. Any idea if this is a bug?

I havent found a bug mentioning this, but this bug here shows an
example for the warning:
https://issues.apache.org/jira/browse/MRELEASE-881

My Path contains GitHubs "git 4 windows" in version 1.9.5.github.0


36047 [INFO] Verifying that there are no local modifications...
36050 [INFO]   ignoring changes on: **\pom.xml.next,
**\release.properties, **\pom.xml.branch, **\pom.xml.tag,
**\pom.xml.backup, **\pom.xml.releaseBackup 36114 [INFO] Executing:
cmd.exe /X /C "git status --porcelain" 36116 [INFO] Working directory:
C:\ws\github\jabylon 36363 [DEBUG] ?? dirty.txt
36427 [DEBUG] ?? pom.xml.releaseBackup
36428 [DEBUG] ?? release.properties
36444 [INFO] Checking dependencies and plugins for snapshots ...

Gruss
Bernd


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org