siom79 / japicmp

Comparison of two versions of a jar archive
https://siom79.github.io/japicmp
Apache License 2.0
712 stars 107 forks source link

Add user properties for more/all of the configuration parameters #261

Open wirew0rm opened 4 years ago

wirew0rm commented 4 years ago

Hey there, I'm trying to use the plugin on an existing maven project from the command line to check if there are any api differences compared to the latest relase with the following command:

mvn com.github.siom79.japicmp:japicmp-maven-plugin:0.14.3:cmp

But I need the maven plugin equivalent of the --ignore-missing-classes flag (or --new/old-classpath). I tried -Djapicmp.ignoreMissingClasses=true but this seems not to be implemented as it is also not listed in the documentation.

I do not want to add it permanently to the POM, at least not right away. Is there any other way to do this or would it be possible/desired to expose the other configuration parameters?

Thanks for this great tool, I could not use it yet, but the examples look exactly like the things I was looking for :+1: