You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Jeff Hair <je...@greenqloud.com> on 2015/05/19 15:50:06 UTC

Fresh Build of 4.5 in Eclipse Failing due to M2E jaxb-plugin Error

Hi,

I'm setting up a new laptop and trying to get CloudStack 4.5 to build in
Eclipse again. On my previous laptop I had no problem with this. I'm trying
to figure out if it's something to do with newer commits to the 4.5 branch
or Eclipse.

It's a fresh installation of Eclipse Luna SR2. After importing CS as an
Existing Maven Project, it builds and then gives me errors in the Brocade
VCS plugin:

Plugin execution not covered by lifecycle configuration:
org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.7.1:generate (execution:
show-vcs, phase: generate-sources) pom.xml /cloud-plugin-network-vcs

The quick fix is to discover a plugin. Eclipse reports there are no m2e
connectors for the JAXB plugin available. If I go to Windows -> Preferences
-> Maven -> Discovery -> Open Catalog, I can see a JAXB plugin there. But
even after installing that, the Eclipse build is still unable to find the
m2e connector.