...
To use this release in your maven project, the proper dependency configuration that you should use in your Maven POM is:
Code Block |
|
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
<version>2.12.2</version>
</dependency>
|
...
See the Download Archives for all time releases.
Include Page |
|
Snapshots
Help us test the latest SNAPSHOTS
Info |
The camel-1.x branch is no longer maintained therefore snapshots for that branch are not available. |
Maven 2 Repositories
Maven 2 snapshot repository in pom
Camel
In your pom.xml file you can add the Maven 2 snapshot repository if you want to try out the xxx-SNAPSHOT versions:
...
<repository>
<id>apache.snapshots</id>
<name>Apache Development Snapshot Repository</name>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
Then you can use the SNAPSHOT version of camel in your pom.xml
:
...
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
<version>2.13-SNAPSHOT</version>
</dependency>
Camel Plugins
And the same setting for the plugin repository if you want to try the latest Apache Camel maven tools also:
...
<pluginRepository>
<id>apache.snapshots</id>
<name>Apache Development Snapshot Repository</name>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
Then you can use the SNAPSHOT version of mvn camel:run
with this in your pom.xml
:
...
<plugins>
<!-- Allows the routes to be run via 'mvn camel:run' -->
<plugin>
<groupId>org.apache.camel</groupId>
<artifactId>camel-maven-plugin</artifactId>
<version>2.13-SNAPSHOT</version>
</plugin>
</plugins>