You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by su...@apache.org on 2015/01/30 03:03:55 UTC
[17/24] knox git commit: Added service definitions to the assembly
KNOX-481
Added service definitions to the assembly KNOX-481
Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/731c263b
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/731c263b
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/731c263b
Branch: refs/heads/KNOX-481
Commit: 731c263b0906574a29ba5d3fa231cdebc34c28cb
Parents: d4812d6
Author: Sumit Gupta <su...@apache.org>
Authored: Tue Jan 27 12:32:25 2015 -0500
Committer: Sumit Gupta <su...@apache.org>
Committed: Thu Jan 29 16:51:04 2015 -0500
----------------------------------------------------------------------
gateway-release/pom.xml | 31 +++++++++++++++++++++++++++++++
gateway-release/src/assembly.xml | 7 +++++++
2 files changed, 38 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/knox/blob/731c263b/gateway-release/pom.xml
----------------------------------------------------------------------
diff --git a/gateway-release/pom.xml b/gateway-release/pom.xml
index 744242b..0ea7a81 100644
--- a/gateway-release/pom.xml
+++ b/gateway-release/pom.xml
@@ -37,6 +37,7 @@
</license>
</licenses>
+
<profiles>
<profile>
<id>release</id>
@@ -94,6 +95,36 @@
</dependency>
</dependencies>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.8</version>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>${gateway-group}</groupId>
+ <artifactId>gateway-service-definitions</artifactId>
+ <type>jar</type>
+ <overWrite>true</overWrite>
+ <outputDirectory>${project.build.directory}</outputDirectory>
+ <includes>services/**/*</includes>
+ <!--<excludes>**/*.class</excludes>-->
+ </artifactItem>
+ </artifactItems>
+ <!--<outputDirectory>${project.build.directory}/data</outputDirectory>-->
+ <!--<overWriteReleases>false</overWriteReleases>-->
+ <!--<overWriteSnapshots>true</overWriteSnapshots>-->
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</profile>
http://git-wip-us.apache.org/repos/asf/knox/blob/731c263b/gateway-release/src/assembly.xml
----------------------------------------------------------------------
diff --git a/gateway-release/src/assembly.xml b/gateway-release/src/assembly.xml
index 9a46f39..709d1f3 100644
--- a/gateway-release/src/assembly.xml
+++ b/gateway-release/src/assembly.xml
@@ -58,6 +58,13 @@
</includes>
<fileMode>0444</fileMode>
</fileSet>
+ <fileSet>
+ <directory>${project.build.directory}/services</directory>
+ <outputDirectory>data/services</outputDirectory>
+ <includes>
+ <include>**/*</include>
+ </includes>
+ </fileSet>
</fileSets>
<dependencySets>
<dependencySet>