diff --git a/mvn-defaults/pom.xml b/mvn-defaults/pom.xml index 2c99682a0..c28108ef0 100644 --- a/mvn-defaults/pom.xml +++ b/mvn-defaults/pom.xml @@ -455,7 +455,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.8.1 + 3.9.0 true 17 @@ -596,9 +596,32 @@ **/generated/** true + Copyright (c) 2022 nosqlbench + + org.apache.maven.plugins + maven-enforcer-plugin + 3.0.0-M3 + + + enforce-java + + enforce + + + + + [17,) + + + + + + + + diff --git a/scripts/accept_licenses.sh b/scripts/accept_licenses.sh new file mode 100755 index 000000000..2800227b9 --- /dev/null +++ b/scripts/accept_licenses.sh @@ -0,0 +1,8 @@ +#!/bin/bash +find . -type f -name '*.java.new' | \ +while read newname +do + original=${newname%%.new} + mv $newname $original + printf "moved %s to %s\n" "${newname}" "${original}" +done