You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2016/02/12 18:19:34 UTC
karaf-decanter git commit: KARAF-4312 - Provide a src distribution
Repository: karaf-decanter
Updated Branches:
refs/heads/master 09dae2a52 -> 70a5c38bc
KARAF-4312 - Provide a src distribution
Project: http://git-wip-us.apache.org/repos/asf/karaf-decanter/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf-decanter/commit/70a5c38b
Tree: http://git-wip-us.apache.org/repos/asf/karaf-decanter/tree/70a5c38b
Diff: http://git-wip-us.apache.org/repos/asf/karaf-decanter/diff/70a5c38b
Branch: refs/heads/master
Commit: 70a5c38bc343f7fd2a9842d315a65e0fa2301910
Parents: 09dae2a
Author: Jean-Baptiste Onofré <jb...@apache.org>
Authored: Fri Feb 12 18:19:07 2016 +0100
Committer: Jean-Baptiste Onofré <jb...@apache.org>
Committed: Fri Feb 12 18:19:07 2016 +0100
----------------------------------------------------------------------
assembly/pom.xml | 18 ++++++++++++++
assembly/src/main/descriptors/src.xml | 39 ++++++++++++++++++++++++++++++
2 files changed, 57 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/70a5c38b/assembly/pom.xml
----------------------------------------------------------------------
diff --git a/assembly/pom.xml b/assembly/pom.xml
index dd2a6bb..33475f5 100644
--- a/assembly/pom.xml
+++ b/assembly/pom.xml
@@ -104,6 +104,24 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>src</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/descriptors/src.xml</descriptor>
+ </descriptors>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
http://git-wip-us.apache.org/repos/asf/karaf-decanter/blob/70a5c38b/assembly/src/main/descriptors/src.xml
----------------------------------------------------------------------
diff --git a/assembly/src/main/descriptors/src.xml b/assembly/src/main/descriptors/src.xml
new file mode 100644
index 0000000..fad0ba7
--- /dev/null
+++ b/assembly/src/main/descriptors/src.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+-->
+<assembly>
+ <id>src</id>
+
+ <formats>
+ <format>tar.gz</format>
+ <format>zip</format>
+ </formats>
+
+ <fileSets>
+ <fileSet>
+ <directory>${basedir}/..</directory>
+ <outputDirectory>/</outputDirectory>
+ <excludes>
+ <exclude>**/target/**</exclude>
+ <exclude>**/eclipse-classes/**</exclude>
+ <exclude>**/*.i??</exclude>
+ <exclude>**/.idea/**</exclude>
+ </excludes>
+ </fileSet>
+ </fileSets>
+
+</assembly>