Skip to content

Commit 6b30231

Browse files
authored
Update pom.xml
1 parent dbba6e7 commit 6b30231

1 file changed

Lines changed: 28 additions & 20 deletions

File tree

web/undertow/simple/pom.xml

Lines changed: 28 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
<modelVersion>4.0.0</modelVersion>
77

88
<groupId>com.zetcode</groupId>
9-
<artifactId>undertowsimple</artifactId>
9+
<artifactId>UndertowSimple</artifactId>
1010
<version>1.0-SNAPSHOT</version>
1111

1212
<properties>
1313
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14-
<maven.compiler.source>12</maven.compiler.source>
15-
<maven.compiler.target>12</maven.compiler.target>
14+
<maven.compiler.source>13</maven.compiler.source>
15+
<maven.compiler.target>13</maven.compiler.target>
1616
</properties>
1717

1818
<dependencies>
@@ -25,22 +25,30 @@
2525

2626
</dependencies>
2727

28-
<!-- <build>-->
29-
<!-- <plugins>-->
30-
<!-- <plugin>-->
31-
<!-- <groupId>org.apache.maven.plugins</groupId>-->
32-
<!-- <artifactId>maven-shade-plugin</artifactId>-->
33-
<!-- <version>3.2.1</version>-->
34-
<!-- <executions>-->
35-
<!-- <execution>-->
36-
<!-- <phase>package</phase>-->
37-
<!-- <goals>-->
38-
<!-- <goal>shade</goal>-->
39-
<!-- </goals>-->
40-
<!-- </execution>-->
41-
<!-- </executions>-->
42-
<!-- </plugin>-->
43-
<!-- </plugins>-->
44-
<!-- </build>-->
28+
<build>
29+
<plugins>
30+
<plugin>
31+
<groupId>org.apache.maven.plugins</groupId>
32+
<artifactId>maven-shade-plugin</artifactId>
33+
<version>3.2.4</version>
34+
<executions>
35+
<execution>
36+
<phase>package</phase>
37+
<goals>
38+
<goal>shade</goal>
39+
</goals>
40+
<configuration>
41+
<transformers>
42+
<transformer
43+
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
44+
<mainClass>com.zetcode.UndertowSimple</mainClass>
45+
</transformer>
46+
</transformers>
47+
</configuration>
48+
</execution>
49+
</executions>
50+
</plugin>
51+
</plugins>
52+
</build>
4553

4654
</project>

0 commit comments

Comments
 (0)