You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by lb...@apache.org on 2019/03/08 16:11:39 UTC

[camel-k-runtime] branch master updated: Runtime components should include catalog information #31

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

lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k-runtime.git


The following commit(s) were added to refs/heads/master by this push:
     new 1c54883  Runtime components should include catalog information #31
1c54883 is described below

commit 1c548836898e20d754523828680f8116cdc78807
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Fri Mar 8 16:00:49 2019 +0100

    Runtime components should include catalog information #31
---
 camel-knative/pom.xml | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/camel-knative/pom.xml b/camel-knative/pom.xml
index cdde741..bac89ff 100644
--- a/camel-knative/pom.xml
+++ b/camel-knative/pom.xml
@@ -162,7 +162,34 @@
                     <artifactId>camel-properties</artifactId>
                     <scope>test</scope>
                 </dependency>
+                <!-- catalog geenration -->
+                <dependency>
+                    <groupId>org.apache.camel</groupId>
+                    <artifactId>apt</artifactId>
+                    <scope>provided</scope>
+                </dependency>
             </dependencies>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.camel</groupId>
+                        <artifactId>camel-package-maven-plugin</artifactId>
+                        <version>${camel3.version}</version>
+                        <configuration>
+                            <failFast>false</failFast>
+                        </configuration>
+                        <executions>
+                            <execution>
+                                <id>generate</id>
+                                <goals>
+                                    <goal>prepare-components</goal>
+                                </goals>
+                                <phase>process-classes</phase>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
         </profile>
         <profile>
             <id>camel2</id>
@@ -178,7 +205,34 @@
                     <artifactId>camel-k-adapter-camel-2</artifactId>
                     <scope>provided</scope>
                 </dependency>
+                <!-- catalog geenration -->
+                <dependency>
+                    <groupId>org.apache.camel</groupId>
+                    <artifactId>apt</artifactId>
+                    <scope>provided</scope>
+                </dependency>
             </dependencies>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.camel</groupId>
+                        <artifactId>camel-package-maven-plugin</artifactId>
+                        <version>${camel2.version}</version>
+                        <configuration>
+                            <failFast>false</failFast>
+                        </configuration>
+                        <executions>
+                            <execution>
+                                <id>generate</id>
+                                <goals>
+                                    <goal>prepare-components</goal>
+                                </goals>
+                                <phase>process-classes</phase>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
         </profile>
     </profiles>