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/05/14 09:18:28 UTC

directory-kerby git commit: [DIRKRB-254]-kdc server fail to start.

Repository: directory-kerby
Updated Branches:
  refs/heads/master 7a9749085 -> 40c0c62ba


[DIRKRB-254]-kdc server fail to start.


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

Branch: refs/heads/master
Commit: 40c0c62ba98ac7c46c3daa4f92219bfbef03b525
Parents: 7a97490
Author: plusplusjiajia <ji...@intel.com>
Authored: Thu May 14 15:23:03 2015 +0800
Committer: plusplusjiajia <ji...@intel.com>
Committed: Thu May 14 15:23:03 2015 +0800

----------------------------------------------------------------------
 kerby-dist/kdc-dist/pom.xml |  2 +-
 kerby-kdc/pom.xml           | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/40c0c62b/kerby-dist/kdc-dist/pom.xml
----------------------------------------------------------------------
diff --git a/kerby-dist/kdc-dist/pom.xml b/kerby-dist/kdc-dist/pom.xml
index 8b56140..e8fecbc 100644
--- a/kerby-dist/kdc-dist/pom.xml
+++ b/kerby-dist/kdc-dist/pom.xml
@@ -48,7 +48,7 @@
                 <configuration>
                   <tasks>
                     <copy file="../../kerby-kerb/kerb-server/target/kerb-server-${project.version}-jar-with-dependencies.jar" tofile="lib/kerb-server-${project.version}-jar-with-dependencies.jar"/>
-                    <copy file="../../kerby-kdc/target/kerby-kdc-${project.version}.jar" tofile="lib/kerby-kdc-${project.version}.jar"/>
+                    <copy file="../../kerby-kdc/target/kerby-kdc-${project.version}-jar-with-dependencies.jar" tofile="lib/kerby-kdc-${project.version}.jar"/>
                     <copy file="../../kerby-backend/json-backend/target/json-backend-${project.version}-jar-with-dependencies.jar" tofile="lib/json-backend-${project.version}-jar-with-dependencies.jar"/>
                     <copy file="../../kerby-backend/ldap-backend/target/ldap-backend-${project.version}-jar-with-dependencies.jar" tofile="lib/ldap-backend-${project.version}-jar-with-dependencies.jar"/>
                     <copy file="../../kerby-backend/zookeeper-backend/target/zookeeper-backend-${project.version}-jar-with-dependencies.jar" tofile="lib/zookeeper-backend-${project.version}-jar-with-dependencies.jar"/>

http://git-wip-us.apache.org/repos/asf/directory-kerby/blob/40c0c62b/kerby-kdc/pom.xml
----------------------------------------------------------------------
diff --git a/kerby-kdc/pom.xml b/kerby-kdc/pom.xml
index e1a8cf7..51d3a4d 100644
--- a/kerby-kdc/pom.xml
+++ b/kerby-kdc/pom.xml
@@ -48,4 +48,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>