You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/06/27 09:18:39 UTC

[camel-karaf] branch main updated: (chores) doc: added basic contribution guide to Camel Karaf

This is an automated email from the ASF dual-hosted git repository.

orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karaf.git


The following commit(s) were added to refs/heads/main by this push:
     new 653c7713 (chores) doc: added basic contribution guide to Camel Karaf
653c7713 is described below

commit 653c771359d0f8e77908e6787dfa1dcc4f630778
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue Jun 27 10:38:51 2023 +0200

    (chores) doc: added basic contribution guide to Camel Karaf
---
 docs/modules/ROOT/pages/contributing.adoc | 32 +++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/docs/modules/ROOT/pages/contributing.adoc b/docs/modules/ROOT/pages/contributing.adoc
new file mode 100644
index 00000000..3348506d
--- /dev/null
+++ b/docs/modules/ROOT/pages/contributing.adoc
@@ -0,0 +1,32 @@
+= Contributing
+
+== Building the code
+
+You need https://maven.apache.org[Apache Maven] version 3.8.0 or greater to build the code. You can either use your own Maven package or build using the Maven wrapper (`mvnw`) provided with the project.
+
+[source,bash]
+----
+mvn clean install -Pfastinstall
+----
+
+== Verifying Karaf features
+
+Camel-Karaf now lives in a separate repository, so to verify a Karaf feature, you'll need to fork the https://github.com/apache/camel-karaf[camel-karaf repository].
+
+To check a new Karaf feature or an existing one, you should run a verification on the features.xml file. You'll need to follow these steps:
+
+1. The first step is to run a full build of Camel.
+2. Then, run the following commands to verify the features:
+
+[source,bash]
+----
+cd platform/karaf/features/
+mvn clean install
+----
+
+If you modified a component/dataformat or updated a dependency in the main camel repository, you'll first need to build the main camel locally and then run a full build of camel-karaf.
+
+
+== Reporting a bug or problem
+
+The Camel Karaf project uses the https://issues.apache.org/jira/browse/CAMEL[Apache Foundation Jira instance] for tracking issues, tasks, and feature requests.