Skip to content

Commit

Permalink
Resolve warning for shade plugin that copies *.MF to pojo-plugin jar
Browse files Browse the repository at this point in the history
  • Loading branch information
nahkd123 committed Feb 17, 2024
1 parent 2e9e901 commit c9d26f6
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
18 changes: 17 additions & 1 deletion pojo-plugin/dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<plugins>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.0</version>
<version>3.5.1</version>
<executions>
<execution>
<phase>package</phase>
Expand All @@ -21,6 +21,22 @@
</goals>
</execution>
</executions>
<configuration>
<filters>
<filter>
<artifact>xyz.mangostudio:*</artifact>
<excludes>
<exclude>META-INF/*.MF</exclude>
</excludes>
</filter>
<filter>
<artifact>io.github.nahkd123:pojo-api</artifact>
<excludes>
<exclude>META-INF/*.MF</exclude>
</excludes>
</filter>
</filters>
</configuration>
</plugin>
</plugins>
</build>
Expand Down
18 changes: 17 additions & 1 deletion pojo-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.0</version>
<version>3.5.1</version>
<executions>
<execution>
<phase>package</phase>
Expand All @@ -36,6 +36,22 @@
</goals>
</execution>
</executions>
<configuration>
<filters>
<filter>
<artifact>xyz.mangostudio:*</artifact>
<excludes>
<exclude>META-INF/*.MF</exclude>
</excludes>
</filter>
<filter>
<artifact>io.github.nahkd123:pojo-api</artifact>
<excludes>
<exclude>META-INF/*.MF</exclude>
</excludes>
</filter>
</filters>
</configuration>
</plugin>
</plugins>
</build>
Expand Down

0 comments on commit c9d26f6

Please sign in to comment.