mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-22 07:03:35 -06:00
make accepting license updates easier
This commit is contained in:
parent
124c92256f
commit
0edd8b99be
@ -455,7 +455,7 @@
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.8.1</version>
|
||||
<version>3.9.0</version>
|
||||
<configuration>
|
||||
<debug>true</debug>
|
||||
<target>17</target>
|
||||
@ -596,9 +596,32 @@
|
||||
<exclude>**/generated/**</exclude>
|
||||
</excludes>
|
||||
<addLicenseHeaders>true</addLicenseHeaders>
|
||||
<copyrightMessage>Copyright (c) 2022 nosqlbench</copyrightMessage>
|
||||
</configuration>
|
||||
</plugin>
|
||||
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-enforcer-plugin</artifactId>
|
||||
<version>3.0.0-M3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>enforce-java</id>
|
||||
<goals>
|
||||
<goal>enforce</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<rules>
|
||||
<requireJavaVersion>
|
||||
<version>[17,)</version>
|
||||
</requireJavaVersion>
|
||||
</rules>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
|
||||
</plugins>
|
||||
|
||||
<pluginManagement>
|
||||
|
8
scripts/accept_licenses.sh
Executable file
8
scripts/accept_licenses.sh
Executable file
@ -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
|
Loading…
Reference in New Issue
Block a user