[seam-commits] Seam SVN: r12420 - in modules/international/trunk: api and 13 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Thu Apr 8 17:20:28 EDT 2010


Author: kenfinni
Date: 2010-04-08 17:20:27 -0400 (Thu, 08 Apr 2010)
New Revision: 12420

Added:
   modules/international/trunk/api/
   modules/international/trunk/api/pom.xml
   modules/international/trunk/api/src/
   modules/international/trunk/api/src/main/
   modules/international/trunk/api/src/main/java/
   modules/international/trunk/api/src/main/java/org/
   modules/international/trunk/api/src/main/java/org/jboss/
   modules/international/trunk/api/src/main/java/org/jboss/seam/
   modules/international/trunk/api/src/main/java/org/jboss/seam/international/
   modules/international/trunk/api/src/main/java/org/jboss/seam/international/timezone/
   modules/international/trunk/api/src/main/java/org/jboss/seam/international/timezone/DefaultTimeZone.java
   modules/international/trunk/api/src/main/java/org/jboss/seam/international/timezone/TimeZones.java
   modules/international/trunk/api/src/main/java/org/jboss/seam/international/timezone/UserTimeZone.java
   modules/international/trunk/api/src/main/java/org/jboss/seam/international/timezone/events/
   modules/international/trunk/api/src/main/java/org/jboss/seam/international/timezone/events/TimeZoneSelectedEvent.java
   modules/international/trunk/api/src/main/resources/
   modules/international/trunk/api/src/test/
   modules/international/trunk/api/src/test/java/
   modules/international/trunk/api/src/test/resources/
   modules/international/trunk/impl/
Removed:
   modules/international/trunk/core/pom.xml
   modules/international/trunk/core/src/
   modules/international/trunk/impl/src/main/java/org/jboss/seam/international/timezone/DefaultTimeZone.java
   modules/international/trunk/impl/src/main/java/org/jboss/seam/international/timezone/TimeZones.java
   modules/international/trunk/impl/src/main/java/org/jboss/seam/international/timezone/UserTimeZone.java
   modules/international/trunk/impl/src/main/java/org/jboss/seam/international/timezone/events/
Modified:
   modules/international/trunk/impl/pom.xml
   modules/international/trunk/pom.xml
Log:
Restructure International module to follow the new Module Anatomy guidelines


Property changes on: modules/international/trunk/api
___________________________________________________________________
Name: svn:ignore
   + .project
.classpath
.settings
target


Added: modules/international/trunk/api/pom.xml
===================================================================
--- modules/international/trunk/api/pom.xml	                        (rev 0)
+++ modules/international/trunk/api/pom.xml	2010-04-08 21:20:27 UTC (rev 12420)
@@ -0,0 +1,34 @@
+<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">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <artifactId>seam-international-parent</artifactId>
+    <groupId>org.jboss.seam.international</groupId>
+    <version>3.0.0-SNAPSHOT</version>
+  </parent>
+
+  <artifactId>seam-international-api</artifactId>
+  <version>3.0.0-SNAPSHOT</version>
+
+  <packaging>jar</packaging>
+  <name>Seam International Module API</name>
+
+  <!-- Snapshots repo to get parent -->
+  <repositories>
+    <repository>
+      <id>oss.sonatype.org/jboss-snapshots</id>
+      <name>JBoss (Nexus) Snapshots Repository</name>
+      <url>http://oss.sonatype.org/content/repositories/jboss-snapshots
+      </url>
+      <releases>
+        <enabled>false</enabled>
+      </releases>
+      <snapshots>
+        <enabled>true</enabled>
+        <updatePolicy>never</updatePolicy>
+      </snapshots>
+    </repository>
+  </repositories>
+
+</project>
\ No newline at end of file

