[seam-commits] Seam SVN: r12994 - modules/faces/trunk/examples/short-ly.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed Jun 2 16:07:17 EDT 2010


Author: pete.muir at jboss.org
Date: 2010-06-02 16:07:16 -0400 (Wed, 02 Jun 2010)
New Revision: 12994

Modified:
   modules/faces/trunk/examples/short-ly/pom.xml
Log:
move example assembly to profile

Modified: modules/faces/trunk/examples/short-ly/pom.xml
===================================================================
--- modules/faces/trunk/examples/short-ly/pom.xml	2010-06-02 20:01:18 UTC (rev 12993)
+++ modules/faces/trunk/examples/short-ly/pom.xml	2010-06-02 20:07:16 UTC (rev 12994)
@@ -28,7 +28,10 @@
          <version>${project.version}</version>
       </dependency>
 
-      <!-- TODO Replace this with the JBoss Java EE BOM stuff, not sure exactly what is needed (PLM) -->
+      <!--
+         TODO Replace this with the JBoss Java EE BOM stuff, not sure
+         exactly what is needed (PLM)
+      -->
       <dependency>
          <groupId>javax</groupId>
          <artifactId>javaee-web-api</artifactId>
@@ -50,17 +53,17 @@
          <groupId>org.hibernate</groupId>
          <artifactId>hibernate-core</artifactId>
       </dependency>
-      
+
       <dependency>
          <groupId>org.hibernate</groupId>
          <artifactId>hibernate-annotations</artifactId>
       </dependency>
-      
+
       <dependency>
          <groupId>org.hibernate</groupId>
          <artifactId>hibernate-entitymanager</artifactId>
       </dependency>
-      
+
       <dependency>
          <groupId>org.hsqldb</groupId>
          <artifactId>hsqldb</artifactId>
@@ -83,10 +86,6 @@
                <target>1.6</target>
             </configuration>
          </plugin>
-         <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-assembly-plugin</artifactId>
-         </plugin>
       </plugins>
       <finalName>short.ly</finalName>
    </build>
@@ -104,6 +103,22 @@
             </plugins>
          </build>
       </profile>
+      <profile>
+         <id>distribution</id>
+         <activation>
+            <property>
+               <name>dist</name>
+            </property>
+         </activation>
+         <build>
+            <plugins>
+               <plugin>
+                  <groupId>org.apache.maven.plugins</groupId>
+                  <artifactId>maven-assembly-plugin</artifactId>
+               </plugin>
+            </plugins>
+         </build>
+      </profile>
    </profiles>
 
 </project>



More information about the seam-commits mailing list