Updated Branches: refs/heads/trunk 1cd1f347f -> c5f2d61e8
GIRAPH-642. Add Maven release profile for Giraph Project: http://git-wip-us.apache.org/repos/asf/giraph/repo Commit: http://git-wip-us.apache.org/repos/asf/giraph/commit/c5f2d61e Tree: http://git-wip-us.apache.org/repos/asf/giraph/tree/c5f2d61e Diff: http://git-wip-us.apache.org/repos/asf/giraph/diff/c5f2d61e Branch: refs/heads/trunk Commit: c5f2d61e8c14cbf8a96521eceeec41f953e64e14 Parents: 1cd1f34 Author: Shaposhnik, Roman <[email protected]> Authored: Tue Feb 11 14:29:35 2014 -0800 Committer: Roman Shaposhnik <[email protected]> Committed: Thu Feb 13 15:34:29 2014 -0800 ---------------------------------------------------------------------- dev-support/munge-table.rb | 11 +++++ giraph-dist/pom.xml | 18 ++++++++ giraph-dist/src/main/assembly/src.xml | 48 ++++++++++++++++++++ .../apache/giraph/hive/GiraphHiveTestBase.java | 18 ++++++++ .../giraph/hive/input/CheckInputTest.java | 18 ++++++++ .../hive/jython/TestHiveJythonComplexTypes.java | 18 ++++++++ .../hive/jython/TestHiveJythonPrimitives.java | 18 ++++++++ .../hive/jython/TestJythonLabelInfluence.java | 0 .../giraph/hive/output/CheckOutputTest.java | 18 ++++++++ .../giraph-kibble/src/assembly/distribution.xml | 19 ++++++++ .../giraph-kibble/src/assembly/standalone.xml | 19 ++++++++ pom.xml | 26 +++++++++++ 12 files changed, 231 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/giraph/blob/c5f2d61e/dev-support/munge-table.rb ---------------------------------------------------------------------- diff --git a/dev-support/munge-table.rb b/dev-support/munge-table.rb index 1cb63ac..1dcd8b1 100755 --- a/dev-support/munge-table.rb +++ b/dev-support/munge-table.rb @@ -1,4 +1,15 @@ #!/usr/bin/env ruby +# Licensed 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. # # To run this, first install nokogiri: "gem install nokogiri" http://git-wip-us.apache.org/repos/asf/giraph/blob/c5f2d61e/giraph-dist/pom.xml ---------------------------------------------------------------------- diff --git a/giraph-dist/pom.xml b/giraph-dist/pom.xml index 5799031..bac8a24 100644 --- a/giraph-dist/pom.xml +++ b/giraph-dist/pom.xml @@ -31,6 +31,23 @@ <packaging>pom</packaging> <name>Apache Giraph Distribution</name> + <profiles> + <profile> + <id>release</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <basedir>${project.basedir}/../</basedir> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> + <build> <plugins> <plugin> @@ -55,6 +72,7 @@ <finalName>giraph-${project.version}-${forHadoop}</finalName> <descriptors> <descriptor>src/main/assembly/bin.xml</descriptor> + <descriptor>src/main/assembly/src.xml</descriptor> </descriptors> <tarLongFileMode>gnu</tarLongFileMode> </configuration> http://git-wip-us.apache.org/repos/asf/giraph/blob/c5f2d61e/giraph-dist/src/main/assembly/src.xml ---------------------------------------------------------------------- diff --git a/giraph-dist/src/main/assembly/src.xml b/giraph-dist/src/main/assembly/src.xml new file mode 100644 index 0000000..301d08d --- /dev/null +++ b/giraph-dist/src/main/assembly/src.xml @@ -0,0 +1,48 @@ +<!-- + 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. +--> + +<assembly + xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd"> + + <id>src</id> + + <formats> + <format>dir</format> + <format>tar.gz</format> + <format>tar.bz2</format> + <format>zip</format> + </formats> + + <baseDirectory>giraph-${project.version}</baseDirectory> + + <fileSets> + <fileSet> + <directory>${project.basedir}/../</directory> + + <useDefaultExcludes>true</useDefaultExcludes> + <excludes> + <exclude>**/*.log</exclude> + <exclude>**/src/site/xdoc/options.xml</exclude> + <exclude>**/${project.build.directory}/**</exclude> + </excludes> + </fileSet> + </fileSets> +</assembly> http://git-wip-us.apache.org/repos/asf/giraph/blob/c5f2d61e/giraph-hive/src/test/java/org/apache/giraph/hive/GiraphHiveTestBase.java ---------------------------------------------------------------------- diff --git a/giraph-hive/src/test/java/org/apache/giraph/hive/GiraphHiveTestBase.java b/giraph-hive/src/test/java/org/apache/giraph/hive/GiraphHiveTestBase.java index ff932b3..27a7fe0 100644 --- a/giraph-hive/src/test/java/org/apache/giraph/hive/GiraphHiveTestBase.java +++ b/giraph-hive/src/test/java/org/apache/giraph/hive/GiraphHiveTestBase.java @@ -1,3 +1,21 @@ +/* + * 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.giraph.hive; import org.junit.BeforeClass; http://git-wip-us.apache.org/repos/asf/giraph/blob/c5f2d61e/giraph-hive/src/test/java/org/apache/giraph/hive/input/CheckInputTest.java ---------------------------------------------------------------------- diff --git a/giraph-hive/src/test/java/org/apache/giraph/hive/input/CheckInputTest.java b/giraph-hive/src/test/java/org/apache/giraph/hive/input/CheckInputTest.java index 43255a7..f51531a 100644 --- a/giraph-hive/src/test/java/org/apache/giraph/hive/input/CheckInputTest.java +++ b/giraph-hive/src/test/java/org/apache/giraph/hive/input/CheckInputTest.java @@ -1,3 +1,21 @@ +/* + * 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.giraph.hive.input; import org.apache.giraph.conf.GiraphConfiguration; http://git-wip-us.apache.org/repos/asf/giraph/blob/c5f2d61e/giraph-hive/src/test/java/org/apache/giraph/hive/jython/TestHiveJythonComplexTypes.java ---------------------------------------------------------------------- diff --git a/giraph-hive/src/test/java/org/apache/giraph/hive/jython/TestHiveJythonComplexTypes.java b/giraph-hive/src/test/java/org/apache/giraph/hive/jython/TestHiveJythonComplexTypes.java index b664d7d..3a07dc4 100644 --- a/giraph-hive/src/test/java/org/apache/giraph/hive/jython/TestHiveJythonComplexTypes.java +++ b/giraph-hive/src/test/java/org/apache/giraph/hive/jython/TestHiveJythonComplexTypes.java @@ -1,3 +1,21 @@ +/* + * 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.giraph.hive.jython; import org.apache.giraph.conf.GiraphConfiguration; http://git-wip-us.apache.org/repos/asf/giraph/blob/c5f2d61e/giraph-hive/src/test/java/org/apache/giraph/hive/jython/TestHiveJythonPrimitives.java ---------------------------------------------------------------------- diff --git a/giraph-hive/src/test/java/org/apache/giraph/hive/jython/TestHiveJythonPrimitives.java b/giraph-hive/src/test/java/org/apache/giraph/hive/jython/TestHiveJythonPrimitives.java index c1db151..d7f6c30 100644 --- a/giraph-hive/src/test/java/org/apache/giraph/hive/jython/TestHiveJythonPrimitives.java +++ b/giraph-hive/src/test/java/org/apache/giraph/hive/jython/TestHiveJythonPrimitives.java @@ -1,3 +1,21 @@ +/* + * 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.giraph.hive.jython; import org.apache.giraph.conf.GiraphConfiguration; http://git-wip-us.apache.org/repos/asf/giraph/blob/c5f2d61e/giraph-hive/src/test/java/org/apache/giraph/hive/jython/TestJythonLabelInfluence.java ---------------------------------------------------------------------- diff --git a/giraph-hive/src/test/java/org/apache/giraph/hive/jython/TestJythonLabelInfluence.java b/giraph-hive/src/test/java/org/apache/giraph/hive/jython/TestJythonLabelInfluence.java deleted file mode 100644 index e69de29..0000000 http://git-wip-us.apache.org/repos/asf/giraph/blob/c5f2d61e/giraph-hive/src/test/java/org/apache/giraph/hive/output/CheckOutputTest.java ---------------------------------------------------------------------- diff --git a/giraph-hive/src/test/java/org/apache/giraph/hive/output/CheckOutputTest.java b/giraph-hive/src/test/java/org/apache/giraph/hive/output/CheckOutputTest.java index 665600c..ab020a1 100644 --- a/giraph-hive/src/test/java/org/apache/giraph/hive/output/CheckOutputTest.java +++ b/giraph-hive/src/test/java/org/apache/giraph/hive/output/CheckOutputTest.java @@ -1,3 +1,21 @@ +/* + * 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.giraph.hive.output; import org.apache.giraph.conf.GiraphConfiguration; http://git-wip-us.apache.org/repos/asf/giraph/blob/c5f2d61e/giraph-rexster/giraph-kibble/src/assembly/distribution.xml ---------------------------------------------------------------------- diff --git a/giraph-rexster/giraph-kibble/src/assembly/distribution.xml b/giraph-rexster/giraph-kibble/src/assembly/distribution.xml index a097d6b..413e79b 100644 --- a/giraph-rexster/giraph-kibble/src/assembly/distribution.xml +++ b/giraph-rexster/giraph-kibble/src/assembly/distribution.xml @@ -1,3 +1,22 @@ +<!-- +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. +--> + <assembly> <id>distribution</id> <formats> http://git-wip-us.apache.org/repos/asf/giraph/blob/c5f2d61e/giraph-rexster/giraph-kibble/src/assembly/standalone.xml ---------------------------------------------------------------------- diff --git a/giraph-rexster/giraph-kibble/src/assembly/standalone.xml b/giraph-rexster/giraph-kibble/src/assembly/standalone.xml index 4bc195b..d46cd46 100644 --- a/giraph-rexster/giraph-kibble/src/assembly/standalone.xml +++ b/giraph-rexster/giraph-kibble/src/assembly/standalone.xml @@ -1,3 +1,22 @@ +<!-- +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. +--> + <assembly> <id>standalone</id> <formats> http://git-wip-us.apache.org/repos/asf/giraph/blob/c5f2d61e/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index bb24b2a..f06722e 100644 --- a/pom.xml +++ b/pom.xml @@ -773,6 +773,12 @@ under the License. <exclude>**/*.ipr</exclude> <!-- test resources (for Giraph on YARN profile) --> <exclude>**/test/resources/**</exclude> + <!-- Gora configs --> + <exclude>giraph-gora/conf/*</exclude> + <!-- Rexster resource --> + <exclude>giraph-rexster/giraph-kibble/src/main/resources/META-INF/services/com.tinkerpop.rexster.extension.RexsterExtension</exclude> + <!-- site images --> + <exclude>src/site/resources/images/*.svg</exclude> </excludes> </configuration> </plugin> @@ -839,6 +845,26 @@ under the License. <profiles> <profile> + <id>release</id> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-gpg-plugin</artifactId> + <executions> + <execution> + <id>sign-artifacts</id> + <phase>verify</phase> + <goals> + <goal>sign</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + <profile> <id>hadoop_0.20.203</id> <modules> <module>giraph-accumulo</module>
