Author: edwardyoon Date: Mon Feb 20 12:38:30 2012 New Revision: 1291233 URL: http://svn.apache.org/viewvc?rev=1291233&view=rev Log: Add RAT check to run automatically on mvn build
Modified: incubator/hama/branches/0.4/core/src/main/java/org/apache/hama/HamaVersionAnnotation.java incubator/hama/branches/0.4/core/src/main/java/org/apache/hama/bsp/Counters.java incubator/hama/branches/0.4/core/src/main/java/org/apache/hama/metrics/MetricsConfig.java incubator/hama/branches/0.4/examples/src/test/java/org/apache/hama/examples/PageRankTest.java incubator/hama/branches/0.4/graph/src/main/java/org/apache/hama/graph/Vertex.java incubator/hama/branches/0.4/pom.xml Modified: incubator/hama/branches/0.4/core/src/main/java/org/apache/hama/HamaVersionAnnotation.java URL: http://svn.apache.org/viewvc/incubator/hama/branches/0.4/core/src/main/java/org/apache/hama/HamaVersionAnnotation.java?rev=1291233&r1=1291232&r2=1291233&view=diff ============================================================================== --- incubator/hama/branches/0.4/core/src/main/java/org/apache/hama/HamaVersionAnnotation.java (original) +++ incubator/hama/branches/0.4/core/src/main/java/org/apache/hama/HamaVersionAnnotation.java Mon Feb 20 12:38:30 2012 @@ -1,3 +1,20 @@ +/** + * 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. + */ package org.apache.hama; import java.lang.annotation.ElementType; Modified: incubator/hama/branches/0.4/core/src/main/java/org/apache/hama/bsp/Counters.java URL: http://svn.apache.org/viewvc/incubator/hama/branches/0.4/core/src/main/java/org/apache/hama/bsp/Counters.java?rev=1291233&r1=1291232&r2=1291233&view=diff ============================================================================== --- incubator/hama/branches/0.4/core/src/main/java/org/apache/hama/bsp/Counters.java (original) +++ incubator/hama/branches/0.4/core/src/main/java/org/apache/hama/bsp/Counters.java Mon Feb 20 12:38:30 2012 @@ -1,3 +1,20 @@ +/** + * 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. + */ package org.apache.hama.bsp; import java.io.DataInput; Modified: incubator/hama/branches/0.4/core/src/main/java/org/apache/hama/metrics/MetricsConfig.java URL: http://svn.apache.org/viewvc/incubator/hama/branches/0.4/core/src/main/java/org/apache/hama/metrics/MetricsConfig.java?rev=1291233&r1=1291232&r2=1291233&view=diff ============================================================================== --- incubator/hama/branches/0.4/core/src/main/java/org/apache/hama/metrics/MetricsConfig.java (original) +++ incubator/hama/branches/0.4/core/src/main/java/org/apache/hama/metrics/MetricsConfig.java Mon Feb 20 12:38:30 2012 @@ -1,3 +1,20 @@ +/** + * 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. + */ package org.apache.hama.metrics; import java.io.InputStream; Modified: incubator/hama/branches/0.4/examples/src/test/java/org/apache/hama/examples/PageRankTest.java URL: http://svn.apache.org/viewvc/incubator/hama/branches/0.4/examples/src/test/java/org/apache/hama/examples/PageRankTest.java?rev=1291233&r1=1291232&r2=1291233&view=diff ============================================================================== --- incubator/hama/branches/0.4/examples/src/test/java/org/apache/hama/examples/PageRankTest.java (original) +++ incubator/hama/branches/0.4/examples/src/test/java/org/apache/hama/examples/PageRankTest.java Mon Feb 20 12:38:30 2012 @@ -1,3 +1,20 @@ +/** + * 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. + */ package org.apache.hama.examples; import java.io.BufferedWriter; Modified: incubator/hama/branches/0.4/graph/src/main/java/org/apache/hama/graph/Vertex.java URL: http://svn.apache.org/viewvc/incubator/hama/branches/0.4/graph/src/main/java/org/apache/hama/graph/Vertex.java?rev=1291233&r1=1291232&r2=1291233&view=diff ============================================================================== --- incubator/hama/branches/0.4/graph/src/main/java/org/apache/hama/graph/Vertex.java (original) +++ incubator/hama/branches/0.4/graph/src/main/java/org/apache/hama/graph/Vertex.java Mon Feb 20 12:38:30 2012 @@ -0,0 +1,17 @@ +/** + * 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. + */ Modified: incubator/hama/branches/0.4/pom.xml URL: http://svn.apache.org/viewvc/incubator/hama/branches/0.4/pom.xml?rev=1291233&r1=1291232&r2=1291233&view=diff ============================================================================== --- incubator/hama/branches/0.4/pom.xml (original) +++ incubator/hama/branches/0.4/pom.xml Mon Feb 20 12:38:30 2012 @@ -250,6 +250,28 @@ </configuration> </plugin> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <version>0.8</version> + <executions> + <execution> + <phase>package</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + <configuration> + <excludes> + <exclude>CHANGES.txt</exclude> + <exclude>conf/groomservers</exclude> + <exclude>src/site/resources/files/hama-eclipse-formatter.xml</exclude> + <exclude>**/src/test/resources/*.properties</exclude> + </excludes> + </configuration> + </plugin> + </plugins> </build>