diff --git a/archetypes/struts2-archetype-blank/pom.xml b/archetypes/struts2-archetype-blank/pom.xml index abcb8b398..4f8497ac7 100644 --- a/archetypes/struts2-archetype-blank/pom.xml +++ b/archetypes/struts2-archetype-blank/pom.xml @@ -28,12 +28,43 @@ src/main/resources true - **/pom.xml - **/archetype.xml - **/archetype-metadata.xml + **/*.* + + + + src/main/resources/archetype-resources/src + false + + **/*.* + + + + org.apache.maven.archetype + archetype-packaging + 2.0 + + + + + + + org.apache.maven.plugins + maven-resources-plugin + 2.5 + + \ + UTF-8 + + + + maven-archetype-plugin + 2.0 + + + diff --git a/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml b/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml index 7300549be..499187d87 100644 --- a/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml +++ b/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml @@ -2,11 +2,11 @@ 4.0.0 - ${groupId} - ${artifactId} - ${project.version} + \${groupId} + \${artifactId} + \${version} war - Struts 2 Blank Webapp + \${artifactId} ${project.version} @@ -17,19 +17,19 @@ org.apache.struts struts2-core - ${struts2.version} + \${struts2.version} org.apache.struts struts2-config-browser-plugin - ${struts2.version} + \${struts2.version} org.apache.struts struts2-junit-plugin - ${struts2.version} + \${struts2.version} test @@ -56,7 +56,7 @@ org.springframework spring-core - 2.5 + 3.0.5.RELEASE test diff --git a/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/resources/example/package_es.properties b/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/resources/example/package_es.properties index 316b12703..ce5d0833b 100644 --- a/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/resources/example/package_es.properties +++ b/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/src/main/resources/example/package_es.properties @@ -1,5 +1,5 @@ -HelloWorld.message = ¡Struts está bien!... +HelloWorld.message = \u00A1Struts est\u00E1 bien\!... requiredstring = ${getText(fieldName)} es requerido. -password = Contraseña +password = Contrase\u00F1a username = Nombre de Usuario -Missing.message = Página bajo construcción, trate de nuevo en la proxima versión +Missing.message = P\u00E1gina bajo construcci\u00F3n, trate de nuevo en la proxima versi\u00F3n. \ No newline at end of file diff --git a/archetypes/struts2-archetype-convention/pom.xml b/archetypes/struts2-archetype-convention/pom.xml index 4cab76890..dc5485f43 100644 --- a/archetypes/struts2-archetype-convention/pom.xml +++ b/archetypes/struts2-archetype-convention/pom.xml @@ -27,12 +27,43 @@ src/main/resources true - **/pom.xml - **/archetype.xml - **/archetype-metadata.xml + **/*.* + + + + src/main/resources/archetype-resources/src + false + + **/*.* + + + + org.apache.maven.archetype + archetype-packaging + 2.0 + + + + + + + org.apache.maven.plugins + maven-resources-plugin + 2.5 + + \ + UTF-8 + + + + maven-archetype-plugin + 2.0 + + + diff --git a/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml b/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml index 70e0ba5a8..51067e927 100644 --- a/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml +++ b/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml @@ -2,11 +2,11 @@ 4.0.0 - ${groupId} - ${artifactId} - ${project.version} + \${groupId} + \${artifactId} + \${version} war - Struts 2 Blank Convention Webapp + \${artifactId} ${project.version} @@ -17,26 +17,26 @@ org.apache.struts struts2-core - ${struts2.version} + \${struts2.version} org.apache.struts struts2-convention-plugin - ${struts2.version} + \${struts2.version} org.apache.struts struts2-junit-plugin - ${struts2.version} + \${struts2.version} test org.apache.struts struts2-config-browser-plugin - ${struts2.version} + \${struts2.version} diff --git a/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/src/main/resources/package_es.properties b/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/src/main/resources/package_es.properties index c42374043..ac6bef739 100644 --- a/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/src/main/resources/package_es.properties +++ b/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/src/main/resources/package_es.properties @@ -1,2 +1,2 @@ -hello.message = ¡Struts está bien!... +hello.message = \u00A1Struts est\u00E1 bien\!... requiredstring = ${getText(fieldName)} es requerido. diff --git a/archetypes/struts2-archetype-dbportlet/pom.xml b/archetypes/struts2-archetype-dbportlet/pom.xml index b14588fe7..4c9319d13 100644 --- a/archetypes/struts2-archetype-dbportlet/pom.xml +++ b/archetypes/struts2-archetype-dbportlet/pom.xml @@ -27,11 +27,43 @@ src/main/resources true - **/pom.xml - **/archetype.xml + **/*.* + + + + src/main/resources/archetype-resources/src + false + + **/*.* + + + + org.apache.maven.archetype + archetype-packaging + 2.0 + + + + + + + org.apache.maven.plugins + maven-resources-plugin + 2.5 + + \ + UTF-8 + + + + maven-archetype-plugin + 2.0 + + + diff --git a/archetypes/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml b/archetypes/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml index d469925b5..93042c801 100644 --- a/archetypes/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml +++ b/archetypes/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml @@ -2,11 +2,11 @@ 4.0.0 - ${groupId} - ${artifactId} - war - ${project.version} - Struts 2 Database Portlet + \${groupId} + \${artifactId} + \${version} + war + \${artifactId} http://www.myComp.com Struts 2 Database Portlet @@ -28,31 +28,31 @@ org.apache.struts struts2-core - ${struts2.version} + \${struts2.version} org.apache.struts struts2-portlet-plugin - ${struts2.version} + \${struts2.version} org.apache.struts struts2-convention-plugin - ${struts2.version} + \${struts2.version} org.apache.struts struts2-spring-plugin - ${struts2.version} + \${struts2.version} org.apache.struts struts2-config-browser-plugin - ${struts2.version} + \${struts2.version} diff --git a/archetypes/struts2-archetype-plugin/pom.xml b/archetypes/struts2-archetype-plugin/pom.xml index c462f25a1..e56f76bc6 100644 --- a/archetypes/struts2-archetype-plugin/pom.xml +++ b/archetypes/struts2-archetype-plugin/pom.xml @@ -27,11 +27,43 @@ src/main/resources true - **/pom.xml - **/archetype.xml + **/*.* + + + + src/main/resources/archetype-resources/src + false + + **/*.* + + + + org.apache.maven.archetype + archetype-packaging + 2.0 + + + + + + + org.apache.maven.plugins + maven-resources-plugin + 2.5 + + \ + UTF-8 + + + + maven-archetype-plugin + 2.0 + + + diff --git a/archetypes/struts2-archetype-plugin/src/main/resources/archetype-resources/pom.xml b/archetypes/struts2-archetype-plugin/src/main/resources/archetype-resources/pom.xml index 8df67b56c..b67d04d9a 100644 --- a/archetypes/struts2-archetype-plugin/src/main/resources/archetype-resources/pom.xml +++ b/archetypes/struts2-archetype-plugin/src/main/resources/archetype-resources/pom.xml @@ -3,10 +3,11 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - ${groupId} - ${artifactId} - ${project.version} - Struts 2 Plugin + \${groupId} + \${artifactId} + \${version} + jar + \${artifactId} diff --git a/archetypes/struts2-archetype-portlet/pom.xml b/archetypes/struts2-archetype-portlet/pom.xml index ed99aad05..2523df7df 100644 --- a/archetypes/struts2-archetype-portlet/pom.xml +++ b/archetypes/struts2-archetype-portlet/pom.xml @@ -27,11 +27,43 @@ src/main/resources true - **/pom.xml - **/archetype.xml + **/*.* + + + + src/main/resources/archetype-resources/src + false + + **/*.* + + + + org.apache.maven.archetype + archetype-packaging + 2.0 + + + + + + + org.apache.maven.plugins + maven-resources-plugin + 2.5 + + \ + UTF-8 + + + + maven-archetype-plugin + 2.0 + + + diff --git a/archetypes/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml b/archetypes/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml index 0424c4da8..1a6bd00ca 100644 --- a/archetypes/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml +++ b/archetypes/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml @@ -3,11 +3,11 @@ 4.0.0 - ${groupId} - ${artifactId} + \${groupId} + \${artifactId} + \${version} war - My Portlet Application - ${project.version} + \${artifactId} ${project.version} @@ -19,19 +19,19 @@ org.apache.struts struts2-core - ${struts2.version} + \${struts2.version} org.apache.struts struts2-portlet-plugin - ${struts2.version} + \${struts2.version} org.apache.struts struts2-config-browser-plugin - ${struts2.version} + \${struts2.version} diff --git a/archetypes/struts2-archetype-starter/pom.xml b/archetypes/struts2-archetype-starter/pom.xml index a2d6e20a5..8beaed8e1 100644 --- a/archetypes/struts2-archetype-starter/pom.xml +++ b/archetypes/struts2-archetype-starter/pom.xml @@ -29,11 +29,43 @@ src/main/resources true - **/pom.xml - **/archetype.xml + **/*.* + + + + src/main/resources/archetype-resources/src + false + + **/*.* + + + + org.apache.maven.archetype + archetype-packaging + 2.0 + + + + + + + org.apache.maven.plugins + maven-resources-plugin + 2.5 + + \ + UTF-8 + + + + maven-archetype-plugin + 2.0 + + + diff --git a/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml b/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml index 15df61b72..8cf3756ae 100644 --- a/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml +++ b/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml @@ -2,12 +2,11 @@ 4.0.0 - ${groupId} - ${artifactId} - war - ${project.version} - Struts 2 Starter - http://www.myComp.com + \${groupId} + \${artifactId} + \${version} + war + \${artifactId} Struts 2 Starter @@ -27,25 +26,25 @@ org.apache.struts struts2-core - ${struts2.version} + \${struts2.version} org.apache.struts struts2-sitemesh-plugin - ${struts2.version} + \${struts2.version} org.apache.struts struts2-spring-plugin - ${struts2.version} + \${struts2.version} org.apache.struts struts2-config-browser-plugin - ${struts2.version} + \${struts2.version}