Restore 'Main-Class' header in slf4j-migrator Manifest.MF

Because the Manifest.MF did not have a terminating new-line it was
invalid and its content was ignored, thus the Main-Class entry was
missing.

To have less files in the project, generate the entry using the
maven-bundle-plugin.

Signed-off-by: Hannes Wellmann <wellmann.hannes1@gmx.net>
This commit is contained in:
Hannes Wellmann 2023-01-12 23:15:08 +01:00 committed by Ceki Gülcü
parent 0b4d88edef
commit f871e7f2e9
2 changed files with 16 additions and 1 deletions

View File

@ -16,4 +16,20 @@
<name>SLF4J Migrator</name>
<description>SLF4J Migrator</description>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Main-Class>org.slf4j.migrator.Main</Main-Class>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -1 +0,0 @@
Main-Class: org.slf4j.migrator.Main