Skip to content

Commit

Permalink
fix: move maven-war-plugin to parent-project
Browse files Browse the repository at this point in the history
  • Loading branch information
khalilou88 committed Nov 23, 2023
1 parent c8c8eca commit 08d0907
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,24 +71,6 @@
</dependency>
</dependencies>
</plugin>

<% if(dependencyManagement === 'bom' && packaging === 'war') { -%>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>${maven-war-plugin.version}</version>
<configuration>
<archive>
<manifest>
<mainClass>${start-class}</mainClass>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<% } -%>


</plugins>
</build>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,20 @@
<mainClass>${start-class}</mainClass>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>${maven-war-plugin.version}</version>
<configuration>
<archive>
<manifest>
<mainClass>${start-class}</mainClass>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
</plugin>
<% if(language === 'kotlin' || language === 'java-kotlin') { -%>
<plugin>
<groupId>org.jetbrains.kotlin</groupId>
Expand Down

0 comments on commit 08d0907

Please sign in to comment.