You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by pl...@apache.org on 2015/07/30 08:24:42 UTC

[35/50] [abbrv] directory-kerby git commit: DIRKRB-375 Kerby kdc packaging into a tar file as downloadable package. Contributed by Yaning

DIRKRB-375 Kerby kdc 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/87e2e11f
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/87e2e11f
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/87e2e11f

Branch: refs/heads/pkinit-support
Commit: 87e2e11fdd1340afb214d6ea2f704295d1470b58
Parents: dece3b7
Author: Lin <li...@foxmail.com>
Authored: Tue Jul 21 15:52:23 2015 +0800
Committer: Lin <li...@foxmail.com>
Committed: Tue Jul 21 15:52:23 2015 +0800

----------------------------------------------------------------------
 kerby-dist/kdc-dist/assembly.xml | 28 ++++++++++++++++++++++++++++
 kerby-dist/kdc-dist/pom.xml      | 21 +++++++++++++++++++--
 2 files changed, 47 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/87e2e11f/kerby-dist/kdc-dist/assembly.xml
----------------------------------------------------------------------
diff --git a/kerby-dist/kdc-dist/assembly.xml b/kerby-dist/kdc-dist/assembly.xml
new file mode 100644
index 0000000..4d365d4
--- /dev/null
+++ b/kerby-dist/kdc-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/87e2e11f/kerby-dist/kdc-dist/pom.xml
----------------------------------------------------------------------
diff --git a/kerby-dist/kdc-dist/pom.xml b/kerby-dist/kdc-dist/pom.xml
index 0f0e2a2..41bbb81 100644
--- a/kerby-dist/kdc-dist/pom.xml
+++ b/kerby-dist/kdc-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>
@@ -156,9 +156,26 @@
               </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>
   </profiles>
-
 </project>