chore(build): Re-add a Jenkins Job (#544)

1 file changed
tree: 9983a62c6d39a8c9ad14dace0d811192924151ce
  1. .github/
  2. .mvn/
  3. components/
  4. core/
  5. docs/
  6. features/
  7. shell/
  8. tests/
  9. tooling/
  10. .asf.yaml
  11. .gitattributes
  12. .gitignore
  13. Jenkinsfile.karaf
  14. KEYS
  15. LICENSE
  16. mvnw
  17. mvnw.cmd
  18. NOTICE
  19. pom.xml
  20. README.md
README.md

Apache Camel Karaf

Maven Central

Apache Camel is a powerful open source integration framework based on known Enterprise Integration Patterns with powerful bean integration.

This project provides Apache Karaf support for Apache Camel.

Build

To build camel-karaf, simple do:

mvn clean install

If you want to skip the tests, you can do:

mvn clean install -DskipTests

Upgrade

If you want to upgrade camel-karaf to a new camel version, here's the process:

  1. camel repository has to be cloned in the same folder as camel-karaf repository:
git clone https://github.com/apache/camel
  1. in the camel repository, you have to checkout on the target version tag:
cd camel
git checkout camel-x.y.z
  1. once you have built camel-karaf, you can find the update tool in tooling/camel-upgrade folder. Go in this folder:
cd tooling/camel-upgrade
  1. you can now run the upgrade tool:
java -jar target/camel-upgrade-*.jar
  1. When done, you can review the changes (with git diff for instance) and create a Pull Request.

Release

Here's the process to do a camel-karaf release:

  1. Create the release tag:
mvn release:prepare
  1. Push the release:
mvn release:perform
  1. Close the Maven staging repository on repository.apache.org

  2. The source distribution is available the target folder: camel-karaf-x.y.z-source.release.zip.*. You have to stage the source distribution files to svn://dist.apache.org/repos/dist/dev/camel.

  3. When both Maven Staging Repository (closed) and dist.apache.org are up to date with the release files, you can start the release vote.