[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rhq-commits
Subject:    [rhq] modules/common
From:       snegrea <snegrea () fedoraproject ! org>
Date:       2013-05-30 19:58:00
Message-ID: 20130530195800.08DBA6010C () fedorahosted ! org
[Download RAW message or body]

 modules/common/cassandra-schema/pom.xml |   53 ++++++++++++++++++--------------
 1 file changed, 30 insertions(+), 23 deletions(-)

New commits:
commit 7c529f50b0355b4b65118b4f5887a3deb8fb88cd
Author: Stefan Negrea <snegrea@redhat.com>
Date:   Thu May 30 14:57:42 2013 -0500

    Move assembly plugin into a separate profile since it is not required for main \
artifact, only when testing with the main runner.

diff --git a/modules/common/cassandra-schema/pom.xml \
b/modules/common/cassandra-schema/pom.xml index 59a8ac5..a694421 100644
--- a/modules/common/cassandra-schema/pom.xml
+++ b/modules/common/cassandra-schema/pom.xml
@@ -60,29 +60,6 @@
               <classpathScope>compile</classpathScope>
           </configuration>
       </plugin>
-
-      <plugin>
-        <artifactId>maven-assembly-plugin</artifactId>
-        <configuration>
-          <archive>
-            <manifest>
-              <mainClass>org.rhq.cassandra.schema.SchemaManager</mainClass>
-            </manifest>
-          </archive>
-          <descriptorRefs>
-            <descriptorRef>jar-with-dependencies</descriptorRef>
-          </descriptorRefs>
-          </configuration>
-          <executions>
-            <execution>
-              <id>make-assembly</id> <!-- this is used for inheritance merges -->
-              <phase>package</phase> <!-- bind to the packaging phase -->
-              <goals>
-                <goal>single</goal>
-              </goals>
-            </execution>
-          </executions>
-      </plugin>
     </plugins>
   </build>
 
@@ -136,6 +113,36 @@
         </plugins>
       </build>
     </profile>
+
+    <profile>
+      <id>standalone</id>
+      <build>
+        <plugins>
+          <plugin>
+          <artifactId>maven-assembly-plugin</artifactId>
+            <configuration>
+              <archive>
+                <manifest>
+                  <mainClass>org.rhq.cassandra.schema.SchemaManager</mainClass>
+                </manifest>
+              </archive>
+              <descriptorRefs>
+                <descriptorRef>jar-with-dependencies</descriptorRef>
+              </descriptorRefs>
+            </configuration>
+            <executions>
+              <execution>
+                <id>make-assembly</id> <!-- this is used for inheritance merges -->
+                <phase>package</phase> <!-- bind to the packaging phase -->
+                <goals>
+                  <goal>single</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 
 </project>


_______________________________________________
rhq-commits mailing list
rhq-commits@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/rhq-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic