Skip to content

Commit

Permalink
do not use bootique-parent, it leaks Java 8 settings
Browse files Browse the repository at this point in the history
andrus committed Feb 7, 2022
1 parent aa80321 commit 0383fe1
Showing 1 changed file with 35 additions and 7 deletions.
42 changes: 35 additions & 7 deletions jetty-servlets-filters-demo/pom.xml
Original file line number Diff line number Diff line change
@@ -4,12 +4,6 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>io.bootique.parent</groupId>
<artifactId>bootique-parent</artifactId>
<version>0.14</version>
</parent>

<groupId>io.bootique.jetty.demo</groupId>
<artifactId>jetty-servlets-filters-demo</artifactId>
<version>2.0.RC1</version>
@@ -53,9 +47,43 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.9.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>

<configuration>
<createDependencyReducedPom>true</createDependencyReducedPom>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>${main.class}</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>

<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>

0 comments on commit 0383fe1

Please sign in to comment.