Author: rgielen
Date: Mon Nov 24 15:27:05 2008
New Revision: 720341

URL: http://svn.apache.org/viewvc?rev=720341&view=rev
Log:
- Updated to use Struts 2.0.14 GA
- Added German resource bundle
- minor enhancements and cleanups

Added:
    
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/resources/example/package_de.properties
Modified:
    struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/README.txt
    struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/pom.xml
    
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/META-INF/archetype.xml
    
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml
    
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/java/example/ExampleSupport.java
    
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/java/example/HelloWorld.java
    
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/java/example/Login.java
    
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
    
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/webapp/example/HelloWorld.jsp
    
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/test/java/example/ConfigTest.java
    
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/test/java/example/HelloWorldTest.java
    
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/test/java/example/LoginTest.java

Modified: 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/README.txt
URL: 
http://svn.apache.org/viewvc/struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/README.txt?rev=720341&r1=720340&r2=720341&view=diff
==============================================================================
--- struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/README.txt 
(original)
+++ struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/README.txt 
Mon Nov 24 15:27:05 2008
@@ -20,7 +20,7 @@
                        -DartifactId=myWebApp \
                        -DarchetypeGroupId=org.apache.struts \
                        -DarchetypeArtifactId=struts2-archetype-blank \
-                       -DarchetypeVersion=2.0.9-SNAPSHOT \
+                       -DarchetypeVersion=2.0.14-SNAPSHOT \
                        
-DremoteRepositories=http://people.apache.org/repo/m2-snapshot-repository
 
 IMPORTANT:

Modified: struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/pom.xml?rev=720341&r1=720340&r2=720341&view=diff
==============================================================================
--- struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/pom.xml 
(original)
+++ struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/pom.xml Mon 
Nov 24 15:27:05 2008
@@ -9,7 +9,7 @@
 
   <modelVersion>4.0.0</modelVersion>
   <artifactId>struts2-archetype-blank</artifactId>
-  <version>2.0.11.2-SNAPSHOT</version>
+  <version>2.0.14-SNAPSHOT</version>
   <packaging>maven-plugin</packaging>
   <name>Struts 2 Archetypes - Blank</name>
 

Modified: 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/META-INF/archetype.xml
URL: 
http://svn.apache.org/viewvc/struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/META-INF/archetype.xml?rev=720341&r1=720340&r2=720341&view=diff
==============================================================================
--- 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/META-INF/archetype.xml
 (original)
+++ 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/META-INF/archetype.xml
 Mon Nov 24 15:27:05 2008
@@ -1,31 +1,32 @@
 <?xml version="1.0" encoding="UTF-8"?>
 
 <archetype>
