You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by zh...@apache.org on 2020/11/12 08:59:12 UTC
[pulsar-presto] branch master updated: Add license header file and
fix checkstyle (#2)
This is an automated email from the ASF dual-hosted git repository.
zhaijia pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar-presto.git
The following commit(s) were added to refs/heads/master by this push:
new 46fd434 Add license header file and fix checkstyle (#2)
46fd434 is described below
commit 46fd4341aebdd36d1efd22936c83e32aa9ac4d6e
Author: Sijie Guo <si...@apache.org>
AuthorDate: Thu Nov 12 01:52:07 2020 -0700
Add license header file and fix checkstyle (#2)
---
.github/workflows/unit-test.yaml | 2 +-
presto-distribution/pom.xml | 9 ++++++++-
src/license-header.txt | 16 ++++++++++++++++
3 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/unit-test.yaml b/.github/workflows/unit-test.yaml
index 5927731..1447b34 100644
--- a/.github/workflows/unit-test.yaml
+++ b/.github/workflows/unit-test.yaml
@@ -84,7 +84,7 @@ jobs:
- name: Build pulsar adapters
run: |
cd adapters
- mvn clean license:check install
+ mvn clean license:check checkstyle:check install
- name: package surefire artifacts
if: failure()
diff --git a/presto-distribution/pom.xml b/presto-distribution/pom.xml
index f585ea0..2aee92e 100644
--- a/presto-distribution/pom.xml
+++ b/presto-distribution/pom.xml
@@ -339,7 +339,7 @@
<artifactId>license-maven-plugin</artifactId>
<version>3.0</version>
<configuration>
- <header>../../src/license-header.txt</header>
+ <header>../src/license-header.txt</header>
</configuration>
</plugin>
<plugin>
@@ -349,6 +349,13 @@
<target>1.8</target>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <configuration>
+ <skip>true</skip>
+ </configuration>
+ </plugin>
</plugins>
<extensions>
<extension>
diff --git a/src/license-header.txt b/src/license-header.txt
new file mode 100644
index 0000000..60b675e
--- /dev/null
+++ b/src/license-header.txt
@@ -0,0 +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.