Closed sormuras closed 2 years ago
Running java -jar japicmp-0.15.7.jar yields:
java -jar japicmp-0.15.7.jar
no main manifest attribute, in japicmp-0.15.7.jar
The contents of META-INF/MANIFEST.MF read:
META-INF/MANIFEST.MF
Manifest-Version: 1.0 Created-By: Apache Maven 3.8.4 Built-By: runner Build-Jdk: 11.0.14
Note that specifying the main class via java -cp japicmp-0.15.7.jar japicmp.JApiCmp works as expected:
java -cp japicmp-0.15.7.jar japicmp.JApiCmp
E: Required option -o, --old is missing. See '--help' or '-h' for more information.
Seems like the following plugin configuration is not executed or overridden or ... who knows? ;-)
https://github.com/siom79/japicmp/blob/7bd794e05189c800e58fc4cd526d97479ef59811/japicmp/pom.xml#L59-L66
Using japicmp-0.15.7-jar-with-dependencies.jar everything works as expected.
japicmp-0.15.7-jar-with-dependencies.jar
Please pardon the noise.
Running
java -jar japicmp-0.15.7.jar
yields:The contents of
META-INF/MANIFEST.MF
read:Note that specifying the main class via
java -cp japicmp-0.15.7.jar japicmp.JApiCmp
works as expected: