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 d9468dd  publish the camel-k catalog as artifact #388
d9468dd is described below

commit d9468dd40a3d7440948cefe0ebf78bbd64563bbf
Author: lburgazzoli <lburgazz...@gmail.com>
AuthorDate: Thu Jul 16 14:52:27 2020 +0200

    publish the camel-k catalog as artifact #388
---
 tooling/camel-k-catalog/pom.xml | 94 +++++++++++++++++++++++++++++++++++++++++
 tooling/pom.xml                 |  1 +
 2 files changed, 95 insertions(+)

diff --git a/tooling/camel-k-catalog/pom.xml b/tooling/camel-k-catalog/pom.xml
new file mode 100644
index 0000000..4626726
--- /dev/null
+++ b/tooling/camel-k-catalog/pom.xml
@@ -0,0 +1,94 @@
+<!--
+
+    Licensed to the Apache Software Foundation (ASF) under one or more
+    contributor license agreements.  See the NOTICE file distributed with
+    this work for additional information regarding copyright ownership.
+    The ASF licenses this file to You under the Apache License, Version 2.0
+    (the "License"); you may not use this file except in compliance with
+    the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing, software
+    distributed under the License is distributed on an "AS IS" BASIS,
+    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+    See the License for the specific language governing permissions and
+    limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0";
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
+    <parent>
+        <groupId>org.apache.camel.k</groupId>
+        <artifactId>camel-k-tooling</artifactId>
+        <version>1.5.0-SNAPSHOT</version>
+    </parent>
+
+    <modelVersion>4.0.0</modelVersion>
+    <artifactId>camel-k-catalog</artifactId>
+
+    <build>
+        <defaultGoal>generate-resources</defaultGoal>
+        <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>build-helper-maven-plugin</artifactId>
+                <version>${build-helper-maven-plugin.version}</version>
+                <executions>
+                    <execution>
+                        <id>attach-artifacts</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>attach-artifact</goal>
+                        </goals>
+                        <configuration>
+                            <artifacts>
+                                <artifact>
+                                    
<file>${project.build.directory}/camel-k-catalog-${project.version}-main.yaml</file>
+                                    <type>yaml</type>
+                                    <classifier>main</classifier>
+                                </artifact>
+                                <artifact>
+                                    
<file>${project.build.directory}/camel-k-catalog-${project.version}-quarkus.yaml</file>
+                                    <type>yaml</type>
+                                    <classifier>quarkus</classifier>
+                                </artifact>
+                            </artifacts>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.camel.k</groupId>
+                <artifactId>camel-k-maven-plugin</artifactId>
+                <version>${project.version}</version>
+                <executions>
+                    <execution>
+                        <id>generate-catalog-main</id>
+                        <goals>
+                            <goal>generate-catalog</goal>
+                        </goals>
+                        <configuration>
+                            <outputPath>${project.build.directory}</outputPath>
+                            
<outputFile>camel-k-catalog-${project.version}-main.yaml</outputFile>
+                            <runtime>main</runtime>
+                        </configuration>
+                    </execution>
+                    <execution>
+                        <id>generate-catalog-quarkus</id>
+                        <goals>
+                            <goal>generate-catalog</goal>
+                        </goals>
+                        <configuration>
+                            <outputPath>${project.build.directory}</outputPath>
+                            
<outputFile>camel-k-catalog-${project.version}-quarkus.yaml</outputFile>
+                            <runtime>quarkus</runtime>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>
diff --git a/tooling/pom.xml b/tooling/pom.xml
index bff89a9..d6f3e7d 100644
--- a/tooling/pom.xml
+++ b/tooling/pom.xml
@@ -33,6 +33,7 @@
         <module>camel-k-apt</module>
         <module>camel-k-maven-plugin</module>
         <module>camel-k-test</module>
+        <module>camel-k-catalog</module>
     </modules>
 
 </project>

Reply via email to