From 386ea93823e473a2a04c4420ceecd411db2b2f35 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Fri, 4 Mar 2011 08:01:18 +0000 Subject: [PATCH] Adjusts poms to Maven 3 to avoid warnings git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1077840 13f79535-47bb-0310-9956-ffa450edef68 --- apps/jboss-blank/pom.xml | 4 +- apps/mailreader/pom.xml | 2 +- apps/pom.xml | 8 +- apps/portlet/pom.xml | 6 +- apps/rest-showcase/pom.xml | 4 +- apps/showcase/pom.xml | 18 +-- .../resources/archetype-resources/pom.xml | 2 +- .../resources/archetype-resources/pom.xml | 2 +- .../resources/archetype-resources/pom.xml | 2 +- .../resources/archetype-resources/pom.xml | 2 +- .../resources/archetype-resources/pom.xml | 2 +- .../resources/archetype-resources/pom.xml | 2 +- assembly/pom.xml | 106 +++++++++--------- bundles/admin/pom.xml | 2 +- bundles/demo/pom.xml | 6 +- bundles/pom.xml | 2 +- plugins/javatemplates/pom.xml | 2 +- plugins/pom.xml | 2 +- pom.xml | 2 + 19 files changed, 89 insertions(+), 87 deletions(-) diff --git a/apps/jboss-blank/pom.xml b/apps/jboss-blank/pom.xml index 7b99baa87..7b79715bd 100644 --- a/apps/jboss-blank/pom.xml +++ b/apps/jboss-blank/pom.xml @@ -55,9 +55,9 @@ provided - ${pom.groupId} + ${project.groupId} struts2-junit-plugin - ${pom.version} + ${project.version} test diff --git a/apps/mailreader/pom.xml b/apps/mailreader/pom.xml index 53be72ae4..b6767a4af 100644 --- a/apps/mailreader/pom.xml +++ b/apps/mailreader/pom.xml @@ -48,7 +48,7 @@ - ${pom.groupId} + ${project.groupId} struts-mailreader-dao 1.3.5 diff --git a/apps/pom.xml b/apps/pom.xml index a5c5753ef..6a772edc9 100644 --- a/apps/pom.xml +++ b/apps/pom.xml @@ -179,10 +179,10 @@ process-sources - + - + @@ -212,7 +212,7 @@ - ${pom.artifactId} + ${project.artifactId} @@ -221,7 +221,7 @@ org.apache.struts struts2-core - ${pom.version} + ${project.version} diff --git a/apps/portlet/pom.xml b/apps/portlet/pom.xml index ee40f108f..ccf75046a 100644 --- a/apps/portlet/pom.xml +++ b/apps/portlet/pom.xml @@ -101,17 +101,17 @@ org.apache.struts struts2-spring-plugin - ${pom.version} + ${project.version} org.apache.struts struts2-portlet-plugin - ${pom.version} + ${project.version} org.apache.struts struts2-dwr-plugin - ${pom.version} + ${project.version} diff --git a/apps/rest-showcase/pom.xml b/apps/rest-showcase/pom.xml index 627a612de..be67b194f 100644 --- a/apps/rest-showcase/pom.xml +++ b/apps/rest-showcase/pom.xml @@ -40,12 +40,12 @@ org.apache.struts struts2-rest-plugin - ${pom.version} + ${project.version} org.apache.struts struts2-convention-plugin - ${pom.version} + ${project.version} junit diff --git a/apps/showcase/pom.xml b/apps/showcase/pom.xml index 310eaaa09..282844276 100644 --- a/apps/showcase/pom.xml +++ b/apps/showcase/pom.xml @@ -56,43 +56,43 @@ org.apache.struts struts2-struts1-plugin - ${pom.version} + ${project.version} org.apache.struts struts2-dojo-plugin - ${pom.version} + ${project.version} org.apache.struts struts2-jsf-plugin - ${pom.version} + ${project.version} org.apache.struts struts2-config-browser-plugin - ${pom.version} + ${project.version} org.apache.struts struts2-sitemesh-plugin - ${pom.version} + ${project.version} org.apache.struts struts2-tiles-plugin - ${pom.version} + ${project.version} org.apache.struts struts2-dwr-plugin - ${pom.version} + ${project.version} @@ -105,13 +105,13 @@ org.apache.struts struts2-codebehind-plugin - ${pom.version} + ${project.version} org.apache.struts struts2-spring-plugin - ${pom.version} + ${project.version} 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 5d456debb..bb2bba821 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 @@ -4,7 +4,7 @@ 4.0.0 ${groupId} ${artifactId} - ${version} + ${project.version} war Struts 2 Blank Webapp 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 642e1cfb7..d96224bff 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 @@ -4,7 +4,7 @@ 4.0.0 ${groupId} ${artifactId} - ${version} + ${project.version} war Struts 2 Blank Convention Webapp 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 54a8ac392..e01d01d68 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 @@ -5,7 +5,7 @@ ${groupId} ${artifactId} war - ${version} + ${project.version} Struts 2 Database Portlet http://www.myComp.com Struts 2 Database Portlet 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 de0a6dc92..8df67b56c 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 @@ -5,7 +5,7 @@ ${groupId} ${artifactId} - ${version} + ${project.version} Struts 2 Plugin 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 fe67230e2..775c871fa 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 @@ -7,7 +7,7 @@ ${artifactId} war My Portlet Application - ${version} + ${project.version} ${project.version} 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 04972ab56..5a5efcab1 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 @@ -5,7 +5,7 @@ ${groupId} ${artifactId} war - ${version} + ${project.version} Struts 2 Starter http://www.myComp.com Struts 2 Starter diff --git a/assembly/pom.xml b/assembly/pom.xml index 099c95814..8ba369cf6 100644 --- a/assembly/pom.xml +++ b/assembly/pom.xml @@ -46,7 +46,7 @@ src/main/assembly/src.xml src/main/assembly/docs.xml - struts-${version} + struts-${project.version} target/assembly/out target/assembly/work @@ -72,7 +72,7 @@ org.apache.struts.xwork xwork-core - ${version} + ${project.version} jar jdk14 runtime @@ -81,119 +81,119 @@ org.apache.struts struts2-core - ${version} + ${project.version} jdk14 org.apache.struts struts2-config-browser-plugin - ${version} + ${project.version} jdk14 org.apache.struts struts2-jasperreports-plugin - ${version} + ${project.version} jdk14 org.apache.struts struts2-jfreechart-plugin - ${version} + ${project.version} jdk14 org.apache.struts struts2-jsf-plugin - ${version} + ${project.version} jdk14 org.apache.struts struts2-pell-multipart-plugin - ${version} + ${project.version} jdk14 org.apache.struts struts2-plexus-plugin - ${version} + ${project.version} jdk14 org.apache.struts struts2-sitegraph-plugin - ${version} + ${project.version} jdk14 org.apache.struts struts2-sitemesh-plugin - ${version} + ${project.version} jdk14 org.apache.struts struts2-struts1-plugin - ${version} + ${project.version} jdk14 org.apache.struts struts2-tiles-plugin - ${version} + ${project.version} jdk14 org.apache.struts struts2-rest-plugin - ${version} + ${project.version} jdk14 org.apache.struts struts2-oval-plugin - ${version} + ${project.version} jdk14 org.apache.struts struts2-osgi-plugin - ${version} + ${project.version} jdk14 org.apache.struts struts2-json-plugin - ${version} + ${project.version} jdk14 org.apache.struts struts2-embeddedjsp-plugin - ${version} + ${project.version} jdk14 org.apache.struts struts2-gxp-plugin - ${version} + ${project.version} jdk14 @@ -218,37 +218,37 @@ org.apache.struts struts2-blank - ${version} + ${project.version} war org.apache.struts struts2-mailreader - ${version} + ${project.version} war org.apache.struts struts2-portlet - ${version} + ${project.version} war org.apache.struts struts2-showcase - ${version} + ${project.version} war org.apache.struts struts2-rest-showcase - ${version} + ${project.version} war org.apache.struts struts2-mailreader - ${version} + ${project.version} war @@ -313,7 +313,7 @@ src/main/assembly/src.xml src/main/assembly/docs.xml - struts-${version} + struts-${project.version} target/assembly/out target/assembly/work @@ -326,162 +326,162 @@ org.apache.struts struts2-codebehind-plugin - ${version} + ${project.version} org.apache.struts struts2-convention-plugin - ${version} + ${project.version} org.apache.struts struts2-javatemplates-plugin - ${version} + ${project.version} org.apache.struts struts2-config-browser-plugin - ${version} + ${project.version} org.apache.struts struts2-dojo-plugin - ${version} + ${project.version} org.apache.struts struts2-dwr-plugin - ${version} + ${project.version} org.apache.struts struts2-jasperreports-plugin - ${version} + ${project.version} org.apache.struts struts2-jfreechart-plugin - ${version} + ${project.version} org.apache.struts struts2-jsf-plugin - ${version} + ${project.version} org.apache.struts struts2-junit-plugin - ${version} + ${project.version} org.apache.struts struts2-pell-multipart-plugin - ${version} + ${project.version} org.apache.struts struts2-plexus-plugin - ${version} + ${project.version} org.apache.struts struts2-portlet-plugin - ${version} + ${project.version} org.apache.struts struts2-rest-plugin - ${version} + ${project.version} org.apache.struts struts2-sitegraph-plugin - ${version} + ${project.version} org.apache.struts struts2-sitemesh-plugin - ${version} + ${project.version} org.apache.struts struts2-spring-plugin - ${version} + ${project.version} org.apache.struts struts2-struts1-plugin - ${version} + ${project.version} org.apache.struts struts2-testng-plugin - ${version} + ${project.version} org.apache.struts struts2-tiles-plugin - ${version} + ${project.version} org.apache.struts struts2-oval-plugin - ${version} + ${project.version} org.apache.struts struts2-json-plugin - ${version} + ${project.version} org.apache.struts struts2-embeddedjsp-plugin - ${version} + ${project.version} org.apache.struts struts2-gxp-plugin - ${version} + ${project.version} org.apache.struts struts2-osgi-plugin - ${version} + ${project.version} org.apache.struts struts2-osgi-admin-bundle - ${version} + ${project.version} org.apache.struts struts2-osgi-demo-bundle - ${version} + ${project.version} diff --git a/bundles/admin/pom.xml b/bundles/admin/pom.xml index dbd3f5890..c161ca293 100644 --- a/bundles/admin/pom.xml +++ b/bundles/admin/pom.xml @@ -21,7 +21,7 @@ org.apache.struts struts2-osgi-plugin - ${pom.version} + ${project.version} diff --git a/bundles/demo/pom.xml b/bundles/demo/pom.xml index 122021b72..f7d9c77be 100644 --- a/bundles/demo/pom.xml +++ b/bundles/demo/pom.xml @@ -44,19 +44,19 @@ org.apache.struts struts2-core - ${pom.version} + ${project.version} org.apache.struts struts2-convention-plugin - ${pom.version} + ${project.version} org.apache.struts struts2-osgi-plugin - ${pom.version} + ${project.version} diff --git a/bundles/pom.xml b/bundles/pom.xml index 5bcbc9c4b..84dabeb97 100755 --- a/bundles/pom.xml +++ b/bundles/pom.xml @@ -49,7 +49,7 @@ org.apache.struts struts2-core - ${pom.version} + ${project.version} diff --git a/plugins/javatemplates/pom.xml b/plugins/javatemplates/pom.xml index c8173ee6a..5f25225a6 100644 --- a/plugins/javatemplates/pom.xml +++ b/plugins/javatemplates/pom.xml @@ -21,7 +21,7 @@ org.apache.struts struts2-core - ${pom.version} + ${project.version} commons-lang diff --git a/plugins/pom.xml b/plugins/pom.xml index d850c2f77..3d6e29d6a 100644 --- a/plugins/pom.xml +++ b/plugins/pom.xml @@ -72,7 +72,7 @@ org.apache.struts struts2-core - ${pom.version} + ${project.version} diff --git a/pom.xml b/pom.xml index 7fc897f8c..27a800f5b 100644 --- a/pom.xml +++ b/pom.xml @@ -320,6 +320,7 @@ maven-surefire-report-plugin + 2.6