Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Installing Vaadin Spring Roo plugin - Missing artifact annotations
I just installed the Vaadin Spring Roo add-on in the roo shell with the following commands:
addon install bundle --bundleSymbolicName com.vaadin.spring.roo.addo
vaadin setup --applicationPackage ~.web --baseName learnintouch --themeName learnintouch --useJpaContainer false
vaadin generate all --package ~.web.ui --visuallyComposable true
It all went fine or so it seemed.
Then I tried to build the war in the bash shell with the command:
mvn clean install
But I got a missing artifact error message.
Failed to resolve artifact.
from the specified remote repositories:
Any ciue ?
Stephane Eybert: Failed to resolve artifact.
This does seem to be a bug - the Roo add-on refers to a development time snapshot of the annotations JAR (not published) rather than the final version. I created the ticket #8627 for this.
As a workaround, you can edit the dependency by removing ".BUILD-SNAPSHOT" from its version number. It is possible, though, that the Roo add-on re-adds the dependency when performing certain operations, so you might need to repeat the change. Alternatively, you could commit a modified copy of the annotations JAR as version 1.1.0.BUILD-SNAPSHOT if you need to make the modification too often.
I'll try to find time to resolve this and one other Roo issue this week - after that I will be two weeks out of the office.
Okay, thanks for the update. I'm not in a hurry right now and can wait for your fix.