-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Add Automatic Module Name #1199
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
Comments
The |
Hi @eddumelendez @kazuki43zoo , |
Hi @harawata I just updated the WDYT? |
Thank you for the update, @eddumelendez !
I like the idea. |
Hi, I haven't messed around with modules yet. What is the thinking on what would go in the parent and how does that impact the downstreams? |
I guess no one is sure about it. :D By the way, what's the module name? |
module name use to be the |
Yeah, that's how module name is calculated from the JAR name implicitly. I'm not sure why Spring chose the filename-based module name, but there must have been a good reason. |
Attaches the issue link. |
I've investigated an "Automatic-Module-Name" on some libraries.
|
👍 I think better that a module name start with e.g.) mybatis -> org.mybatis or org.mybatis.core WDYT? |
Thanks @kazuki43zoo for the link. 'core' seems unnecessary. So, +1 to 'org.mybatis'. |
It's been a while, so I assume that everyone is OK with the reverse DNS naming rule. :) @hazendaz , <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestEntries>
<Automatic-Module-Name>${module.name}</Automatic-Module-Name>
</manifestEntries>
</archive>
</configuration>
</plugin> And in each subproject, declare the property. <properties>
...
<module.name>org.mybatis</module.name>
...
</properties> |
Current version is using
sun.misc.Unsafe
. We should get remove this before to UseAutomatic-Module-Name
entryThe text was updated successfully, but these errors were encountered: