Skip to content
This repository was archived by the owner on May 3, 2019. It is now read-only.

Commit 9e24614

Browse files
committed
Add license header
1 parent 3e0c740 commit 9e24614

File tree

7 files changed

+116
-0
lines changed

7 files changed

+116
-0
lines changed

license-header.txt

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 2011 Proofpoint, Inc.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

pom.xml

+28
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,34 @@
9090
</execution>
9191
</executions>
9292
</plugin>
93+
<!--
94+
Do a license check by running: mvn license:check
95+
Update the license by running: mvn license:format
96+
-->
97+
<plugin>
98+
<groupId>com.mycila.maven-license-plugin</groupId>
99+
<artifactId>maven-license-plugin</artifactId>
100+
<version>1.9.0</version>
101+
<configuration>
102+
<header>license-header.txt</header>
103+
<strictCheck>true</strictCheck>
104+
<mapping>
105+
<java>SLASHSTAR_STYLE</java>
106+
</mapping>
107+
<useDefaultExcludes>true</useDefaultExcludes>
108+
<excludes>
109+
<exclude>**/.gitignore</exclude>
110+
</excludes>
111+
</configuration>
112+
<executions>
113+
<execution>
114+
<phase>test</phase>
115+
<goals>
116+
<goal>check</goal>
117+
</goals>
118+
</execution>
119+
</executions>
120+
</plugin>
93121
</plugins>
94122
</build>
95123
</project>

src/main/java/com/proofpoint/hive/serde/CaseInsensitiveMap.java

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2011 Proofpoint, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.proofpoint.hive.serde;
217

318
import java.util.Collection;

src/main/java/com/proofpoint/hive/serde/ColumnNameMap.java

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2011 Proofpoint, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.proofpoint.hive.serde;
217

318
import org.apache.hadoop.hive.serde2.SerDeException;

src/main/java/com/proofpoint/hive/serde/JsonEventSerde.java

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2011 Proofpoint, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.proofpoint.hive.serde;
217

318
import org.apache.hadoop.conf.Configuration;

src/main/java/com/proofpoint/hive/serde/JsonSerde.java

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2011 Proofpoint, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.proofpoint.hive.serde;
217

318
import org.apache.hadoop.conf.Configuration;

src/test/java/com/proofpoint/hive/serde/TestCaseInsensitiveMap.java

+15
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright 2011 Proofpoint, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
package com.proofpoint.hive.serde;
217

318
import org.testng.annotations.Test;

0 commit comments

Comments
 (0)