Skip to content

Commit

Permalink
Restore 'Main-Class' header in slf4j-migrator Manifest.MF
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
HannesWell authored and ceki committed Apr 9, 2023
1 parent 0b4d88e commit f871e7f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
16 changes: 16 additions & 0 deletions slf4j-migrator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
1 change: 0 additions & 1 deletion slf4j-migrator/src/main/resources/META-INF/MANIFEST.MF

This file was deleted.

0 comments on commit f871e7f

Please sign in to comment.