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 2020/07/16 07:42:46 UTC

[camel-k-runtime] branch master updated: publish the camel-k yaml dsl schema as artifact #389

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 426adca  publish the camel-k yaml dsl schema as artifact #389
426adca is described below

commit 426adca78af6337d467b07129e2b80c5966036ee
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Thu Jul 16 09:11:02 2020 +0200

    publish the camel-k yaml dsl schema as artifact #389
---
 camel-k-loader-yaml/camel-k-loader-yaml/pom.xml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/camel-k-loader-yaml/camel-k-loader-yaml/pom.xml b/camel-k-loader-yaml/camel-k-loader-yaml/pom.xml
index b82ce2c..63f07ab 100644
--- a/camel-k-loader-yaml/camel-k-loader-yaml/pom.xml
+++ b/camel-k-loader-yaml/camel-k-loader-yaml/pom.xml
@@ -143,6 +143,22 @@
                             </resources>
                         </configuration>
                     </execution>
+                    <execution>
+                        <id>attach-artifacts</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>attach-artifact</goal>
+                        </goals>
+                        <configuration>
+                            <artifacts>
+                                <artifact>
+                                    <file>${project.basedir}/src/generated/resources/camel-yaml-dsl.json</file>
+                                    <type>json</type>
+                                    <classifier>json-schema</classifier>
+                                </artifact>
+                            </artifacts>
+                        </configuration>
+                    </execution>
                 </executions>
             </plugin>
             <plugin>