I’m following the ColorPicker example for custom component development, but the required gwt-maven-plugin 1.3 SNAPSHOT is not able to be found on plugin repository http://snapshots.repository.codehaus.org/,
is there any other repository we can use?
I’m in the process of updating the archetypes and the Vaadin plugin, trying to create some integration tests for them before publishing the new versions.
I changed to use the repository http://nexus.codehaus.org/snapshots, but still not able to find,
instead I downloaded the latest 1.3 gwt-maven-plugin.jar from that repository and upload to my local repository then it is able to be used. But when I use gwt:compile it shows NoSuchFieldError. I will look into it.
One strange thing, after I downloaded the 1.3-SNAPSHOT and call gwt:compile it will show 1.2-SNAPSHOT is missing, is there any dependency relation between 1.3-SNAPSHOT and 1.2-SNAPSHOT, or I need to configure somewhere.
As there were multiple requests for these already, releasing the plugin and the archetypes first and looking into automated testing later (
ticket 5644 ).
The plugin 1.0.1 and archetype versions 1.3.3 should be in Maven Central within an hour.
I am trying to create a new vaadin component and followed the steps provided in the Vaadin Maven wiki page. However I am always getting below error during compilation. The plugin repository seems to be not having 1.3 SNAPSHOT of gwt-maven-plugin project. Please help me on how to solve this problem.
D:\2010\development\views\fz014842_view\vobs\cnf\cdt\components\vaadin\sample>m
n gwt:clean
[INFO]
Scanning for projects…
[INFO]
[ERROR]
BUILD ERROR
[INFO]
[INFO]
Error building POM (may not be this project’s POM).
Project ID: org.codehaus.mojo:gwt-maven-plugin
Reason: Error getting POM for ‘org.codehaus.mojo:gwt-maven-plugin’ from the rep
sitory: Unable to read local copy of metadata: Cannot read metadata from ‘D:\Do
uments and Settings\fz014842.m2\repository\org\codehaus\mojo\gwt-maven-plugin
.3-SNAPSHOT\maven-metadata-codehaus.xml’: end tag name must match start
tag name
from line 7 (position: TEXT seen …\n… @9:8)
org.codehaus.mojo:gwt-maven-plugin:pom:1.3-SNAPSHOT
for project org.codehaus.mojo:gwt-maven-plugin
[INFO]
[INFO]
For more information, run Maven with the -e switch
[INFO]
[INFO]
Total time: < 1 second
[INFO]
Finished at: Thu Sep 23 09:13:41 IST 2010
[INFO]
Final Memory: 2M/4M
[INFO]
As you don’t mention it, are you sure you are using the version 1.3.3 of the archetypes - or if editing the POM by hand, that you have the correct snapshot repository.
As mentioned in the previous posts, the Codehaus snapshot repository should now be http://nexus.codehaus.org/snapshots . The Vaadin Maven plugin version to use should be 1.0.1 .
I updated the archetypes, plugin and wiki yesterday, please tell me if I missed something.