You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gz...@apache.org on 2020/04/06 08:31:51 UTC

[camel-karaf] branch master updated: CAMEL-14848: Attach schema XSD to artifact

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 53d5c76  CAMEL-14848: Attach schema XSD to artifact
53d5c76 is described below

commit 53d5c763383b7a143906dd32667d0bb39e72da22
Author: Gregor Zurowski <gr...@zurowski.net>
AuthorDate: Mon Apr 6 10:31:42 2020 +0200

    CAMEL-14848: Attach schema XSD to artifact
---
 components/camel-blueprint/pom.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/components/camel-blueprint/pom.xml b/components/camel-blueprint/pom.xml
index 5545157..e31678a 100644
--- a/components/camel-blueprint/pom.xml
+++ b/components/camel-blueprint/pom.xml
@@ -505,6 +505,27 @@
                             </execution>
                         </executions>
                     </plugin>
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>build-helper-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <id>attach-artifacts</id>
+                                <phase>package</phase>
+                                <goals>
+                                    <goal>attach-artifact</goal>
+                                </goals>
+                                <configuration>
+                                    <artifacts>
+                                        <artifact>
+                                            <file>./target/schema/camel-blueprint.xsd</file>
+                                            <type>xsd</type>
+                                        </artifact>
+                                    </artifacts>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
                 </plugins>
             </build>
         </profile>