Added: modules/international/trunk/api/src/main/java/org/jboss/seam/international/timezone/DefaultTimeZone.java
===================================================================
--- modules/international/trunk/api/src/main/java/org/jboss/seam/international/timezone/DefaultTimeZone.java	                        (rev 0)
+++ modules/international/trunk/api/src/main/java/org/jboss/seam/international/timezone/DefaultTimeZone.java	2010-04-08 21:20:27 UTC (rev 12420)
@@ -0,0 +1,27 @@
+package org.jboss.seam.international.timezone;
+
+import static java.lang.annotation.ElementType.FIELD;
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.PARAMETER;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+import javax.inject.Qualifier;
+
+/**
+ * Default Application TimeZone
+ *
+ * @author Ken Finnigan
+ */
+ at Target( { METHOD, PARAMETER, FIELD })
+ at Retention(RUNTIME)
+ at Documented
+ at Qualifier
+ at Inherited
+public @interface DefaultTimeZone
+{
+}

Added: modules/international/trunk/api/src/main/java/org/jboss/seam/international/timezone/TimeZones.java
===================================================================
--- modules/international/trunk/api/src/main/java/org/jboss/seam/international/timezone/TimeZones.java	                        (rev 0)
+++ modules/international/trunk/api/src/main/java/org/jboss/seam/international/timezone/TimeZones.java	2010-04-08 21:20:27 UTC (rev 12420)
@@ -0,0 +1,27 @@
+package org.jboss.seam.international.timezone;
+
+import static java.lang.annotation.ElementType.FIELD;
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.PARAMETER;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+import javax.inject.Qualifier;
+
+/**
+ * Qualifier for Time Zones
+ *
+ * @author Ken Finnigan
+ */
+ at Target( { METHOD, PARAMETER, FIELD })
+ at Retention(RUNTIME)
+ at Documented
+ at Qualifier
+ at Inherited
+public @interface TimeZones
+{
+}

Added: modules/international/trunk/api/src/main/java/org/jboss/seam/international/timezone/UserTimeZone.java
===================================================================
--- modules/international/trunk/api/src/main/java/org/jboss/seam/international/timezone/UserTimeZone.java	                        (rev 0)
+++ modules/international/trunk/api/src/main/java/org/jboss/seam/international/timezone/UserTimeZone.java	2010-04-08 21:20:27 UTC (rev 12420)
@@ -0,0 +1,27 @@
+package org.jboss.seam.international.timezone;
+
+import static java.lang.annotation.ElementType.FIELD;
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.ElementType.PARAMETER;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+import javax.inject.Qualifier;
+
+/**
+ * User TimeZone
+ *
+ * @author Ken Finnigan
+ */
+ at Target( { METHOD, PARAMETER, FIELD })
+ at Retention(RUNTIME)
+ at Documented
+ at Qualifier
+ at Inherited
+public @interface UserTimeZone
+{
+}

Added: modules/international/trunk/api/src/main/java/org/jboss/seam/international/timezone/events/TimeZoneSelectedEvent.java
===================================================================
--- modules/international/trunk/api/src/main/java/org/jboss/seam/international/timezone/events/TimeZoneSelectedEvent.java	                        (rev 0)
+++ modules/international/trunk/api/src/main/java/org/jboss/seam/international/timezone/events/TimeZoneSelectedEvent.java	2010-04-08 21:20:27 UTC (rev 12420)
@@ -0,0 +1,21 @@
+package org.jboss.seam.international.timezone.events;
+
+/**
+ * Event raised when TimeZone selected.
+ *
+ * @author Ken Finnigan
+ */
+public class TimeZoneSelectedEvent
+{
+   private String timeZoneId;
+   
+   public TimeZoneSelectedEvent(String timeZoneId)
+   {
+      this.timeZoneId = timeZoneId;
+   }
+   
+   public String getTimeZoneId()
+   {
+      return timeZoneId;
+   }
+}

