grails/grails-maven — Issue #10: release:prepare, release:perform fails due to grails:validate 
Author: iamkristian
Created: 2012-03-05 13:27:54+00:00
State: open

When running the ordinary mvn clean install etc - everything checks out. But when starting the release cycle with with

[INFO] [ERROR] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] app.version [2.0.1-SNAPSHOT] in application.properties is different of the version [2.0.1] in the pom.xml
[INFO] [INFO] ------------------------------------------------------------------------

Things start to break. release:prepare updates the pom version and calls mvn clean - which again calls grails:validate which fails with

app.version [2.0.1-SNAPSHOT] in application.properties is different of the version [2.0.1] in the pom.xml

Here 2.0.1-SNAPSHOT is the version my project is at - the reason is that the pom version isn't synced to application.properties app.version. From what it looks like, you do this with app.grails.version?

Thanks for a great framework :-)