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

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Jun 3 12:48:33 EDT 2013


Author: maschmid
Date: 2013-06-03 12:48:33 -0400 (Mon, 03 Jun 2013)
New Revision: 15527

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


Modified: branches/enterprise/WFK-2_1/examples/remoting/helloworld/helloworld-ear/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/remoting/helloworld/helloworld-ear/pom.xml	2013-06-03 16:46:03 UTC (rev 15526)
+++ branches/enterprise/WFK-2_1/examples/remoting/helloworld/helloworld-ear/pom.xml	2013-06-03 16:48:33 UTC (rev 15527)
@@ -48,10 +48,20 @@
 
     <build>
         <finalName>seam-helloworld</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/helloworld/helloworld-web/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/remoting/helloworld/helloworld-web/pom.xml	2013-06-03 16:46:03 UTC (rev 15526)
+++ branches/enterprise/WFK-2_1/examples/remoting/helloworld/helloworld-web/pom.xml	2013-06-03 16:48:33 UTC (rev 15527)
@@ -56,6 +56,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/helloworld/pom.xml
===================================================================
--- branches/enterprise/WFK-2_1/examples/remoting/helloworld/pom.xml	2013-06-03 16:46:03 UTC (rev 15526)
+++ branches/enterprise/WFK-2_1/examples/remoting/helloworld/pom.xml	2013-06-03 16:48:33 UTC (rev 15527)
@@ -1,15 +1,11 @@
 <?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>helloworld</artifactId>
+    <version>2.3.1.Final-redhat-2</version>
     <packaging>pom</packaging>
     <name>Helloworld Example (EE6)</name>
   
@@ -17,15 +13,31 @@
         <module>helloworld-ejb</module>
         <module>helloworld-web</module>
         <module>helloworld-ear</module>
-        <module>helloworld-tests</module>
+        
     </modules>
 
     <properties>
         <example.name>helloworld</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>
+
+        <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>
 
     <dependencyManagement>
         <dependencies>
+            <!-- Modules -->
             <dependency>
                 <groupId>org.jboss.seam.examples.remoting.helloworld</groupId>
                 <artifactId>helloworld-ejb</artifactId>
@@ -43,7 +55,70 @@
                 <artifactId>helloworld-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 provided 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