Skip to content
Browse files

License headers and notice text.

  • Loading branch information...
1 parent 9ca634d commit 6258357396441e94cdc2ad7d59a37aecf5b171de @patrickangeles committed May 1, 2011
View
1 NOTICE.txt
@@ -0,0 +1 @@
+Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
View
15 create-deploy-file.sh
@@ -1,5 +1,20 @@
#!/bin/bash
#
+# Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
+#
+# 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
+#
+# This software 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.
+#
+
+#
# Script to create and deploy an archetype from an existing mvn project to a local directory.
# Full (not relative) paths should be used for the LOCAL_PATH argument.
#
View
15 create-deploy.sh
@@ -1,5 +1,20 @@
#!/bin/bash
#
+# Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
+#
+# 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
+#
+# This software 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.
+#
+
+#
# Script to create and deploy an archetype from an existing mvn project.
#
ARCHETYPE=$1
View
15 create-install.sh
@@ -1,5 +1,20 @@
#!/bin/bash
#
+# Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
+#
+# 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
+#
+# This software 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.
+#
+
+#
# Script to create and install (in the local .m2 repo) a mvn archetype from an existing project.
#
View
16 hbase-driver/src/main/assembly/driver.xml
@@ -1,3 +1,19 @@
+<!--
+
+ Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
+
+ 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
+
+ This software 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.
+
+-->
<assembly>
<id>driver</id>
<formats>
View
14 hbase-driver/src/main/java/com/cloudera/hbase/Driver.java
@@ -1,3 +1,17 @@
+/**
+ * Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
+ *
+ * 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
+ *
+ * This software 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.
+ */
package com.cloudera.hbase;
import org.apache.hadoop.util.ProgramDriver;
View
14 hbase-driver/src/main/java/com/cloudera/hbase/HBaseClient.java
@@ -1,3 +1,17 @@
+/**
+ * Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
+ *
+ * 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
+ *
+ * This software 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.
+ */
package com.cloudera.hbase;
import java.io.IOException;
View
14 hbase-driver/src/main/java/com/cloudera/hbase/OldWordCount.java
@@ -1,3 +1,17 @@
+/**
+ * Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
+ *
+ * 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
+ *
+ * This software 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.
+ */
package com.cloudera.hbase;
import java.io.IOException;
View
14 hbase-driver/src/main/java/com/cloudera/hbase/WordCount.java
@@ -1,3 +1,17 @@
+/**
+ * Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
+ *
+ * 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
+ *
+ * This software 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.
+ */
package com.cloudera.hbase;
import java.io.IOException;
View
14 hbase-driver/src/test/java/com/cloudera/hbase/MiniHBaseCluster.java
@@ -1,3 +1,17 @@
+/**
+ * Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
+ *
+ * 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
+ *
+ * This software 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.
+ */
package com.cloudera.hbase;
import java.io.IOException;
View
14 hbase-driver/src/test/java/com/cloudera/hbase/OldWordCountTest.java
@@ -1,3 +1,17 @@
+/**
+ * Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
+ *
+ * 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
+ *
+ * This software 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.
+ */
package com.cloudera.hbase;
import java.util.Arrays;
View
14 hbase-driver/src/test/java/com/cloudera/hbase/WordCountTest.java
@@ -1,3 +1,17 @@
+/**
+ * Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
+ *
+ * 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
+ *
+ * This software 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.
+ */
package com.cloudera.hbase;
import java.util.Arrays;
View
16 mapred-driver/src/main/assembly/driver.xml
@@ -1,3 +1,19 @@
+<!--
+
+ Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
+
+ 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
+
+ This software 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.
+
+-->
<assembly>
<id>driver</id>
<formats>
View
14 mapred-driver/src/main/java/thiswillbereplaced/Driver.java
@@ -1,3 +1,17 @@
+/**
+ * Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
+ *
+ * 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
+ *
+ * This software 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.
+ */
package thiswillbereplaced;
import org.apache.hadoop.util.ProgramDriver;
View
14 mapred-driver/src/main/java/thiswillbereplaced/OldWordCount.java
@@ -1,3 +1,17 @@
+/**
+ * Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
+ *
+ * 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
+ *
+ * This software 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.
+ */
package thiswillbereplaced;
import java.io.IOException;
View
14 mapred-driver/src/main/java/thiswillbereplaced/WordCount.java
@@ -1,3 +1,17 @@
+/**
+ * Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
+ *
+ * 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
+ *
+ * This software 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.
+ */
package thiswillbereplaced;
import java.io.IOException;
View
14 mapred-driver/src/test/java/thiswillbereplaced/OldWordCountTest.java
@@ -1,3 +1,17 @@
+/**
+ * Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
+ *
+ * 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
+ *
+ * This software 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.
+ */
package thiswillbereplaced;
import java.util.Arrays;
View
14 mapred-driver/src/test/java/thiswillbereplaced/WordCountTest.java
@@ -1,3 +1,17 @@
+/**
+ * Copyright (c) 2011, Cloudera, Inc. All Rights Reserved.
+ *
+ * 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
+ *
+ * This software 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.
+ */
package thiswillbereplaced;
import java.util.Arrays;
View
16 pom.xml
@@ -21,6 +21,7 @@
<maven-compiler-plugin.version>2.2</maven-compiler-plugin.version>
<maven-jar-plugin.version>2.3</maven-jar-plugin.version>
<maven-assembly-plugin.version>2.2-beta-5</maven-assembly-plugin.version>
+ <maven-license-plugin.version>1.9.0</maven-license-plugin.version>
</properties>
<repositories>
@@ -80,5 +81,20 @@
</plugin>
</plugins>
</pluginManagement>
+
+ <plugins>
+ <plugin>
+ <groupId>com.mycila.maven-license-plugin</groupId>
+ <artifactId>maven-license-plugin</artifactId>
+ <version>${maven-license-plugin.version}</version>
+ <configuration>
+ <header>LICENSE.txt</header>
+ <aggregate>true</aggregate>
+ <excludes>
+ <exclude>**/*.txt</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
</project>

0 comments on commit 6258357

Please sign in to comment.
Something went wrong with that request. Please try again.