Upgrade dependency guidePage added by Christian MuellerHow to upgrade a Camel dependency1. Open an JIRA issueOpen an JIRA issue at https://issues.apache.org/jira/browse/CAMEL, if its not already exist. 2. Change the parent pomAll dependency versions are managed in the parent pom. Change the version number for the dependency you want to upgrade in this file. 3. Customize the source code (if necessaey)If this upgrade is a major change (e.g. from Apache Mina 1.1.7 to 2.0.2), it could require some source code and/or test customizations. Be careful with changes in the unit tests! 4. Ask for an OSGI-fied version (if necessaey)If this dependency is not provided as an OSGI bundle, ask the Apache Servicemix guys for an OSGI-fied version of this dependency. You should do this by open an JIRA issue at https://issues.apache.org/jira/browse/SMX4 5. Change the platform/karaf pom (if necessaey)If a new OSGI-fied version of this dependency is provided, update the platform/karaf pom with the new version. 6. Validate the features.xml (if necessaey)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. mvn clean install -Pvalidate 7. Run a complete buildTo ensure you don't break anything with your upgrade, run a complete build from the Camel root directory: mvn clean install
Change Notification Preferences
View Online
|
Add Comment
|
- [CONF] Apache Camel > Upgrade dependency guide confluence
- [CONF] Apache Camel > Upgrade dependency guide confluence
- [CONF] Apache Camel > Upgrade dependency guide confluence