Fix POMs, build vanilla .wars instead of Spring Boot ones
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<parent>
|
||||
<groupId>de.77zzcx7.financer</groupId>
|
||||
<artifactId>financer-parent</artifactId>
|
||||
<version>38-SNAPSHOT<</version>
|
||||
<version>38-SNAPSHOT</version>
|
||||
</parent>
|
||||
|
||||
<artifactId>financer-web-client</artifactId>
|
||||
@@ -99,7 +99,34 @@
|
||||
<finalName>financer</finalName>
|
||||
</properties>
|
||||
<build>
|
||||
<finalName>${finalName}-${deploymentProfile}##${parallelDeploymentVersion}</finalName>
|
||||
<plugins>
|
||||
<!--
|
||||
Skip this as we do not need an executable .war file as we are running it in a standalone Tomcat
|
||||
-->
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<!--
|
||||
Instead, package it as regular .war file but with a classifier so we can have multiple artifacts
|
||||
of the same version matching the deployment profiles (77zzcx7 Nexus does not allow redeploy of
|
||||
releases for example)
|
||||
-->
|
||||
<plugin>
|
||||
<artifactId>maven-war-plugin</artifactId>
|
||||
<configuration>
|
||||
<classifier>${deploymentProfile}</classifier>
|
||||
<archive>
|
||||
<manifest>
|
||||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||||
</manifest>
|
||||
</archive>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
||||
Reference in New Issue
Block a user