You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ha...@apache.org on 2015/07/21 10:00:12 UTC
directory-kerby git commit: DIRKRB-376 Kerby client tools packaging
into a tar file as downloadable package. Contributed by Yaning
Repository: directory-kerby
Updated Branches:
refs/heads/master 87e2e11fd -> 1648cdf19
DIRKRB-376 Kerby client tools packaging into a tar file as downloadable package. Contributed by Yaning
Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/1648cdf1
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/1648cdf1
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/1648cdf1
Branch: refs/heads/master
Commit: 1648cdf19f746bd8ca8e21f8e56f22d755b1edce
Parents: 87e2e11
Author: Lin <li...@foxmail.com>
Authored: Tue Jul 21 15:58:24 2015 +0800
Committer: Lin <li...@foxmail.com>
Committed: Tue Jul 21 15:58:24 2015 +0800
----------------------------------------------------------------------
kerby-dist/tool-dist/assembly.xml | 28 ++++++++++++++++++++++++++++
kerby-dist/tool-dist/pom.xml | 20 +++++++++++++++++++-
2 files changed, 47 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/1648cdf1/kerby-dist/tool-dist/assembly.xml
----------------------------------------------------------------------
diff --git a/kerby-dist/tool-dist/assembly.xml b/kerby-dist/tool-dist/assembly.xml
new file mode 100644
index 0000000..4d365d4
--- /dev/null
+++ b/kerby-dist/tool-dist/assembly.xml
@@ -0,0 +1,28 @@
+<assembly xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.0.0.xsd">
+ <id>package</id>
+ <formats>
+ <format>tar</format>
+ </formats>
+ <fileSets>
+ <fileSet>
+ <directory>bin</directory>
+ <outputDirectory>bin</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>conf</directory>
+ <outputDirectory>conf</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <directory>lib</directory>
+ <outputDirectory>lib</outputDirectory>
+ </fileSet>
+ <fileSet>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>log4j.properties</include>
+ <include>README.txt</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+</assembly>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/1648cdf1/kerby-dist/tool-dist/pom.xml
----------------------------------------------------------------------
diff --git a/kerby-dist/tool-dist/pom.xml b/kerby-dist/tool-dist/pom.xml
index feeca97..32b82d7 100644
--- a/kerby-dist/tool-dist/pom.xml
+++ b/kerby-dist/tool-dist/pom.xml
@@ -12,7 +12,7 @@
See the License for the specific language governing permissions and
limitations under the License. See accompanying LICENSE file.
-->
-<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/maven-v4_0_0.xsd">
+<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
@@ -90,6 +90,24 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <appendAssemblyId>false</appendAssemblyId>
+ <descriptors>
+ <descriptor>assembly.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</profile>