Versions Compared

Key

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

...

  • Download and install Maven.
    (Maven 2.2.1 or better is required to build Camel 2.5 onwards).
    (Maven 3.0.2 or better is required to build Camel 2.10 onwards).
  • Get the latest Source
  • Java 1.6 or better
    (Java 1.5 is @deprecated and no longer supported from Camel 2.7 onwards)
    (Java 1.7 is supported from Camel 2.10 onwards)

Optional:

  • Prince should be in the executable PATH to generate the PDF documentation

...

Building with Spring 2.5.6

From Camel 2.4.0 onwards, we switch the default Spring version to 3.0.x, If you want Camel to be build against Spring 2.5.6 you have to build with the maven profile spring-2.x.

...

Note: Spring 2.x is no longer supported from Camel 2.7 onwards. The spring-2.x profile has been removed.

Building with Spring 3.1

From Camel 2.10.0 onwards, if you want Camel to be build against Spring 3.1 you have to build with the maven profile spring3.1.

Code Block

mvn clean install -Pspring3.1

Working with features

If you change anything in the features.xml from platform/karaf you can run a validation step to ensure the generated features.xml file is correct. You can do this running the following maven goal from the platform directory.

...