[seam-commits] Seam SVN: r15526 - in branches/enterprise/WFK-2_1/examples/remoting/chatroom: chatroom-ear and 1 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Jun 3 12:46:03 EDT 2013


Author: maschmid
Date: 2013-06-03 12:46:03 -0400 (Mon, 03 Jun 2013)
New Revision: 15526

Removed:
   branches/enterprise/WFK-2_1/examples/remoting/chatroom/chatroom-tests/
Modified:
   branches/enterprise/WFK-2_1/examples/remoting/chatroom/chatroom-ear/pom.xml
   branches/enterprise/WFK-2_1/examples/remoting/chatroom/chatroom-web/pom.xml
   branches/enterprise/WFK-2_1/examples/remoting/chatroom/pom.xml
Log:
migrated chatroom example


Modified: branches/enterprise/WFK-2_1/examples/remoting/chatroom/chatroom-ear/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/remoting/chatroom/chatroom-ear/pom.xml	2013-06-03 16:41:11 UTC (rev 15525)
+++ branches/enterprise/WFK-2_1/examples/remoting/chatroom/chatroom-ear/pom.xml	2013-06-03 16:46:03 UTC (rev 15526)
@@ -48,10 +48,20 @@
 
     <build>
         <finalName>seam-chatroom</finalName>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.jboss.as.plugins</groupId>
+                    <artifactId>jboss-as-maven-plugin</artifactId>
+                    <version>${version.jboss.maven.plugin}</version>
+                </plugin>
+            </plugins>
+        </pluginManagement>
         <plugins>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-ear-plugin</artifactId>
+                <version>${version.ear.plugin}</version>
                 <configuration>
                     <version>6</version>
                     <defaultLibBundleDir>lib</defaultLibBundleDir>

Modified: branches/enterprise/WFK-2_1/examples/remoting/chatroom/chatroom-web/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/remoting/chatroom/chatroom-web/pom.xml	2013-06-03 16:41:11 UTC (rev 15525)
+++ branches/enterprise/WFK-2_1/examples/remoting/chatroom/chatroom-web/pom.xml	2013-06-03 16:46:03 UTC (rev 15526)
@@ -64,6 +64,7 @@
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-war-plugin</artifactId>
+                <version>${version.war.plugin}</version>
                 <configuration>
                     <webResources>
                         <resource>

Modified: branches/enterprise/WFK-2_1/examples/remoting/chatroom/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/remoting/chatroom/pom.xml	2013-06-03 16:41:11 UTC (rev 15525)
+++ branches/enterprise/WFK-2_1/examples/remoting/chatroom/pom.xml	2013-06-03 16:46:03 UTC (rev 15526)
@@ -1,32 +1,46 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <parent>
-        <artifactId>examples</artifactId>
-        <groupId>org.jboss.seam</groupId>
-        <version>2.3.1.Final-redhat-2</version>
-        <relativePath>../../pom.xml</relativePath>
-    </parent>
     
+    
     <modelVersion>4.0.0</modelVersion>
     <groupId>org.jboss.seam.examples.remoting</groupId>
     <artifactId>chatroom</artifactId>
+    <version>2.3.1.Final-redhat-2</version>
     <packaging>pom</packaging>
     <name>Chatroom Example (EE6)</name>
   
+    <properties>
+        <example.name>chatroom</example.name>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+
+        <maven.compiler.target>1.6</maven.compiler.target>
+        <maven.compiler.source>1.6</maven.compiler.source>
+
+        <jms.provider.file>jboss-seam-chatroom-hornetq-jms.xml</jms.provider.file>
+        
+        <version.commons.logging>1.1.1</version.commons.logging>
+
+        <!-- Plugin versions -->
+        <version.dependency.plugin>2.5.1</version.dependency.plugin>
+        <version.surefire.plugin>2.10</version.surefire.plugin>
+        <version.resources.plugin>2.6</version.resources.plugin>
+        <version.compiler.plugin>2.3.1</version.compiler.plugin>
+        <version.ear.plugin>2.6</version.ear.plugin>
+        <version.war.plugin>2.1.1</version.war.plugin>
+        <version.ejb.plugin>2.3</version.ejb.plugin>
+        <version.jboss.maven.plugin>7.4.Final</version.jboss.maven.plugin>
+    </properties>
+    
     <modules>
         <module>chatroom-ejb</module>
         <module>chatroom-web</module>
         <module>chatroom-ear</module>
-        <module>chatroom-tests</module>
+        
     </modules>
 
-    <properties>
-        <example.name>chatroom</example.name>
-        <jms.provider.file>jboss-seam-chatroom-hornetq-jms.xml</jms.provider.file>
-    </properties>
-
     <dependencyManagement>
         <dependencies>
+            <!-- Modules -->
             <dependency>
                 <groupId>org.jboss.seam.examples.remoting.chatroom</groupId>
                 <artifactId>chatroom-ejb</artifactId>
@@ -44,7 +58,68 @@
                 <artifactId>chatroom-ear</artifactId>
                 <version>${project.version}</version>
             </dependency>
+           
+            <!-- BOMs -->             
+            <dependency>                 
+                <groupId>org.jboss.seam</groupId>                 
+                <artifactId>bom</artifactId>                 
+                <version>${project.version}</version>                 
+                <type>pom</type>                 
+                <scope>import</scope>             
+            </dependency>
+            
+            <!-- Common dependencies -->
+            <dependency>
+                <groupId>commons-logging</groupId>
+                <artifactId>commons-logging</artifactId>
+                <version>${version.commons.logging}</version>
+                <scope>provided</scope>
+            </dependency>
+
+            <!-- TestNG is not necessary -->
+            <dependency>
+                <groupId>org.jboss.seam</groupId>
+                <artifactId>jboss-seam</artifactId>
+                <version>${project.version}</version>
+                <exclusions>
+                    <exclusion>
+                        <groupId>org.testng</groupId>
+                        <artifactId>testng</artifactId>
+                    </exclusion>
+                    <exclusion>
+                        <groupId>junit</groupId>
+                        <artifactId>junit</artifactId>
+                    </exclusion>
+                </exclusions>
+            </dependency>
         </dependencies>
     </dependencyManagement>
-    
+
+    <build>
+        <pluginManagement>
+            <plugins>
+                <!-- Manage plugin versions for build stability -->
+                <plugin>
+                    <artifactId>maven-surefire-plugin</artifactId>
+                    <version>${version.surefire.plugin}</version>
+                </plugin>
+                <plugin>
+                    <artifactId>maven-dependency-plugin</artifactId>
+                    <version>${version.dependency.plugin}</version>
+                </plugin>
+                <plugin>
+                    <artifactId>maven-resources-plugin</artifactId>
+                    <version>${version.resources.plugin}</version>
+                </plugin>
+                <plugin>
+                    <artifactId>maven-compiler-plugin</artifactId>
+                    <version>${version.compiler.plugin}</version>
+                    <configuration>
+                        <source>${maven.compiler.source}</source>
+                        <target>${maven.compiler.target}</target>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+    </build> 
 </project>



More information about the seam-commits mailing list