-
-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include an automatic module name in the manifest #110
Comments
@frozen-chameleon Could you create a pull-request? I would publish it in Version 2.0.0-RC2. |
Unfortunately I do not have much experience with maven. I managed to add the entries by editing the pom.xml of each module.
A unique automatic-module-name has to be provided for each module. The naming depends mainly on how you want to structure the project. Some ideas: |
Thank you for your suggestion! I prefer the following module names: tinylog-api => org.tinylog.api |
I have added Automatic-Module-Name to all manifest files. @frozen-chameleon Can you test them, if they work as expected in your modular application? tinylog tinylog-2.0-SNAPSHOT.zip Third-Party Logging APIs slf4j-tinylog-2.0-SNAPSHOT.zip Web and Application Servers |
I tested As a side node: Windows Defender flagged tinylog-2.0, tinylog-kotlin-2.0 and tinylog-scala-2.0 snapshots as a virus (Trojan:Java/Tisifi.C). The flagged file is |
@frozen-chameleon Thank you for testing! Yes, that is a false positive that Windows Defender likes to report sometimes for unknown JAR files for any reason. I received it also for JARs of other projects in the past. As soon as Windows Defender has scanned such a JAR file on multiple but different PC, it will not be reported anymore. |
This closed issue has been locked automatically. However, please feel free to file a new issue. |
Adding an automatic-module-name manifest entry will make it easier to use tinylog in a modular java application without making tinylog a modular application itself.
The text was updated successfully, but these errors were encountered: