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/02/10 10:26:38 UTC
[camel-k-runtime] 01/02: Add a repository distribution
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
commit 918b191993de6ba2e74b059de39a8f879351ac6b
Author: Tom Cunningham <tc...@redhat.com>
AuthorDate: Tue Feb 4 11:04:40 2020 -0500
Add a repository distribution
---
distribution/pom.xml | 12 +++++++++
distribution/src/main/assemblies/repository.xml | 36 +++++++++++++++++++++++++
2 files changed, 48 insertions(+)
diff --git a/distribution/pom.xml b/distribution/pom.xml
index a0ebb2c..a51383f 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -50,6 +50,18 @@
</descriptors>
</configuration>
</execution>
+ <execution>
+ <id>maven-repository</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assemblies/repository.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
</executions>
</plugin>
</plugins>
diff --git a/distribution/src/main/assemblies/repository.xml b/distribution/src/main/assemblies/repository.xml
new file mode 100644
index 0000000..9432df2
--- /dev/null
+++ b/distribution/src/main/assemblies/repository.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2016 Red Hat, Inc.
+
+ Licensed 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.
+-->
+<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
+
+ <id>m2</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <fileSets>
+ <fileSet>
+ <outputDirectory>./</outputDirectory>
+ <directory>${settings.localRepository}</directory>
+ <includes>
+ <include>org/apache/camel/k/**</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+</assembly>