From ad947569c88db1febc60a6c7de8f52b1cdc11e81 Mon Sep 17 00:00:00 2001 From: Kenney Westerhof Date: Wed, 10 Aug 2005 09:16:23 +0000 Subject: [PATCH] MNG-692, continued: also update project.artifact.file for War. I'm leaving it alone for non-war (i.e. exploded/inplace webapp) generation. git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@231199 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/maven/plugin/war/WarMojo.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/maven-plugins/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/WarMojo.java b/maven-plugins/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/WarMojo.java index c06d747fdd..62b3c8b283 100644 --- a/maven-plugins/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/WarMojo.java +++ b/maven-plugins/maven-war-plugin/src/main/java/org/apache/maven/plugin/war/WarMojo.java @@ -256,6 +256,8 @@ public class WarMojo // create archive archiver.createArchive( project, archive ); + + project.getArtifact().setFile( warFile ); } } }