maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte" <apa...@sourcegrounds.com>
Subject Re: Change of behavior with the SCM/Release Plugin?
Date Tue, 15 May 2012 18:38:36 GMT
Hi Chris,

it's the starting slash which causes trouble:
/GPDB/release.properties

It think that we should try to solve this in the SCM-project, so all files  
are handled the same, no matter the scm-provider

-Robert

Op Tue, 15 May 2012 12:10:32 +0200 schreef Chris Graham  
<chrisgwarp@gmail.com>:

> Hi All.
>
> I'm reasonably sure that I tested the release process with jazz  
> scm/release
> plugin several times, over and over.
>
> Running the command:
> mvn -B -Dresume=false -DignoreSnapshots=true
> -DworkingDirectory=C:\tmp\maven release:prepare release:perform
>
> followed immediately again with the same command.
>
> But I've now noticed that I now get an error:
>
> C:\CALMData\Workspaces\RTC\Deb\GPDB>mvn -B -Dresume=false
> -DignoreSnapshots=true -DworkingDirectory=C:\tmp\maven release:prepare
> release:perform
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   GPDB - J2EE Multi Module Project
> [INFO]   GPDB - Resources Project
> [INFO]   GPDB - WAR Project
> [INFO]   GPDB - EAR Project
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building GPDB - J2EE Multi Module Project
> [INFO]    task-segment: [release:prepare, release:perform]
> (aggregator-style)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [release:prepare {execution: default-cli}]
> [INFO] Verifying that there are no local modifications...
> [INFO]   ignoring changes on: **\pom.xml.branch, **\pom.xml.backup,
> **\pom.xml.releaseBackup, **\release.properties, **\pom.xml.next,
> **\pom.xml.tag
> [INFO] Executing: cmd.exe /X /C "scm status --username Deb --password  
> *****
> --wide"
> [INFO] Working directory: C:\CALMData\Workspaces\RTC\Deb\GPDB
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Cannot prepare the release because you have local modifications :
> [/GPDB/release.properties:added]
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 24 seconds
> [INFO] Finished at: Tue May 15 20:07:09 EST 2012
> [INFO] Final Memory: 24M/81M
> [INFO]
> ------------------------------------------------------------------------
> C:\CALMData\Workspaces\RTC\Deb\GPDB>
>
> Has anything changed? This is after a release:clean.
>
> -Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message