GIRAPH-781. binary tarball lacks /bin and /conf directories
Project: http://git-wip-us.apache.org/repos/asf/giraph/repo Commit: http://git-wip-us.apache.org/repos/asf/giraph/commit/f13c148d Tree: http://git-wip-us.apache.org/repos/asf/giraph/tree/f13c148d Diff: http://git-wip-us.apache.org/repos/asf/giraph/diff/f13c148d Branch: refs/heads/trunk Commit: f13c148df439a4e3db681c0e46b803834d80b86f Parents: 4dd605a Author: Roman Shaposhnik <[email protected]> Authored: Tue Oct 15 14:39:12 2013 -0700 Committer: Roman Shaposhnik <[email protected]> Committed: Tue Nov 12 16:09:46 2013 -0800 ---------------------------------------------------------------------- giraph-dist/pom.xml | 97 ++++++++++++++++++++++++++++++ giraph-dist/src/main/assembly/bin.xml | 76 +++++++++++++++++++++++ pom.xml | 21 +++++++ 3 files changed, 194 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/giraph/blob/f13c148d/giraph-dist/pom.xml ---------------------------------------------------------------------- diff --git a/giraph-dist/pom.xml b/giraph-dist/pom.xml new file mode 100644 index 0000000..96ebcd9 --- /dev/null +++ b/giraph-dist/pom.xml @@ -0,0 +1,97 @@ +<!-- + 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. +--> + +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.giraph</groupId> + <artifactId>giraph-parent</artifactId> + <version>1.1.0-SNAPSHOT</version> + </parent> + + <artifactId>giraph-dist</artifactId> + <packaging>pom</packaging> + <name>Apache Giraph Distribution</name> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <executions> + <execution> + <!-- Disabling default fat jar generation via binding to a phase none --> + <id>build-fat-jar</id> + <phase>none</phase> + <goals> + <goal>single</goal> + </goals> + </execution> + <execution> + <id>assemble</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <finalName>giraph-${project.version}-${forHadoop}</finalName> + <descriptors> + <descriptor>src/main/assembly/bin.xml</descriptor> + </descriptors> + <tarLongFileMode>gnu</tarLongFileMode> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <dependencies> + <dependency> + <groupId>org.apache.giraph</groupId> + <artifactId>giraph-core</artifactId> + </dependency> + <dependency> + <groupId>org.apache.giraph</groupId> + <artifactId>giraph-hbase</artifactId> + </dependency> + <dependency> + <groupId>org.apache.giraph</groupId> + <artifactId>giraph-accumulo</artifactId> + </dependency> + <dependency> + <groupId>org.apache.giraph</groupId> + <artifactId>giraph-rexster</artifactId> + </dependency> + <dependency> + <groupId>org.apache.giraph</groupId> + <artifactId>giraph-hcatalog</artifactId> + </dependency> + <dependency> + <groupId>org.apache.giraph</groupId> + <artifactId>giraph-hive</artifactId> + </dependency> + <dependency> + <groupId>org.apache.giraph</groupId> + <artifactId>giraph-examples</artifactId> + </dependency> + </dependencies> +</project> http://git-wip-us.apache.org/repos/asf/giraph/blob/f13c148d/giraph-dist/src/main/assembly/bin.xml ---------------------------------------------------------------------- diff --git a/giraph-dist/src/main/assembly/bin.xml b/giraph-dist/src/main/assembly/bin.xml new file mode 100644 index 0000000..49d40e4 --- /dev/null +++ b/giraph-dist/src/main/assembly/bin.xml @@ -0,0 +1,76 @@ +<!-- + 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>bin</id> + + <formats> + <format>dir</format> + <format>tar.gz</format> + </formats> + + <dependencySets> + <dependencySet> + <outputDirectory>lib</outputDirectory> + <unpack>false</unpack> + <useProjectArtifact>false</useProjectArtifact> + <excludes> + <exclude>org.apache.giraph:*:jar:*</exclude> + </excludes> + </dependencySet> + <dependencySet> + <outputDirectory>.</outputDirectory> + <unpack>false</unpack> + <useProjectArtifact>false</useProjectArtifact> + <includes> + <include>org.apache.giraph:*:jar:*</include> + </includes> + </dependencySet> + </dependencySets> + + + <fileSets> + <fileSet> + <directory>../</directory> + + <includes> + <include>README</include> + <include>LICENSE.txt</include> + <include>NOTICE</include> + <include>CHANGELOG</include> + <include>bin/**</include> + <include>conf/**</include> + </includes> + </fileSet> + + <fileSet> + <directory>../target/site</directory> + <includes> + <include>/**</include> + </includes> + <outputDirectory>docs</outputDirectory> + </fileSet> + + </fileSets> + +</assembly> http://git-wip-us.apache.org/repos/asf/giraph/blob/f13c148d/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index cc2c9a8..bce0641 100644 --- a/pom.xml +++ b/pom.xml @@ -1056,6 +1056,11 @@ under the License. </dependency> <dependency> <groupId>org.apache.giraph</groupId> + <artifactId>giraph-examples</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.giraph</groupId> <artifactId>giraph-hcatalog</artifactId> <version>${project.version}</version> </dependency> @@ -1065,6 +1070,21 @@ under the License. <version>${project.version}</version> </dependency> <dependency> + <groupId>org.apache.giraph</groupId> + <artifactId>giraph-hbase</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.giraph</groupId> + <artifactId>giraph-accumulo</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.giraph</groupId> + <artifactId>giraph-rexster</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> <groupId>org.apache.hcatalog</groupId> <artifactId>hcatalog-core</artifactId> <version>${dep.hcatalog.version}</version> @@ -1254,6 +1274,7 @@ under the License. <modules> <module>giraph-core</module> <module>giraph-examples</module> + <module>giraph-dist</module> </modules> </project>
