-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* #666 added support for Maven repository policies in CLI * #666 fixed checkstyle violations * #666 added documentation for repository policies
- Loading branch information
1 parent
d7735d2
commit d83c25c
Showing
7 changed files
with
128 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
...application/src/main/java/com/buschmais/jqassistant/commandline/configuration/Policy.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.buschmais.jqassistant.commandline.configuration; | ||
|
||
import com.buschmais.jqassistant.core.shared.annotation.Description; | ||
|
||
import io.smallrye.config.WithDefault; | ||
|
||
@Description("The repository policy for a Maven repository.") | ||
public interface Policy { | ||
|
||
String ENABLED = "enabled"; | ||
|
||
@WithDefault("true") | ||
boolean enabled(); | ||
|
||
String UPDATE_POLICY = "update-policy"; | ||
|
||
@WithDefault("daily") | ||
String updatePolicy(); | ||
|
||
String CHECKSUM_POLICY = "checksum-policy"; | ||
|
||
@WithDefault("warn") | ||
String checksumPolicy(); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters