Repository: cayenne Updated Branches: refs/heads/master 0e09f2241 -> ff8d34fed
Add missing licenses and add RAT ignore for **/build dirs. Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/ff8d34fe Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/ff8d34fe Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/ff8d34fe Branch: refs/heads/master Commit: ff8d34fedd4f0e1d9a21ad77a060bcf1ffe7bf7d Parents: 0e09f22 Author: Nikita Timofeev <stari...@gmail.com> Authored: Fri Jun 2 11:26:42 2017 +0300 Committer: Nikita Timofeev <stari...@gmail.com> Committed: Fri Jun 2 11:26:42 2017 +0300 ---------------------------------------------------------------------- .../gradle/wrapper/gradle-wrapper.properties | 15 +++++++++++++++ cayenne-gradle-plugin/gradlew | 15 +++++++++++++++ cayenne-gradle-plugin/gradlew.bat | 16 ++++++++++++++++ pom.xml | 1 + rat.sh | 3 +++ 5 files changed, 50 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cayenne/blob/ff8d34fe/cayenne-gradle-plugin/gradle/wrapper/gradle-wrapper.properties ---------------------------------------------------------------------- diff --git a/cayenne-gradle-plugin/gradle/wrapper/gradle-wrapper.properties b/cayenne-gradle-plugin/gradle/wrapper/gradle-wrapper.properties index bfaedcc..c038575 100644 --- a/cayenne-gradle-plugin/gradle/wrapper/gradle-wrapper.properties +++ b/cayenne-gradle-plugin/gradle/wrapper/gradle-wrapper.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. + #Thu May 25 16:50:56 MSK 2017 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists http://git-wip-us.apache.org/repos/asf/cayenne/blob/ff8d34fe/cayenne-gradle-plugin/gradlew ---------------------------------------------------------------------- diff --git a/cayenne-gradle-plugin/gradlew b/cayenne-gradle-plugin/gradlew index 4453cce..f9f709e 100755 --- a/cayenne-gradle-plugin/gradlew +++ b/cayenne-gradle-plugin/gradlew @@ -1,5 +1,20 @@ #!/usr/bin/env 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. + ############################################################################## ## ## Gradle start up script for UN*X http://git-wip-us.apache.org/repos/asf/cayenne/blob/ff8d34fe/cayenne-gradle-plugin/gradlew.bat ---------------------------------------------------------------------- diff --git a/cayenne-gradle-plugin/gradlew.bat b/cayenne-gradle-plugin/gradlew.bat index e95643d..f9aec36 100644 --- a/cayenne-gradle-plugin/gradlew.bat +++ b/cayenne-gradle-plugin/gradlew.bat @@ -1,4 +1,20 @@ @if "%DEBUG%" == "" @echo off + +@rem Licensed to the Apache Software Foundation (ASF) under one or more +@rem contributor license agreements. See the NOTICE file distributed with +@rem this work for additional information regarding copyright ownership. +@rem The ASF licenses this file to You under the Apache License, Version 2.0 +@rem (the "License"); you may not use this file except in compliance with +@rem the License. You may obtain a copy of the License at +@rem +@rem http://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. + @rem ########################################################################## @rem @rem Gradle startup script for Windows http://git-wip-us.apache.org/repos/asf/cayenne/blob/ff8d34fe/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 406dad1..07991f5 100644 --- a/pom.xml +++ b/pom.xml @@ -892,6 +892,7 @@ <configuration> <excludes> <exclude>**/target</exclude> + <exclude>**/build</exclude> <exclude>**/.*</exclude> <exclude>**/.*/**</exclude> http://git-wip-us.apache.org/repos/asf/cayenne/blob/ff8d34fe/rat.sh ---------------------------------------------------------------------- diff --git a/rat.sh b/rat.sh index 057554a..a04e4a4 100755 --- a/rat.sh +++ b/rat.sh @@ -42,6 +42,9 @@ fi echo "Deleting 'target' dirs..." 1>&2 ( find $DIR -type d -name target | xargs rm -rf ) +echo "Deleting 'build' dirs..." 1>&2 +( find $DIR -type d -name build | xargs rm -rf ) + echo "Running rat, this may take a while..." 1>&2 # TODO: read excludes from buildbot config at 'build-tools/rat-excludes'