I cannot perform a release on an
out-of-the-box
Vaadin 7.6.6 project.
Here’s what I do:
- Create a standard Vaadin project using the
vaadin-archetype-application-multimodule
Maven archetype. - Add
section to the project’s parent POM. (required for Maven release) and added
section (requried for Maven deploy) - On the parent:
mvn clean build
(just to make Maven download appropriate stuff and see if the build actually works) - On the parent:
mvn clean
- On the parent:
mvn -Pproduction release:prepare
(this passes without problems) - On the parent:
mvn -Pproduction release:perform
The latter step fails with
[ERROR]
Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy)
on project myvaadintest-production:
The packaging for this project did not assign a file to the build artifact -> [Help 1]
Ok, so the
-production
module doesn’t actually produce a build artifact … or at least not when executed with the
production
profile. But that’s the whole point: When doing releases you would want the
production
profile to be active, wouldn’t you?
This is all purely out-of-the-box.
Shouldn’t the ambition be that this would work out-of-the-box ? (or am I the only creature in the world to be performing proper releases with Maven and Vaadin?)
Peter