Skip to content
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

Add properties to Mojo parameters checkStaleness and staleMillis #81

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ianfabs
Copy link

@ianfabs ianfabs commented May 5, 2021

Description

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.

ianfabs and others added 3 commits May 5, 2021 14:54
I ran into an issue while at work where it would be really valuable to have these properties accessible via maven's `-D` flag
I used version 0.6.1 since it was the latest.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants