Skip to content

Commit

Permalink
Standardize plaintext masks across Maven, Gradle and CLI (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek authored Nov 29, 2023
1 parent 9a9428f commit d35c59c
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/main/java/org/openrewrite/maven/ConfigurableRewriteMojo.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,24 +119,32 @@ protected Set<String> getPlainTextMasks() {
if (plainTextMasks.isEmpty() && rewritePlainTextMasks == null) {
//If not defined, use a default set of masks
return new HashSet<>(Arrays.asList(
"**/META-INF/services/**",
"**/META-INF/spring.factories",
"**/META-INF/spring/**",
"**/*.adoc",
"**/*.bash",
"**/*.bat",
"**/CODEOWNERS",
"**/*.css",
"**/*.config",
"**/Dockerfile",
"**/Dockerfile*",
"**/.gitattributes",
"**/.gitignore",
"**/*.htm*",
"**/gradlew",
"**/.java-version",
"**/*.jsp",
"**/*.ksh",
"**/lombok.config",
"**/*.md",
"**/*.mf",
"**/META-INF/services/**",
"**/META-INF/spring/**",
"**/META-INF/spring.factories",
"**/mvnw",
"**/*.qute.java",
"**/.sdkmanrc",
"**/*.sh",
"**/*.sql",
"**/*.svg",
"**/*.txt"
));
} else {
Expand Down

0 comments on commit d35c59c

Please sign in to comment.