diff --git a/pom.xml b/pom.xml
index afcc6db8d965db7e815a471e85e8ff370dc018d0..abfd976aff7464b305f7f37c9ca959104ae18055 100644
--- a/pom.xml
+++ b/pom.xml
@@ -272,6 +272,7 @@
     <!-- Maven plugin versions are mentioned in order to guarantee the build reproducibility in the long term -->
     <build>
         <defaultGoal>install</defaultGoal>
+        <finalName>petclinic</finalName>
         <testResources>
             <testResource>
                 <!-- declared explicitly so Spring config files can be placed next to their corresponding JUnit test class  -->
@@ -311,7 +312,6 @@
                 <artifactId>maven-war-plugin</artifactId>
                 <version>2.3</version>
                 <configuration>
-                    <warName>petclinic</warName>
                     <failOnMissingWebXml>false</failOnMissingWebXml>
                 </configuration>
             </plugin>