Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
mvn process-test-sources eclipse:eclipse
Tip
titleEnable the apt Profile *explicitly* if using Java 6

Per default this profile is enabled only when using Java 7+ however for many of the Camel components you would still need the org.apache.camel:spi-annotations Maven module on the class path inside the generated .classpath of many Camel components. To force this on Java 6 do:

Code Block

mvn -P apt process-test-sources eclipse:eclipse

As otherwise some of the Camel components inside your eclipse workspace would not compile (when using Java 6) because the org.apache.camel:spi-annotations Maven module would be missing on the class path.

or

Code Block
mvn -Psetup.eclipse -Declipse.workspace.dir=/path/to/your/workspace

...