Repository: wicket Updated Branches: refs/heads/master 2b013c5d4 -> f250cad51
Use Maven resources filtering to set the Wicket version in the quickstart archetype's pom.xml Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/f250cad5 Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/f250cad5 Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/f250cad5 Branch: refs/heads/master Commit: f250cad51ea3334fab1e5bac7d92931f6e5b4e02 Parents: 2b013c5 Author: Martin Tzvetanov Grigorov <[email protected]> Authored: Tue Jan 31 21:27:13 2017 +0100 Committer: Martin Tzvetanov Grigorov <[email protected]> Committed: Tue Jan 31 21:27:13 2017 +0100 ---------------------------------------------------------------------- archetypes/quickstart/pom.xml | 14 ++++++++++++-- .../src/main/resources/archetype-resources/pom.xml | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/f250cad5/archetypes/quickstart/pom.xml ---------------------------------------------------------------------- diff --git a/archetypes/quickstart/pom.xml b/archetypes/quickstart/pom.xml index 88d858f..831aff5 100644 --- a/archetypes/quickstart/pom.xml +++ b/archetypes/quickstart/pom.xml @@ -29,8 +29,8 @@ <build> <resources> <resource> - <filtering>false</filtering> - <directory>${basedir}/src/main/resources</directory> + <filtering>true</filtering> + <directory>${project.basedir}/src/main/resources</directory> <includes> <include>**/*</include> </includes> @@ -48,6 +48,16 @@ <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-archetype-plugin</artifactId> </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-resources-plugin</artifactId> + <configuration> + <useDefaultDelimiters>false</useDefaultDelimiters> + <delimiters> + <delimiter>@</delimiter> + </delimiters> + </configuration> + </plugin> </plugins> </build> </project> http://git-wip-us.apache.org/repos/asf/wicket/blob/f250cad5/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml ---------------------------------------------------------------------- diff --git a/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml b/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml index cfb582e..d72a73b 100644 --- a/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml +++ b/archetypes/quickstart/src/main/resources/archetype-resources/pom.xml @@ -42,7 +42,7 @@ </license> </licenses> <properties> - <wicket.version>8.0.0-SNAPSHOT</wicket.version> + <wicket.version>@project.version@</wicket.version> <jetty9.version>9.4.0.v20161208</jetty9.version> <log4j.version>2.8</log4j.version> <junit.version>4.12</junit.version>
