From 53d3f1395e7fa53c0901d7c5331548847f123523 Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Tue, 29 Mar 2011 09:14:06 +0000 Subject: [PATCH] Now using filtering in archetype to resolve version, instead of hardcoded version --- archetype/pom.xml | 12 ++++++++++++ .../archetype-resources/pom.xml | 12 ++++++------ parent/pom.xml | 7 +++++++ 3 files changed, 25 insertions(+), 6 deletions(-) rename archetype/src/main/{resources => filtered-resources}/archetype-resources/pom.xml (80%) diff --git a/archetype/pom.xml b/archetype/pom.xml index 7cacf42f..d7f4c86e 100644 --- a/archetype/pom.xml +++ b/archetype/pom.xml @@ -11,4 +11,16 @@ jar Spring WS Archetype Spring Web Services Maven2 Archetype. + + + + src/main/resources + false + + + src/main/filtered-resources + true + + + diff --git a/archetype/src/main/resources/archetype-resources/pom.xml b/archetype/src/main/filtered-resources/archetype-resources/pom.xml similarity index 80% rename from archetype/src/main/resources/archetype-resources/pom.xml rename to archetype/src/main/filtered-resources/archetype-resources/pom.xml index 68aaac69..dd1240a7 100644 --- a/archetype/src/main/resources/archetype-resources/pom.xml +++ b/archetype/src/main/filtered-resources/archetype-resources/pom.xml @@ -2,14 +2,14 @@ 4.0.0 - ${groupId} - ${artifactId} + \${groupId} + \${artifactId} war - ${version} - ${artifactId} Spring-WS Application + \${version} + \${artifactId} Spring-WS Application http://www.springframework.org/spring-ws - ${artifactId} + \${artifactId} maven-compiler-plugin @@ -29,7 +29,7 @@ org.springframework.ws spring-ws-core - 2.0.0.RELEASE + @project.version@ diff --git a/parent/pom.xml b/parent/pom.xml index b0a1dcbf..7e3409e9 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -79,6 +79,13 @@ maven-jar-plugin 2.3 + + maven-resources-plugin + 2.5 + + \ + + com.springsource.bundlor com.springsource.bundlor.maven