Deleted: modules/international/trunk/core/pom.xml
===================================================================
--- modules/international/trunk/core/pom.xml	2010-04-08 10:19:56 UTC (rev 12419)
+++ modules/international/trunk/core/pom.xml	2010-04-08 21:20:27 UTC (rev 12420)
@@ -1,41 +0,0 @@
-<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">
-   <modelVersion>4.0.0</modelVersion>
-
-   <parent>
-      <groupId>org.jboss.seam.international</groupId>
-      <artifactId>seam-international-parent</artifactId>
-      <version>3.0.0-SNAPSHOT</version>
-   </parent>
-
-   <groupId>org.jboss.seam.international</groupId>
-   <artifactId>seam-international-core</artifactId>
-   <version>3.0.0-SNAPSHOT</version>
-   <packaging>jar</packaging>
-   <name>Seam International Core</name>
-
-   <dependencies>
-
-      <dependency>
-         <groupId>javax.enterprise</groupId>
-         <artifactId>cdi-api</artifactId>
-      </dependency>
-
-      <dependency>
-         <groupId>org.jboss.arquillian</groupId>
-         <artifactId>arquillian-junit</artifactId>
-      </dependency>
-
-      <dependency>
-         <groupId>org.jboss.arquillian.container</groupId>
-         <artifactId>arquillian-weld-embedded</artifactId>
-      </dependency>
-
-      <dependency>
-         <groupId>junit</groupId>
-         <artifactId>junit</artifactId>
-      </dependency>
-
-   </dependencies>
-
-</project>

Copied: modules/international/trunk/impl (from rev 12419, modules/international/trunk/core)

Modified: modules/international/trunk/impl/pom.xml
===================================================================
--- modules/international/trunk/core/pom.xml	2010-04-08 10:19:56 UTC (rev 12419)
+++ modules/international/trunk/impl/pom.xml	2010-04-08 21:20:27 UTC (rev 12420)
@@ -8,34 +8,36 @@
       <version>3.0.0-SNAPSHOT</version>
    </parent>
 
-   <groupId>org.jboss.seam.international</groupId>
-   <artifactId>seam-international-core</artifactId>
+   <artifactId>seam-international</artifactId>
    <version>3.0.0-SNAPSHOT</version>
+
    <packaging>jar</packaging>
-   <name>Seam International Core</name>
+   <name>Seam International Module Core Implementation</name>
 
+  <!-- Snapshots repo to get parent -->
+  <repositories>
+      <repository>
+         <id>oss.sonatype.org/jboss-snapshots</id>
+         <name>JBoss (Nexus) Snapshots Repository</name>
+         <url>http://oss.sonatype.org/content/repositories/jboss-snapshots
+         </url>
+         <releases>
+            <enabled>false</enabled>
+         </releases>
+         <snapshots>
+            <enabled>true</enabled>
+            <updatePolicy>never</updatePolicy>
+         </snapshots>
+      </repository>
+   </repositories>
+
    <dependencies>
-
       <dependency>
-         <groupId>javax.enterprise</groupId>
-         <artifactId>cdi-api</artifactId>
+         <artifactId>seam-international-api</artifactId>
+         <groupId>org.jboss.seam.international</groupId>
+         <version>${project.version}</version>
+         <scope>compile</scope>
       </dependency>
-
-      <dependency>
-         <groupId>org.jboss.arquillian</groupId>
-         <artifactId>arquillian-junit</artifactId>
-      </dependency>
-
-      <dependency>
-         <groupId>org.jboss.arquillian.container</groupId>
-         <artifactId>arquillian-weld-embedded</artifactId>
-      </dependency>
-
-      <dependency>
-         <groupId>junit</groupId>
-         <artifactId>junit</artifactId>
-      </dependency>
-
    </dependencies>
 
 </project>

Deleted: modules/international/trunk/impl/src/main/java/org/jboss/seam/international/timezone/DefaultTimeZone.java
===================================================================
--- modules/international/trunk/core/src/main/java/org/jboss/seam/international/timezone/DefaultTimeZone.java	2010-04-08 10:19:56 UTC (rev 12419)
+++ modules/international/trunk/impl/src/main/java/org/jboss/seam/international/timezone/DefaultTimeZone.java	2010-04-08 21:20:27 UTC (rev 12420)
@@ -1,27 +0,0 @@
-package org.jboss.seam.international.timezone;
-
-import static java.lang.annotation.ElementType.FIELD;
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.ElementType.PARAMETER;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.Inherited;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-import javax.inject.Qualifier;
-
-/**
- * Default Application TimeZone
- *
- * @author Ken Finnigan
- */
- at Target( { METHOD, PARAMETER, FIELD })
- at Retention(RUNTIME)
- at Documented
- at Qualifier
- at Inherited
-public @interface DefaultTimeZone
-{
-}

