diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4e7948a --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.idea +target/ +dependency-reduced-pom.xml diff --git a/pulsar-sql/pom.xml b/pom.xml similarity index 75% rename from pulsar-sql/pom.xml rename to pom.xml index 22a4730..5a52d27 100644 --- a/pulsar-sql/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ org.apache.pulsar pulsar - 3.0.8-SNAPSHOT + 4.0.0 pulsar-sql @@ -37,6 +37,7 @@ 1.17.2 213 + 368 @@ -106,45 +107,55 @@ - org.apache.maven.plugins - maven-checkstyle-plugin + org.commonjava.maven.plugins + directory-maven-plugin + ${directory-maven-plugin.version} - checkstyle - verify + directories - check + directory-of + initialize + + pulsar.basedir + + org.apache.pulsar + pulsar-sql + + + + org.apache.maven.plugins + maven-checkstyle-plugin + ${maven-checkstyle-plugin.version} + + + com.puppycrawl.tools + checkstyle + ${puppycrawl.checkstyle.version} + + + + ${pulsar.basedir}/src/checkstyle.xml + ${pulsar.basedir}/src/suppressions.xml + true + UTF-8 + **/proto/* + + + + presto-pulsar + presto-pulsar-plugin + presto-distribution + + - - main - - - disableSqlMainProfile - - !true - - - - presto-pulsar - presto-pulsar-plugin - presto-distribution - - - - pulsar-sql-tests - - presto-pulsar - presto-pulsar-plugin - presto-distribution - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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. diff --git a/src/suppressions.xml b/src/suppressions.xml new file mode 100644 index 0000000..57a01c6 --- /dev/null +++ b/src/suppressions.xml @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +