This is an automated email from the ASF dual-hosted git repository.
bchapuis pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-baremaps.git
The following commit(s) were added to refs/heads/main by this push:
new 00234532 Add missing license headers (#839)
00234532 is described below
commit 002345322e1cbe2f4288b7a0b19ed9dedf8a4a7c
Author: Bertil Chapuis <[email protected]>
AuthorDate: Sun Mar 3 09:24:18 2024 +0100
Add missing license headers (#839)
* Add missing license headers
* Add script to check license headers with rat
---
baremaps-cli/src/license/override.properties | 15 +++++++++++++++
baremaps-cli/src/main/resources/logging.properties | 15 +++++++++++++++
.../apache/baremaps/geocoderosm/package-info.java | 15 +++++++++++++++
baremaps-core/src/test/resources/script.sql | 15 +++++++++++++++
basemap/queries/osm_drop_indexes.sql | 15 +++++++++++++++
basemap/theme.js | 16 ++++++++++++++++
basemap/themes/achromatomaly.js | 17 +++++++++++++++++
basemap/themes/achromatopsia.js | 17 +++++++++++++++++
basemap/themes/contrast.js | 17 +++++++++++++++++
basemap/themes/dark.js | 17 +++++++++++++++++
basemap/themes/default.js | 17 +++++++++++++++++
basemap/themes/deuteranomaly.js | 17 +++++++++++++++++
basemap/themes/deuteranopia.js | 17 +++++++++++++++++
basemap/themes/grayscale.js | 17 +++++++++++++++++
basemap/themes/light.js | 17 +++++++++++++++++
basemap/themes/protanomaly.js | 17 +++++++++++++++++
basemap/themes/protanopia.js | 17 +++++++++++++++++
basemap/themes/transportation.js | 17 +++++++++++++++++
basemap/themes/tritanomaly.js | 17 +++++++++++++++++
basemap/themes/tritanopia.js | 17 +++++++++++++++++
examples/postgresql-join/init.sql | 15 +++++++++++++++
scripts/check-license-headers.sh | 20 ++++++++++++++++++++
22 files changed, 364 insertions(+)
diff --git a/baremaps-cli/src/license/override.properties
b/baremaps-cli/src/license/override.properties
index 5f900179..5c46ec86 100644
--- a/baremaps-cli/src/license/override.properties
+++ b/baremaps-cli/src/license/override.properties
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to you under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
com.aayushatharva.brotli4j--brotli4j--1.12.0=Apache License 2.0
com.aayushatharva.brotli4j--native-osx-aarch64--1.12.0=Apache License 2.0
com.aayushatharva.brotli4j--service--1.12.0=Apache License 2.0
diff --git a/baremaps-cli/src/main/resources/logging.properties
b/baremaps-cli/src/main/resources/logging.properties
index 187e876b..c84ac931 100644
--- a/baremaps-cli/src/main/resources/logging.properties
+++ b/baremaps-cli/src/main/resources/logging.properties
@@ -1 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to you under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
.level = WARNING
\ No newline at end of file
diff --git
a/baremaps-core/src/main/java/org/apache/baremaps/geocoderosm/package-info.java
b/baremaps-core/src/main/java/org/apache/baremaps/geocoderosm/package-info.java
index 6f6a4a30..4171d9cf 100644
---
a/baremaps-core/src/main/java/org/apache/baremaps/geocoderosm/package-info.java
+++
b/baremaps-core/src/main/java/org/apache/baremaps/geocoderosm/package-info.java
@@ -1,3 +1,18 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
contributor license
+ * agreements. See the NOTICE file distributed with this work for additional
information regarding
+ * copyright ownership. The ASF licenses this file to you under the Apache
License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance with the
License. You may obtain a
+ * copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
distributed under the License
+ * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express
+ * or implied. See the License for the specific language governing permissions
and limitations under
+ * the License.
+ */
+
/**
* Experimental Geocoder based on OpenStreetMap data using a Lucene index.
*/
diff --git a/baremaps-core/src/test/resources/script.sql
b/baremaps-core/src/test/resources/script.sql
index 4577e1e1..73b3ad71 100644
--- a/baremaps-core/src/test/resources/script.sql
+++ b/baremaps-core/src/test/resources/script.sql
@@ -1,3 +1,18 @@
+-- Licensed to the Apache Software Foundation (ASF) under one or more
+-- contributor license agreements. See the NOTICE file distributed with
+-- this work for additional information regarding copyright ownership.
+-- The ASF licenses this file to you under the Apache License, Version 2.0
+-- (the "License"); you may not use this file except in compliance with
+-- the License. You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+
DO $$
BEGIN
PERFORM 'Hello, World!';
diff --git a/basemap/queries/osm_drop_indexes.sql
b/basemap/queries/osm_drop_indexes.sql
index 817b8d8b..713c2438 100644
--- a/basemap/queries/osm_drop_indexes.sql
+++ b/basemap/queries/osm_drop_indexes.sql
@@ -1,3 +1,18 @@
+-- Licensed to the Apache Software Foundation (ASF) under one or more
+-- contributor license agreements. See the NOTICE file distributed with
+-- this work for additional information regarding copyright ownership.
+-- The ASF licenses this file to you under the Apache License, Version 2.0
+-- (the "License"); you may not use this file except in compliance with
+-- the License. You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+
DROP INDEX IF EXISTS osm_nodes_tags_index;
DROP INDEX IF EXISTS osm_nodes_tags_tsvector_index;
DROP INDEX IF EXISTS osm_nodes_geom_index;
diff --git a/basemap/theme.js b/basemap/theme.js
index 00a70be1..f38b467f 100644
--- a/basemap/theme.js
+++ b/basemap/theme.js
@@ -1,3 +1,19 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to you under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ **/
import theme from "./themes/default.js";
export default theme;
\ No newline at end of file
diff --git a/basemap/themes/achromatomaly.js b/basemap/themes/achromatomaly.js
index 11430509..bfe1a99a 100644
--- a/basemap/themes/achromatomaly.js
+++ b/basemap/themes/achromatomaly.js
@@ -1,3 +1,20 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to you under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ **/
+
import style from './default.js';
import {Color, ColorBlind} from "../utils/color.js";
diff --git a/basemap/themes/achromatopsia.js b/basemap/themes/achromatopsia.js
index e593b603..39d6fa63 100644
--- a/basemap/themes/achromatopsia.js
+++ b/basemap/themes/achromatopsia.js
@@ -1,3 +1,20 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to you under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ **/
+
import style from './default.js';
import {Color, ColorBlind} from "../utils/color.js";
diff --git a/basemap/themes/contrast.js b/basemap/themes/contrast.js
index f6cbee6a..0ff2c687 100644
--- a/basemap/themes/contrast.js
+++ b/basemap/themes/contrast.js
@@ -1,3 +1,20 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to you under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ **/
+
import style from './default.js';
import {Color} from "../utils/color.js";
diff --git a/basemap/themes/dark.js b/basemap/themes/dark.js
index e4c173ef..78244a88 100644
--- a/basemap/themes/dark.js
+++ b/basemap/themes/dark.js
@@ -1,3 +1,20 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to you under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ **/
+
import style from './light.js';
import {Color} from "../utils/color.js";
diff --git a/basemap/themes/default.js b/basemap/themes/default.js
index 833451b9..914365eb 100644
--- a/basemap/themes/default.js
+++ b/basemap/themes/default.js
@@ -1,3 +1,20 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to you under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ **/
+
/**
* The naming convention allows alphabetical sorting.
* It follows the pattern:
diff --git a/basemap/themes/deuteranomaly.js b/basemap/themes/deuteranomaly.js
index d82134d9..e88b4a74 100644
--- a/basemap/themes/deuteranomaly.js
+++ b/basemap/themes/deuteranomaly.js
@@ -1,3 +1,20 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to you under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ **/
+
import style from './default.js';
import {Color, ColorBlind} from "../utils/color.js";
diff --git a/basemap/themes/deuteranopia.js b/basemap/themes/deuteranopia.js
index 414e201a..7edcb3cc 100644
--- a/basemap/themes/deuteranopia.js
+++ b/basemap/themes/deuteranopia.js
@@ -1,3 +1,20 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to you under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ **/
+
import style from './default.js';
import {Color, ColorBlind} from "../utils/color.js";
diff --git a/basemap/themes/grayscale.js b/basemap/themes/grayscale.js
index 53e42682..22fea688 100644
--- a/basemap/themes/grayscale.js
+++ b/basemap/themes/grayscale.js
@@ -1,3 +1,20 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to you under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ **/
+
import style from './default.js';
import {Color} from "../utils/color.js";
diff --git a/basemap/themes/light.js b/basemap/themes/light.js
index 547014ed..0aa42122 100644
--- a/basemap/themes/light.js
+++ b/basemap/themes/light.js
@@ -1,3 +1,20 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to you under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ **/
+
import style from './grayscale.js';
import {Color} from "../utils/color.js";
diff --git a/basemap/themes/protanomaly.js b/basemap/themes/protanomaly.js
index 1dd25142..5ec678da 100644
--- a/basemap/themes/protanomaly.js
+++ b/basemap/themes/protanomaly.js
@@ -1,3 +1,20 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to you under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ **/
+
import style from './default.js';
import {Color, ColorBlind} from "../utils/color.js";
diff --git a/basemap/themes/protanopia.js b/basemap/themes/protanopia.js
index bc79a85e..e81b526f 100644
--- a/basemap/themes/protanopia.js
+++ b/basemap/themes/protanopia.js
@@ -1,3 +1,20 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to you under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ **/
+
import style from './default.js';
import {Color, ColorBlind} from "../utils/color.js";
diff --git a/basemap/themes/transportation.js b/basemap/themes/transportation.js
index 87f8cce2..3f58ae0a 100644
--- a/basemap/themes/transportation.js
+++ b/basemap/themes/transportation.js
@@ -1,3 +1,20 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to you under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ **/
+
import style from './default.js';
import {Color} from "../utils/color.js";
diff --git a/basemap/themes/tritanomaly.js b/basemap/themes/tritanomaly.js
index ecbb8769..bd2c3256 100644
--- a/basemap/themes/tritanomaly.js
+++ b/basemap/themes/tritanomaly.js
@@ -1,3 +1,20 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to you under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ **/
+
import style from './default.js';
import {Color, ColorBlind} from "../utils/color.js";
diff --git a/basemap/themes/tritanopia.js b/basemap/themes/tritanopia.js
index b1429910..c5143f2c 100644
--- a/basemap/themes/tritanopia.js
+++ b/basemap/themes/tritanopia.js
@@ -1,3 +1,20 @@
+/**
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to you under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ **/
+
import style from './default.js';
import {Color, ColorBlind} from "../utils/color.js";
diff --git a/examples/postgresql-join/init.sql
b/examples/postgresql-join/init.sql
index 1c26f8c1..799e06c6 100644
--- a/examples/postgresql-join/init.sql
+++ b/examples/postgresql-join/init.sql
@@ -1,3 +1,18 @@
+-- Licensed to the Apache Software Foundation (ASF) under one or more
+-- contributor license agreements. See the NOTICE file distributed with
+-- this work for additional information regarding copyright ownership.
+-- The ASF licenses this file to you under the Apache License, Version 2.0
+-- (the "License"); you may not use this file except in compliance with
+-- the License. You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+
CREATE EXTENSION IF NOT EXISTS postgis;
-- Drop and create schema
diff --git a/scripts/check-license-headers.sh b/scripts/check-license-headers.sh
new file mode 100644
index 00000000..bfee5c2a
--- /dev/null
+++ b/scripts/check-license-headers.sh
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to you under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+DIR="$(dirname "$0")"
+cd "$DIR" || exit
+./mvnw clean && ./mvnw apache-rat:check
\ No newline at end of file