I am using the following build plugin to redirect my war file into tomcat webapps dir. But this is a personal choice and breaks other devs' build. Is there a way to gitignore just this part in pom.xml
file?
<build>
...
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<webappDirectory>../tomcat/webapps/shared-project/</webappDirectory>
</configuration>
</plugin>
</plugins>
</build>