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 . To force this on Java 6 do:
Code Block |
|
mvn -Papt 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. |