Maven 2.x Release Plugin

prepare goal no longer errors on subversion files

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0-beta-8
  • Fix Version/s: 2.0
  • Component/s: None
  • Labels:
    None
  • Number of attachments :
    0

Description

Snow Leopard / Maven 2.2.0 / Svn 1.6.3 (via macports)

release:prepare used to error telling you that you had files not checked in.

It no longer does, or no longer does by default

-ph

Issue Links

Activity

Hide
Brett Porter added a comment -

confirmed, certainly a nasty regression

Show
Brett Porter added a comment - confirmed, certainly a nasty regression
Hide
Arnaud DOSTES added a comment -

Could not reproduce. In dry mode or in normal.

Here are the different outputs I'm getting

2.0-beta-7
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Cannot prepare the release because you have local modifications :
[src\main\java\com\test\App.java:modified]
[pom.xml:modified]

[INFO] ------------------------------------------------------------------------

2.0-beta-8
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Cannot prepare the release because you have local modifications :
[src\main\java\com\test\App.java:modified]
[pom.xml:modified]

[INFO] ------------------------------------------------------------------------

2.0-beta-9
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Cannot prepare the release because you have local modifications :
[src\main\java\com\test\App.java:modified]
[pom.xml:modified]

[INFO] ------------------------------------------------------------------------

2.0-beta-10-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Cannot prepare the release because you have local modifications :
[src\main\java\com\test\App.java:modified]
[pom.xml:modified]

[INFO] ------------------------------------------------------------------------

Show
Arnaud DOSTES added a comment - Could not reproduce. In dry mode or in normal. Here are the different outputs I'm getting 2.0-beta-7 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Cannot prepare the release because you have local modifications : [src\main\java\com\test\App.java:modified] [pom.xml:modified] [INFO] ------------------------------------------------------------------------ 2.0-beta-8 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Cannot prepare the release because you have local modifications : [src\main\java\com\test\App.java:modified] [pom.xml:modified] [INFO] ------------------------------------------------------------------------ 2.0-beta-9 [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Cannot prepare the release because you have local modifications : [src\main\java\com\test\App.java:modified] [pom.xml:modified] [INFO] ------------------------------------------------------------------------ 2.0-beta-10-SNAPSHOT [INFO] ------------------------------------------------------------------------ [ERROR] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Cannot prepare the release because you have local modifications : [src\main\java\com\test\App.java:modified] [pom.xml:modified] [INFO] ------------------------------------------------------------------------
Hide
Robert Scholte added a comment -

Arnaud,

The problem occurs with a new and uncommitted file. It's not about files being modified (at least, that's what your logs are telling me).

Show
Robert Scholte added a comment - Arnaud, The problem occurs with a new and uncommitted file. It's not about files being modified (at least, that's what your logs are telling me).
Hide
Stefan Seelmann added a comment -

This seems to be related with http://jira.codehaus.org/browse/SCM-480.

Show
Stefan Seelmann added a comment - This seems to be related with http://jira.codehaus.org/browse/SCM-480.
Hide
Olivier Lamy added a comment -

close with SCM-480

Show
Olivier Lamy added a comment - close with SCM-480

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: