You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by th...@apache.org on 2022/02/04 21:01:29 UTC

[tapestry-5] branch master updated: TAP5-2701: Configure maven-war-plugin in Quickstart pom.xml

This is an automated email from the ASF dual-hosted git repository.

thiagohp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git


The following commit(s) were added to refs/heads/master by this push:
     new 7f4057e  TAP5-2701: Configure maven-war-plugin in Quickstart pom.xml
7f4057e is described below

commit 7f4057e158ae06e9c13a1b6c530887f5fcc620ce
Author: Thiago H. de Paula Figueiredo <th...@arsmachina.com.br>
AuthorDate: Fri Feb 4 18:01:14 2022 -0300

    TAP5-2701: Configure maven-war-plugin in Quickstart pom.xml
---
 quickstart/build.gradle                                            | 1 +
 quickstart/src/main/resources-filtered/archetype-resources/pom.xml | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/quickstart/build.gradle b/quickstart/build.gradle
index 2229aac..f10ef7f 100644
--- a/quickstart/build.gradle
+++ b/quickstart/build.gradle
@@ -59,6 +59,7 @@ task processFiltered(type: Copy) {
         servletVersion: '3.1.0',
         mavenCompilerVersion: '3.8.1',
         mavenSurefireVersion: '3.0.0-M5',
+        mavenWarVersion: '3.3.1',
         mavenJettyVersion: '10.0.6',
         grettyVersion: '3.0.6'
     ])
diff --git a/quickstart/src/main/resources-filtered/archetype-resources/pom.xml b/quickstart/src/main/resources-filtered/archetype-resources/pom.xml
index 86624f4..a1214b5 100644
--- a/quickstart/src/main/resources-filtered/archetype-resources/pom.xml
+++ b/quickstart/src/main/resources-filtered/archetype-resources/pom.xml
@@ -18,6 +18,7 @@
         <servlet-version>@servletVersion@</servlet-version>
         <maven-compiler-version>@mavenCompilerVersion@</maven-compiler-version>
         <maven-surefire-version>@mavenSurefireVersion@</maven-surefire-version>
+        <maven-war-version>@mavenWarVersion@</maven-war-version>
         <maven-jetty-version>@mavenJettyVersion@</maven-jetty-version>
     </properties>
     <repositories>
@@ -160,6 +161,11 @@
                     </execution>
                 </executions>
             </plugin>
+			<plugin>
+			    <groupId>org.apache.maven.plugins</groupId>
+			    <artifactId>maven-war-plugin</artifactId>
+			    <version>${maven-war-version}</version>
+			</plugin>            
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>