Deleted: modules/international/trunk/impl/src/main/java/org/jboss/seam/international/timezone/TimeZones.java
===================================================================
--- modules/international/trunk/core/src/main/java/org/jboss/seam/international/timezone/TimeZones.java	2010-04-08 10:19:56 UTC (rev 12419)
+++ modules/international/trunk/impl/src/main/java/org/jboss/seam/international/timezone/TimeZones.java	2010-04-08 21:20:27 UTC (rev 12420)
@@ -1,27 +0,0 @@
-package org.jboss.seam.international.timezone;
-
-import static java.lang.annotation.ElementType.FIELD;
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.ElementType.PARAMETER;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.Inherited;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-import javax.inject.Qualifier;
-
-/**
- * Qualifier for Time Zones
- *
- * @author Ken Finnigan
- */
- at Target( { METHOD, PARAMETER, FIELD })
- at Retention(RUNTIME)
- at Documented
- at Qualifier
- at Inherited
-public @interface TimeZones
-{
-}

Deleted: modules/international/trunk/impl/src/main/java/org/jboss/seam/international/timezone/UserTimeZone.java
===================================================================
--- modules/international/trunk/core/src/main/java/org/jboss/seam/international/timezone/UserTimeZone.java	2010-04-08 10:19:56 UTC (rev 12419)
+++ modules/international/trunk/impl/src/main/java/org/jboss/seam/international/timezone/UserTimeZone.java	2010-04-08 21:20:27 UTC (rev 12420)
@@ -1,27 +0,0 @@
-package org.jboss.seam.international.timezone;
-
-import static java.lang.annotation.ElementType.FIELD;
-import static java.lang.annotation.ElementType.METHOD;
-import static java.lang.annotation.ElementType.PARAMETER;
-import static java.lang.annotation.RetentionPolicy.RUNTIME;
-
-import java.lang.annotation.Documented;
-import java.lang.annotation.Inherited;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-import javax.inject.Qualifier;
-
-/**
- * User TimeZone
- *
- * @author Ken Finnigan
- */
- at Target( { METHOD, PARAMETER, FIELD })
- at Retention(RUNTIME)
- at Documented
- at Qualifier
- at Inherited
-public @interface UserTimeZone
-{
-}

Modified: modules/international/trunk/pom.xml
===================================================================
--- modules/international/trunk/pom.xml	2010-04-08 10:19:56 UTC (rev 12419)
+++ modules/international/trunk/pom.xml	2010-04-08 21:20:27 UTC (rev 12420)
@@ -9,14 +9,20 @@
       <version>3.0.0-SNAPSHOT</version>
    </parent>
 
+   <artifactId>seam-international-parent</artifactId>
    <groupId>org.jboss.seam.international</groupId>
-   <artifactId>seam-international-parent</artifactId>
-   <packaging>pom</packaging>
    <version>3.0.0-SNAPSHOT</version>
-   <name>Seam International Parent</name>
 
+   <packaging>pom</packaging>
+   <name>Seam International Module Parent POM</name>
+
+   <description>The Parent for Seam International Module</description>
+
+   <url>http://www.seamframework.org</url>
+
    <modules>
-      <module>core</module>
+      <module>api</module>
+      <module>impl</module>
       <!--module>docs</module-->
       <!--module>examples/??</module-->
    </modules>
@@ -25,65 +31,67 @@
       <arquillian.version>1.0.0.Alpha1</arquillian.version>
    </properties>
 
-   <dependencyManagement> 
-      <dependencies>
+   <dependencies>
 
