This PR adds property definitions to the AbstractProtocMojo fields checkStaleness and staleMillis for use from the maven CLI (mvn). The need for this change came about while trying to improve the maven build times for the backend at my work, and I noticed I couldn't change the checkStaleness configuration property, as I might in other maven plugins (ex: mvn package -DskipTests -Djacoco.skip=true). I hope this adds some additional value to an already fantastic project.
I'm relatively unfamiliar with how Mojo/Maven plugins work, so if I've made a mistake please let me know and I will correct it.
Additinally, I wasn't sure what version to use when adding @since <version> to the doc comments for the parameters I updated, so I used the latest version.
Description
This PR adds
property
definitions to theAbstractProtocMojo
fieldscheckStaleness
andstaleMillis
for use from the maven CLI (mvn
). The need for this change came about while trying to improve the maven build times for the backend at my work, and I noticed I couldn't change thecheckStaleness
configuration property, as I might in other maven plugins (ex:mvn package -DskipTests -Djacoco.skip=true
). I hope this adds some additional value to an already fantastic project.I'm relatively unfamiliar with how Mojo/Maven plugins work, so if I've made a mistake please let me know and I will correct it.
Additinally, I wasn't sure what version to use when adding
@since <version>
to the doc comments for the parameters I updated, so I used the latest version.