[WARNING]
Some problems were encountered while building the effective model for com.vaadin:vaadin-archetype-sample:maven-arc
hetype:1.6.1
[WARNING]
‘build.plugins.plugin.version’ for org.apache.maven.plugins:maven-gpg-plugin is missing. @ line 110, column 15
[WARNING]
[WARNING]
It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING]
For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO]
[INFO]
Building Vaadin Application Archetype 1.6.1
[INFO]
[INFO]
Total time: 0.925s
[INFO]
Finished at: Fri Nov 04 11:33:38 PDT 2011
[INFO]
Final Memory: 4M/81M
[INFO]
[ERROR]
Failed to execute goal org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2:read-project-properties (default) on pr
oject vaadin-archetype-sample: Execution default of goal org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2:read-project-
properties failed. NullPointerException → [Help 1]
[ERROR]
[ERROR]
To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR]
Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
This NPE is caused by the archetype project wanting to read some parameters (mostly related to signing or artifacts) from a configuration file. The configuration file name must be given to the “mvn compile” or “mvn package” command here, otherwise properties-maven-plugin fails. I personally consider this behavior a bug in the properties plugin. There are (somewhat unnecessarily complicated) ways to get around this, but as the archetypes are almost never compiled by anyone except on our continuous integration system, we have not gone through the trouble of applying them. You can create an enhancement request about this if you want.
In any case, there would be a lot of room for improvement in the archetypes, the three current main archetypes will probably be replaced with an “application” archetype, and the add-on archetype improved, but there is no concrete schedule for this at the moment.