Skip to content

Commit

Permalink
use jar plugin to add MainClass information in MANIFEST.MF instead of…
Browse files Browse the repository at this point in the history
… the fleix plugin, see SLF4J-594

Signed-off-by: Ceki Gulcu <ceki@qos.ch>
  • Loading branch information
ceki committed Jul 11, 2023
1 parent 6fd9db9 commit 06fa09a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions slf4j-migrator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,15 @@
<plugins>

<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${maven-jar-plugin.version}</version>
<configuration>
<instructions>
<Main-Class>org.slf4j.migrator.Main</Main-Class>
</instructions>
<archive>
<manifest>
<mainClass>org.slf4j.migrator.Main</mainClass>
</manifest>
</archive>
</configuration>
</plugin>

Expand Down

0 comments on commit 06fa09a

Please sign in to comment.