mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-12-22 15:13:41 -06:00
make accepting license updates easier
This commit is contained in:
parent
124c92256f
commit
0edd8b99be
@ -455,7 +455,7 @@
|
|||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
<version>3.8.1</version>
|
<version>3.9.0</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<debug>true</debug>
|
<debug>true</debug>
|
||||||
<target>17</target>
|
<target>17</target>
|
||||||
@ -596,9 +596,32 @@
|
|||||||
<exclude>**/generated/**</exclude>
|
<exclude>**/generated/**</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
<addLicenseHeaders>true</addLicenseHeaders>
|
<addLicenseHeaders>true</addLicenseHeaders>
|
||||||
|
<copyrightMessage>Copyright (c) 2022 nosqlbench</copyrightMessage>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</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>
|
</plugins>
|
||||||
|
|
||||||
<pluginManagement>
|
<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