directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject directory-kerby git commit: DIRKRB-185 Packaging the kadmin tool
Date Fri, 20 Mar 2015 07:43:06 GMT
Repository: directory-kerby
Updated Branches:
  refs/heads/master 59c0dc9c6 -> 708fe3888


DIRKRB-185 Packaging the kadmin tool


Project: http://git-wip-us.apache.org/repos/asf/directory-kerby/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-kerby/commit/708fe388
Tree: http://git-wip-us.apache.org/repos/asf/directory-kerby/tree/708fe388
Diff: http://git-wip-us.apache.org/repos/asf/directory-kerby/diff/708fe388

Branch: refs/heads/master
Commit: 708fe38880de3d760f9d93d9a1bab46b2448228e
Parents: 59c0dc9
Author: hazel <linchen7@foxmail.com>
Authored: Fri Mar 20 15:42:59 2015 +0800
Committer: hazel <linchen7@foxmail.com>
Committed: Fri Mar 20 15:42:59 2015 +0800

----------------------------------------------------------------------
 kdc-tool/kadmin-tool/pom.xml       | 29 +++++++++++++++++++++++++++++
 kerby-dist/tool-dist/bin/kadmin.sh |  2 ++
 kerby-dist/tool-dist/pom.xml       |  6 ++++++
 3 files changed, 37 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/708fe388/kdc-tool/kadmin-tool/pom.xml
----------------------------------------------------------------------
diff --git a/kdc-tool/kadmin-tool/pom.xml b/kdc-tool/kadmin-tool/pom.xml
index 4ad8dd6..b122526 100644
--- a/kdc-tool/kadmin-tool/pom.xml
+++ b/kdc-tool/kadmin-tool/pom.xml
@@ -43,4 +43,33 @@
       </dependency>
     </dependencies>
 
+    <profiles>
+      <profile>
+        <id>dist</id>
+        <build>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-assembly-plugin</artifactId>
+              <version>2.2</version>
+              <executions>
+                <execution>
+                  <id>package-all</id>
+                  <phase>package</phase>
+                  <goals>
+                    <goal>single</goal>
+                  </goals>
+                  <configuration>
+                    <descriptorRefs>
+                      <descriptorRef>jar-with-dependencies</descriptorRef>
+                    </descriptorRefs>
+                  </configuration>
+                </execution>
+              </executions>
+            </plugin>
+          </plugins>
+        </build>
+      </profile>
+    </profiles>
+
 </project>

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/708fe388/kerby-dist/tool-dist/bin/kadmin.sh
----------------------------------------------------------------------
diff --git a/kerby-dist/tool-dist/bin/kadmin.sh b/kerby-dist/tool-dist/bin/kadmin.sh
new file mode 100644
index 0000000..f2f6cdf
--- /dev/null
+++ b/kerby-dist/tool-dist/bin/kadmin.sh
@@ -0,0 +1,2 @@
+#!/bin/bash
+java -Xdebug -Xrunjdwp:transport=dt_socket,address=1045,server=y,suspend=n -cp ../lib/kadmin-1.0-SNAPSHOT-jar-with-dependencies.jar
org.apache.kerby.kerberos.tool.kadmin.Kadmin $@
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/708fe388/kerby-dist/tool-dist/pom.xml
----------------------------------------------------------------------
diff --git a/kerby-dist/tool-dist/pom.xml b/kerby-dist/tool-dist/pom.xml
index 6710437..e31cca5 100644
--- a/kerby-dist/tool-dist/pom.xml
+++ b/kerby-dist/tool-dist/pom.xml
@@ -34,6 +34,11 @@
     </dependency>
     <dependency>
       <groupId>org.apache.kerby</groupId>
+      <artifactId>kadmin</artifactId>
+      <version>${project.version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.kerby</groupId>
       <artifactId>token-tool</artifactId>
       <version>${project.version}</version>
     </dependency>
@@ -54,6 +59,7 @@
                   <tasks>
                     <copy file="../../kerby-kerb/kerb-client/target/kerb-client-${project.version}-jar-with-dependencies.jar"
tofile="lib/kerb-client-${project.version}-jar-with-dependencies.jar"/>
                     <copy file="../../kdc-tool/client-tool/target/kinit-${project.version}.jar"
tofile="lib/kinit-${project.version}.jar"/>
+                    <copy file="../../kdc-tool/kadmin-tool/target/kadmin-${project.version}-jar-with-dependencies.jar"
tofile="lib/kadmin-${project.version}-jar-with-dependencies.jar"/>
                   </tasks>
                 </configuration>
                 <goals>


Mime
View raw message