Skip to content

Commit

Permalink
PHOENIX-6512 Fix PQS Apache RAT check problems addendum
Browse files Browse the repository at this point in the history
Change-Id: I79ad02556ba6514c25404d5e918925da1c469e6a
  • Loading branch information
Richard Antal authored and richardantal committed Jul 15, 2021
1 parent dd3d77c commit b8202d2
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,25 @@
#!/usr/bin/env bash
#
############################################################################
#
# 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.
#
############################################################################

REPO_ROOT=$1
for linksource in $(find $REPO_ROOT -name \*.jar); do
linkfile=$(basename $linksource)
Expand Down
32 changes: 18 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,24 @@
<extensions>true</extensions>
<inherited>true</inherited>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<!-- This will be inherited by children, which is unintended, but causes no problems -->
<excludes>
<!-- precommit? -->
<exclude>**/patchprocess/**</exclude>
<!-- Python Software Foundation License -->
<exclude>bin/argparse-1.4.0/argparse.py</exclude>
<!-- short docs text files don't need header -->
<exclude>python-phoenixdb/NEWS.rst</exclude>
<exclude>python-phoenixdb/README.rst</exclude>
<exclude>python-phoenixdb/dev-support/rat-excludes.txt</exclude>
<exclude>python-phoenixdb/RELEASING.rst</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>

Expand Down Expand Up @@ -354,20 +372,6 @@
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<!-- This will be inherited by children, which is unintended, but causes no problems -->
<excludes>
<!-- precommit? -->
<exclude>**/patchprocess/**</exclude>
<!-- Python Software Foundation License -->
<exclude>bin/argparse-1.4.0/argparse.py</exclude>
<!-- short docs text files don't need header -->
<exclude>python-phoenixdb/NEWS.rst</exclude>
<exclude>python-phoenixdb/README.rst</exclude>
<exclude>python-phoenixdb/dev-support/rat-excludes.txt</exclude>
<exclude>python-phoenixdb/RELEASING.rst</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<!-- Allows us to get the apache-ds bundle artifacts -->
Expand Down

0 comments on commit b8202d2

Please sign in to comment.