cbeust / jcommander

Command line parsing framework for Java
Apache License 2.0
1.94k stars 332 forks source link

Unknown class files in released jar #553

Closed npetzall closed 10 months ago

npetzall commented 1 year ago

Downloading version 1.82 from Maven Central https://repo1.maven.org/maven2/com/beust/jcommander/1.82/jcommander-1.82.jar

Opening this file in 7Zip reveals that there is a sibling package to jcommander named ah

image

ah contains 2 class-files. A.class and Pair.class

image

I'm unable to track down where these classes come from, and why they are there. Can you advice?

They are not present in version 1.81

mkarg commented 10 months ago

Thank you for reporting this issue! It seems it meanwhile was fixed, as I could not see that files in latest 1.83. :-)

npetzall commented 10 months ago

@mkarg I think it was related to the build environment for that release.

New version is different group id on maven right?

mkarg commented 10 months ago

New version is different group id on maven right?

Yes, since 1.84 we are publishing as groupId org.jcommander.