This is an automated email from the ASF dual-hosted git repository.
eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/curator.git
The following commit(s) were added to refs/heads/master by this push:
new fd5dc4bd CURATOR-646: Fix RAT failure reports and add a CI task to
prevent regression (#428)
fd5dc4bd is described below
commit fd5dc4bd8ed3ea973b3063ad11ccaeeff7238883
Author: tison <[email protected]>
AuthorDate: Tue Jul 5 19:30:51 2022 +0800
CURATOR-646: Fix RAT failure reports and add a CI task to prevent
regression (#428)
Signed-off-by: tison <[email protected]>
---
.github/workflows/ci-unit.yaml | 18 +++++++++++++++++-
README.md | 19 +++++++++++++++++++
curator-examples/src/main/java/pubsub/README.md | 20 ++++++++++++++++++++
curator-framework/src/test/resources/schema.yaml | 17 +++++++++++++++++
curator-x-async/pom.xml | 19 +++++++++++++++++++
pom.xml | 2 ++
.../{releases.confluence.vm => releases.confluence} | 0
7 files changed, 94 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/ci-unit.yaml b/.github/workflows/ci-unit.yaml
index d029f48f..789fc0b5 100644
--- a/.github/workflows/ci-unit.yaml
+++ b/.github/workflows/ci-unit.yaml
@@ -28,8 +28,24 @@ env:
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false
-Dmaven.wagon.http.retryHandler.class=standard
-Dmaven.wagon.http.retryHandler.count=3
jobs:
+ rat:
+ name: RAT reports
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+
+ - name: Set up JDK 11
+ uses: actions/setup-java@v2
+ with:
+ java-version: 11
+ distribution: 'temurin'
+
+ - name: RAT check
+ run: mvn -B apache-rat:check
+
check:
- name:
+ name: Unit tests
runs-on: ubuntu-latest
timeout-minutes: 120
strategy:
diff --git a/README.md b/README.md
index 4a84f498..3fec3514 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,24 @@
# Apache Curator
+<!--
+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.
+-->
+
[](http://search.maven.org/#search%7Cga%7C1%7Capache-curator)
[](https://curator.apache.org)
[](https://stackoverflow.com/questions/tagged/apache-curator)
diff --git a/curator-examples/src/main/java/pubsub/README.md
b/curator-examples/src/main/java/pubsub/README.md
index f6d5971e..dcbdb30e 100644
--- a/curator-examples/src/main/java/pubsub/README.md
+++ b/curator-examples/src/main/java/pubsub/README.md
@@ -1,4 +1,24 @@
# Pub-Sub Example
+
+<!--
+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.
+-->
+
This example models a publish and subscribe system (note: it is not meant for
production) using
the strongly typed modeled APIs in Apache Curator.
diff --git a/curator-framework/src/test/resources/schema.yaml
b/curator-framework/src/test/resources/schema.yaml
index b342d40e..f1e52954 100644
--- a/curator-framework/src/test/resources/schema.yaml
+++ b/curator-framework/src/test/resources/schema.yaml
@@ -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.
+
- name: test
path: /a/b/c
documentation: This is a schema
diff --git a/curator-x-async/pom.xml b/curator-x-async/pom.xml
index 4917a65a..81885885 100644
--- a/curator-x-async/pom.xml
+++ b/curator-x-async/pom.xml
@@ -1,4 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ 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.
+ -->
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.apache.curator</groupId>
diff --git a/pom.xml b/pom.xml
index fe109712..041885b0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -920,6 +920,7 @@
<excludeSubProjects>false</excludeSubProjects>
<excludes>
<exclude>**/*.confluence</exclude>
+ <exclude>**/*.iml</exclude>
<exclude>**/*.rdf</exclude>
<exclude>**/help.txt</exclude>
<exclude>**/.gitignore</exclude>
@@ -934,6 +935,7 @@
<exclude>**/README</exclude>
<exclude>**/CHANGES</exclude>
<exclude>**/RELEASE-NOTES</exclude>
+ <exclude>**/target/**</exclude>
<exclude>**/generated/**</exclude>
</excludes>
</configuration>
diff --git a/src/site/confluence/releases.confluence.vm
b/src/site/confluence/releases.confluence
similarity index 100%
rename from src/site/confluence/releases.confluence.vm
rename to src/site/confluence/releases.confluence