directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ha...@apache.org
Subject directory-kerberos git commit: Refine kerb-server's pom, generate jar-with-dependencies only when profile is dist.
Date Mon, 16 Mar 2015 07:28:19 GMT
Repository: directory-kerberos
Updated Branches:
  refs/heads/master 8a30c1e29 -> d8c8344c1


Refine kerb-server's pom, generate jar-with-dependencies only when profile is dist.


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

Branch: refs/heads/master
Commit: d8c8344c17f5059acf946f57a3db4de09aa5ac57
Parents: 8a30c1e
Author: hazel <linchen7@foxmail.com>
Authored: Mon Mar 16 15:28:13 2015 +0800
Committer: hazel <linchen7@foxmail.com>
Committed: Mon Mar 16 15:28:13 2015 +0800

----------------------------------------------------------------------
 kerby-kerb/kerb-server/pom.xml | 51 ++++++++++++++++++++-----------------
 1 file changed, 28 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-kerberos/blob/d8c8344c/kerby-kerb/kerb-server/pom.xml
----------------------------------------------------------------------
diff --git a/kerby-kerb/kerb-server/pom.xml b/kerby-kerb/kerb-server/pom.xml
index 98a347b..8d9eaa6 100644
--- a/kerby-kerb/kerb-server/pom.xml
+++ b/kerby-kerb/kerb-server/pom.xml
@@ -59,27 +59,32 @@
     </dependency>
   </dependencies>
 
-  <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>
+  <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>


Mime
View raw message