knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From su...@apache.org
Subject knox git commit: Added service definitions to the assembly KNOX-481
Date Tue, 27 Jan 2015 17:32:55 GMT
Repository: knox
Updated Branches:
  refs/heads/KNOX-481 dea6b5d3d -> 9e599b757


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/9e599b75
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/9e599b75
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/9e599b75

Branch: refs/heads/KNOX-481
Commit: 9e599b757455f655e490249b09d9d29488b7d4ab
Parents: dea6b5d
Author: Sumit Gupta <sumit@apache.org>
Authored: Tue Jan 27 12:32:25 2015 -0500
Committer: Sumit Gupta <sumit@apache.org>
Committed: Tue Jan 27 12:32:25 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/9e599b75/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/9e599b75/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>


Mime
View raw message