From e75b1fe94f9047860bb58db48586b0919e734316 Mon Sep 17 00:00:00 2001 From: Andrew Bayer Date: Fri, 22 Jul 2011 20:03:59 +0000 Subject: [PATCH] Add release audit capability. From: Aaron Kimball git-svn-id: https://svn.apache.org/repos/asf/incubator/sqoop/trunk@1149923 13f79535-47bb-0310-9956-ffa450edef68 --- COMPILING.txt | 18 ++++++++++ build.xml | 62 ++++++++++++++++++++++++++++++++-- ivy.xml | 11 ++++++ ivy/libraries.properties | 4 +++ lib/.gitignore | 14 ++++++++ src/docs/man/import-args.txt | 18 ++++++++++ src/docs/web/breadcrumbs.xsl | 17 ++++++++++ src/docs/web/docbook.css | 21 ++++++++++++ src/docs/web/footer.xsl | 18 ++++++++++ src/docs/web/header.xsl | 18 ++++++++++ src/docs/web/html.xsl | 18 ++++++++++ src/scripts/rat-violations.sh | 63 +++++++++++++++++++++++++++++++++++ 12 files changed, 280 insertions(+), 2 deletions(-) create mode 100755 src/scripts/rat-violations.sh diff --git a/COMPILING.txt b/COMPILING.txt index 72347cfe..c491542b 100644 --- a/COMPILING.txt +++ b/COMPILING.txt @@ -3,6 +3,24 @@ This document explains how to compile Sqoop. +//// + Licensed to Cloudera, Inc. under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + Cloudera, Inc. 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. +//// + + == Build Dependencies Compiling Sqoop requires the following tools: diff --git a/build.xml b/build.xml index 48b3c560..4e86d65e 100644 --- a/build.xml +++ b/build.xml @@ -58,6 +58,10 @@ + + @@ -96,6 +100,8 @@ value="${test.dir}/checkstyle-noframes.xsl" /> + + + + + + + + + + + diff --git a/ivy.xml b/ivy.xml index 9f16a42e..cf9851bb 100644 --- a/ivy.xml +++ b/ivy.xml @@ -61,6 +61,9 @@ + + + @@ -119,5 +122,13 @@ + + + + + diff --git a/ivy/libraries.properties b/ivy/libraries.properties index 90974670..fe9a16ca 100644 --- a/ivy/libraries.properties +++ b/ivy/libraries.properties @@ -19,7 +19,9 @@ checkstyle.version=5.0 commons-cli.version=1.2 +commons-collections.version=3.1 commons-io.version=1.4 +commons-lang.version=2.4 commons-logging.version=1.0.4 # Apache Hadoop dependency version: use trunk. @@ -43,3 +45,5 @@ junit.version=4.5 log4j.version=1.2.15 +rats-lib.version=0.5.1 + diff --git a/lib/.gitignore b/lib/.gitignore index b4bd13ee..a132f1a7 100644 --- a/lib/.gitignore +++ b/lib/.gitignore @@ -1 +1,15 @@ +# Licensed to Cloudera, Inc. under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# Cloudera, Inc. 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. /ivy-*.jar diff --git a/src/docs/man/import-args.txt b/src/docs/man/import-args.txt index 259c5cf5..86865449 100644 --- a/src/docs/man/import-args.txt +++ b/src/docs/man/import-args.txt @@ -1,4 +1,22 @@ +//// + Licensed to Cloudera, Inc. under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + Cloudera, Inc. 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. +//// + + Import control options ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/src/docs/web/breadcrumbs.xsl b/src/docs/web/breadcrumbs.xsl index 3863192a..98d70ba4 100644 --- a/src/docs/web/breadcrumbs.xsl +++ b/src/docs/web/breadcrumbs.xsl @@ -3,6 +3,23 @@ version="1.0" exclude-result-prefixes="exsl"> + +