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
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -330,9 +330,12 @@ abstract class AbstractProtocMojo extends AbstractMojo {
* <p>This parameter is only used when {@link #checkStaleness} parameter is set to {@code true}.
*
* <p>If the project is built on NFS it's recommended to set this parameter to {@code 10000}.
*
* @since 0.6.1
*/
@Parameter(
required = false,
property = "protoc.staleMillis",
defaultValue = "0"
)
private long staleMillis;
Expand All @@ -343,9 +346,11 @@ abstract class AbstractProtocMojo extends AbstractMojo {
* timestamps of source protobuf definitions vs. generated sources.
*
* @see #staleMillis
* @since 0.6.1
*/
@Parameter(
required = false,
property = "protoc.checkStaleness",
defaultValue = "false"
)
private boolean checkStaleness;
Expand Down