-  <id>struts2-archetype-blank</id>
-  <sources>
-    <source>src/main/java/example/ExampleSupport.java</source>
-    <source>src/main/java/example/HelloWorld.java</source>
-    <source>src/main/java/example/Login.java</source>
-  </sources>
-  <resources>
-       <resource>src/main/resources/example/Login-validation.xml</resource>
-       <resource 
filtered="false">src/main/resources/example/package.properties</resource>
-       <resource 
filtered="false">src/main/resources/example/package_es.properties</resource>
-       <resource>src/main/resources/example.xml</resource>
-       <resource>src/main/resources/struts.xml</resource>
-   <resource>src/main/webapp/index.html</resource>
-   <resource>src/main/webapp/example/HelloWorld.jsp</resource>
-   <resource>src/main/webapp/example/Login.jsp</resource>
-   <resource>src/main/webapp/example/Menu.jsp</resource>
-   <resource>src/main/webapp/example/Missing.jsp</resource>
-   <resource>src/main/webapp/example/Register.jsp</resource>
-   <resource>src/main/webapp/example/Welcome.jsp</resource>
-   <resource>src/main/webapp/WEB-INF/web.xml</resource>
-  </resources>
-  <testSources>
-    <source>src/test/java/example/ConfigTest.java</source>
-    <source>src/test/java/example/HelloWorldTest.java</source>
-    <source>src/test/java/example/LoginTest.java</source>
-  </testSources>
+    <id>struts2-archetype-blank</id>
+    <sources>
+        <source>src/main/java/example/ExampleSupport.java</source>
+        <source>src/main/java/example/HelloWorld.java</source>
+        <source>src/main/java/example/Login.java</source>
+    </sources>
+    <resources>
+        <resource>src/main/resources/example/Login-validation.xml</resource>
+        <resource 
filtered="false">src/main/resources/example/package.properties</resource>
+        <resource 
filtered="false">src/main/resources/example/package_es.properties</resource>
+        <resource 
filtered="false">src/main/resources/example/package_de.properties</resource>
+        <resource>src/main/resources/example.xml</resource>
+        <resource>src/main/resources/struts.xml</resource>
+        <resource>src/main/webapp/index.html</resource>
+        <resource>src/main/webapp/example/HelloWorld.jsp</resource>
+        <resource>src/main/webapp/example/Login.jsp</resource>
+        <resource>src/main/webapp/example/Menu.jsp</resource>
+        <resource>src/main/webapp/example/Missing.jsp</resource>
+        <resource>src/main/webapp/example/Register.jsp</resource>
+        <resource>src/main/webapp/example/Welcome.jsp</resource>
+        <resource>src/main/webapp/WEB-INF/web.xml</resource>
+    </resources>
+    <testSources>
+        <source>src/test/java/example/ConfigTest.java</source>
+        <source>src/test/java/example/HelloWorldTest.java</source>
+        <source>src/test/java/example/LoginTest.java</source>
+    </testSources>
 </archetype>
 

Modified: 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml
URL: 
http://svn.apache.org/viewvc/struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml?rev=720341&r1=720340&r2=720341&view=diff
==============================================================================
--- 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml
 (original)
+++ 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml
 Mon Nov 24 15:27:05 2008
@@ -3,11 +3,11 @@
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
     <modelVersion>4.0.0</modelVersion>
 
-   <groupId>${groupId}</groupId>
-   <artifactId>${artifactId}</artifactId>
-   <version>${version}</version>
-   <packaging>war</packaging>
-   <name>Struts 2 Blank Webapp</name>
+    <groupId>${groupId}</groupId>
+    <artifactId>${artifactId}</artifactId>
+    <version>${version}</version>
+    <packaging>war</packaging>
+    <name>Struts 2 Blank Webapp</name>
 
     <dependencies>
 
@@ -44,11 +44,11 @@
             <version>2.0</version>
             <scope>provided</scope>
         </dependency>
-        
+
         <dependency>
             <groupId>org.apache.struts</groupId>
             <artifactId>struts2-core</artifactId>
-            <version>2.0.11.2</version>
+            <version>2.0.14</version>
         </dependency>
 
     </dependencies>
@@ -58,7 +58,7 @@
             <plugin>
                 <groupId>org.mortbay.jetty</groupId>
                 <artifactId>maven-jetty-plugin</artifactId>
-                <version>6.1.11</version>
+                <version>6.1.14</version>
                 <configuration>
                     <scanIntervalSeconds>10</scanIntervalSeconds>
                 </configuration>

Modified: 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/java/example/ExampleSupport.java
URL: 
http://svn.apache.org/viewvc/struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/java/example/ExampleSupport.java?rev=720341&r1=720340&r2=720341&view=diff
==============================================================================
--- 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/java/example/ExampleSupport.java
 (original)
+++ 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/java/example/ExampleSupport.java
 Mon Nov 24 15:27:05 2008
@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information

Modified: 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/java/example/HelloWorld.java
URL: 
http://svn.apache.org/viewvc/struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/java/example/HelloWorld.java?rev=720341&r1=720340&r2=720341&view=diff
==============================================================================
--- 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/java/example/HelloWorld.java
 (original)
+++ 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/java/example/HelloWorld.java
 Mon Nov 24 15:27:05 2008
@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information

Modified: 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/java/example/Login.java
URL: 
http://svn.apache.org/viewvc/struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/java/example/Login.java?rev=720341&r1=720340&r2=720341&view=diff
==============================================================================
--- 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/java/example/Login.java
 (original)
+++ 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/java/example/Login.java
 Mon Nov 24 15:27:05 2008
@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information

Added: 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/resources/example/package_de.properties
URL: 
http://svn.apache.org/viewvc/struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/resources/example/package_de.properties?rev=720341&view=auto
==============================================================================
--- 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/resources/example/package_de.properties
 (added)
+++ 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/resources/example/package_de.properties
 Mon Nov 24 15:27:05 2008
@@ -0,0 +1,5 @@
+HelloWorld.message= Struts ist gestartet und verfügbar ...
+requiredstring = ${getText(fieldName)} ist ein Pflichtfeld.
+password = Passwort
+username = Benutzername
+Missing.message =  Diese Funktion ist noch nicht implementiert. Bitte 
versuchen Sie es in der nächsten Version nocheinmal.

Modified: 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
URL: 
http://svn.apache.org/viewvc/struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml?rev=720341&r1=720340&r2=720341&view=diff
==============================================================================
--- 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
 (original)
+++ 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
 Mon Nov 24 15:27:05 2008
@@ -1,5 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<web-app id="WebApp_9" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
+<web-app id="WebApp_9" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee";
+         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
 
     <display-name>Struts Blank</display-name>
 

Modified: 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/webapp/example/HelloWorld.jsp
URL: 
http://svn.apache.org/viewvc/struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/webapp/example/HelloWorld.jsp?rev=720341&r1=720340&r2=720341&view=diff
==============================================================================
--- 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/webapp/example/HelloWorld.jsp
 (original)
+++ 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/webapp/example/HelloWorld.jsp
 Mon Nov 24 15:27:05 2008
@@ -22,7 +22,19 @@
         </s:url>
         <s:a href="%{url}">Espanol</s:a>
     </li>
+    <li>
+        <s:url id="url" action="HelloWorld">
+            <s:param name="request_locale">de</s:param>
+        </s:url>
+        <s:a href="%{url}">Deutsch</s:a>
+    </li>
 </ul>
 
+<p>
+<s:url id="url" action="Welcome"/>
+<s:a href="%{url}">Welcome !</s:a>
+</p>
+
+
 </body>
 </html>

Modified: 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/test/java/example/ConfigTest.java
URL: 
http://svn.apache.org/viewvc/struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/test/java/example/ConfigTest.java?rev=720341&r1=720340&r2=720341&view=diff
==============================================================================
--- 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/test/java/example/ConfigTest.java
 (original)
+++ 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/test/java/example/ConfigTest.java
 Mon Nov 24 15:27:05 2008
@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information

Modified: 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/test/java/example/HelloWorldTest.java
URL: 
http://svn.apache.org/viewvc/struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/test/java/example/HelloWorldTest.java?rev=720341&r1=720340&r2=720341&view=diff
==============================================================================
--- 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/test/java/example/HelloWorldTest.java
 (original)
+++ 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/test/java/example/HelloWorldTest.java
 Mon Nov 24 15:27:05 2008
@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information

Modified: 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/test/java/example/LoginTest.java
URL: 
http://svn.apache.org/viewvc/struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/test/java/example/LoginTest.java?rev=720341&r1=720340&r2=720341&view=diff
==============================================================================
--- 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/test/java/example/LoginTest.java
 (original)
+++ 
struts/maven/branches/ARCHETYPES_2_0_X/struts2-archetype-blank/src/main/resources/archetype-resources/src/test/java/example/LoginTest.java
 Mon Nov 24 15:27:05 2008
@@ -1,6 +1,4 @@
 /*
- * $Id$
- *
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements.  See the NOTICE file
  * distributed with this work for additional information


Reply via email to