Installing Vaadin Spring Roo plugin - Missing artifact annotations

Hello,

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.

Missing:

  1. com.vaadin:com.vaadin.spring.roo.annotations:jar:1.1.0.BUILD-SNAPSHOT

from the specified remote repositories:
spring-maven-milestone (http://maven.springframework.org/milestone),
central (http://repo1.maven.org/maven2),
spring-roo-repository (http://spring-roo-repository.springsource.org/release),
vaadin-snapshots (http://oss.sonatype.org/content/repositories/vaadin-snapshots/),
vaadin-addons (http://maven.vaadin.com/vaadin-addons),
spring-maven-release (http://maven.springframework.org/release)

Any ciue ?

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.

Hello Henri,

Okay, thanks for the update. I’m not in a hurry right now and can wait for your fix.

Kind Regards,

Stephane