-         <dependency>
-            <groupId>javax.el</groupId>
-            <artifactId>el-api</artifactId>
-            <version>2.2</version>
-            <scope>provided</scope>
-         </dependency>
+      <!-- Environment Dependencies -->
+      <dependency>
+         <groupId>javax.el</groupId>
+         <artifactId>el-api</artifactId>
+         <version>2.2</version>
+         <scope>provided</scope>
+      </dependency>
+      <dependency>
+         <groupId>javax.enterprise</groupId>
+         <artifactId>cdi-api</artifactId>
+         <scope>provided</scope>
+      </dependency>
+      <dependency>
+         <groupId>org.jboss.weld</groupId>
+         <artifactId>weld-extensions</artifactId>
+         <version>1.0.0.Alpha1</version>
+      </dependency>
   
-         <dependency>
-            <groupId>javax.persistence</groupId>
-            <artifactId>persistence-api</artifactId>
-            <version>1.0</version>
-            <scope>provided</scope>
-         </dependency>
-  
-         <dependency>
-            <groupId>javax.validation</groupId>
-            <artifactId>validation-api</artifactId>
-            <version>1.0.0.GA</version>
-         </dependency>
-  
-         <dependency>
-            <groupId>javax.enterprise</groupId>
-            <artifactId>cdi-api</artifactId>
-            <version>1.0-SP1</version>
-         </dependency>
+      <!-- Test Dependencies -->
+      <dependency>
+         <groupId>junit</groupId>
+         <artifactId>junit</artifactId>
+         <version>4.8.1</version>
+         <scope>test</scope>
+      </dependency>
+      <dependency>
+         <groupId>org.jboss.arquillian</groupId>
+         <artifactId>arquillian-junit</artifactId>
+         <version>${arquillian.version}</version>
+         <scope>test</scope>
+      </dependency>
+      <dependency>
+         <groupId>org.jboss.arquillian.container</groupId>
+         <artifactId>arquillian-weld-embedded</artifactId>
+         <version>${arquillian.version}</version>
+         <scope>test</scope>
+      </dependency>
+   </dependencies>
 
-         <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-            <version>1.5.10</version>
-            <scope>provided</scope>
-         </dependency>
-
-         <dependency>
-            <groupId>org.jboss.arquillian</groupId>
-            <artifactId>arquillian-junit</artifactId>
-            <version>${arquillian.version}</version>
-            <scope>test</scope>
-         </dependency>
-
-         <dependency>
-            <groupId>org.jboss.arquillian.container</groupId>
-            <artifactId>arquillian-weld-embedded</artifactId>
-            <version>${arquillian.version}</version>
-            <scope>test</scope>
-         </dependency>
-
-         <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>4.8.1</version>
-            <scope>test</scope>
-         </dependency>
-
-      </dependencies>
-   </dependencyManagement>
+   <developers>
+      <developer>
+          <name>Lincoln Baxter, III</name>
+          <email>lincolnbaxter at gmail.com</email>
+          <url>http://ocpsoft.com</url>
+          <organization>JBoss, by Red Hat</organization>
+          <organizationUrl>http://jboss.org</organizationUrl>
+          <timezone>EST</timezone>
+          <roles>
+             <role>Project Lead</role>
+          </roles>
+       </developer>
+       <developer>
+          <name>Ken Finnigan</name>
+          <timezone>GMT</timezone>
+          <roles>
+             <role>Project Lead</role>
+          </roles>
+       </developer>
+   </developers>
    
    <scm>
       <connection>scm:svn:http://anonsvn.jboss.org/repos/seam/modules/international/trunk</connection>
@@ -91,4 +99,17 @@
       <url>http://fisheye.jboss.org/browse/Seam/modules/international/trunk</url>
    </scm>
 
-</project>
+   <build>
+      <plugins>
+         <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-compiler-plugin</artifactId>
+            <version>2.0.2</version>
+            <configuration>
+               <source>1.6</source>
+               <target>1.6</target>
+            </configuration>
+         </plugin>
+      </plugins>
+   </build>
+</project>
\ No newline at end of file



More information about the seam-commits mailing list