directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smckin...@apache.org
Subject directory-fortress-commander git commit: FC-255 - [FORTRESS-WEB] Add -version to .war name
Date Mon, 05 Nov 2018 21:52:42 GMT
Repository: directory-fortress-commander
Updated Branches:
  refs/heads/master 033a4c8c9 -> 3be397161


FC-255 - [FORTRESS-WEB] Add -version to .war name


Project: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/repo
Commit: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/commit/3be39716
Tree: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/tree/3be39716
Diff: http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/diff/3be39716

Branch: refs/heads/master
Commit: 3be3971613c16f9e14530326fcea2b78fc387b57
Parents: 033a4c8
Author: Shawn McKinney <smckinney@apache.org>
Authored: Mon Nov 5 15:52:37 2018 -0600
Committer: Shawn McKinney <smckinney@apache.org>
Committed: Mon Nov 5 15:52:37 2018 -0600

----------------------------------------------------------------------
 pom.xml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/directory-fortress-commander/blob/3be39716/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index a08b88b..e8983e0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -282,7 +282,7 @@
         <artifactId>tomcat-maven-plugin</artifactId>
         <version>1.0-beta-1</version>
         <configuration>
-          <warFile>target/${project.artifactId}.war</warFile>
+          <warFile>target/${project.artifactId}-${version}.war</warFile>
           <server>local-tomcat</server>
           <url>http://localhost:8080/manager/text</url>
           <path>/${project.artifactId}</path>
@@ -307,9 +307,8 @@
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-war-plugin</artifactId>
         <version>2.4</version>
-        <!-- this is needed to pickup the context.xml in META-INF: -->
         <configuration>
-          <warName>${project.artifactId}</warName>
+          <warName>${project.artifactId}-${version}</warName>
           <archive>
             <manifest>
               <classpathPrefix>lib/</classpathPrefix>
@@ -322,7 +321,6 @@
               </directory>
             </resource>
           </webResources>
-          <!--<archiveClasses>true</archiveClasses>-->
           <attachClasses>true</attachClasses>
         </configuration>
       </plugin>


Mime
View raw message