[seam-commits] Seam SVN: r14539 - in branches/community/Seam_2_3/examples-ee6/contactlist: contactlist-tests and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue Apr 10 06:30:48 EDT 2012


Author: maschmid
Date: 2012-04-10 06:30:47 -0400 (Tue, 10 Apr 2012)
New Revision: 14539

Modified:
   branches/community/Seam_2_3/examples-ee6/contactlist/contactlist-ejb/src/main/java/org/jboss/seam/example/contactlist/Contact.java
   branches/community/Seam_2_3/examples-ee6/contactlist/contactlist-tests/pom.xml
Log:
fix contactlist example schema


Modified: branches/community/Seam_2_3/examples-ee6/contactlist/contactlist-ejb/src/main/java/org/jboss/seam/example/contactlist/Contact.java
===================================================================
--- branches/community/Seam_2_3/examples-ee6/contactlist/contactlist-ejb/src/main/java/org/jboss/seam/example/contactlist/Contact.java	2012-04-10 01:07:49 UTC (rev 14538)
+++ branches/community/Seam_2_3/examples-ee6/contactlist/contactlist-ejb/src/main/java/org/jboss/seam/example/contactlist/Contact.java	2012-04-10 10:30:47 UTC (rev 14539)
@@ -8,6 +8,7 @@
 import javax.persistence.CascadeType;
 import javax.persistence.Entity;
 import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
 import javax.persistence.Id;
 import javax.persistence.OneToMany;
 import javax.persistence.OrderBy;
@@ -17,7 +18,7 @@
 @Entity
 public class Contact
 {
-   @Id @GeneratedValue 
+   @Id @GeneratedValue(strategy=GenerationType.IDENTITY) 
    private Long id;
    
    @Length(max=50)

Modified: branches/community/Seam_2_3/examples-ee6/contactlist/contactlist-tests/pom.xml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/contactlist/contactlist-tests/pom.xml	2012-04-10 01:07:49 UTC (rev 14538)
+++ branches/community/Seam_2_3/examples-ee6/contactlist/contactlist-tests/pom.xml	2012-04-10 10:30:47 UTC (rev 14539)
@@ -119,16 +119,11 @@
       </testResources>
       <plugins>
          <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>selenium-maven-plugin</artifactId>
-         </plugin>
-         <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>failsafe-maven-plugin</artifactId>
-         </plugin>
-         <plugin>
             <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-antrun-plugin</artifactId>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+                <skip>true</skip>
+            </configuration>
          </plugin>
       </plugins>
    </build>



More information about the seam-commits mailing list