hdt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rsha...@apache.org
Subject [2/2] git commit: HDT-43 : Added a Distibution module
Date Tue, 08 Oct 2013 03:21:25 GMT
HDT-43 : Added a Distibution module


Project: http://git-wip-us.apache.org/repos/asf/incubator-hdt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hdt/commit/fabc184e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hdt/tree/fabc184e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hdt/diff/fabc184e

Branch: refs/heads/hadoop-eclipse-merge
Commit: fabc184eb58262831cd35e34acf46119ad2f4669
Parents: 8c197b2
Author: Rahul Sharma <rsharma@apache.org>
Authored: Fri Oct 4 16:19:36 2013 +0530
Committer: Rahul Sharma <rsharma@apache.org>
Committed: Tue Oct 8 08:49:50 2013 +0530

----------------------------------------------------------------------
 org.apache.hdt.dist/pom.xml                   | 64 ++++++++++++++++++++++
 org.apache.hdt.dist/src/main/assembly/bin.xml | 51 +++++++++++++++++
 org.apache.hdt.dist/src/main/assembly/src.xml | 38 +++++++++++++
 pom.xml                                       |  5 +-
 4 files changed, 156 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/fabc184e/org.apache.hdt.dist/pom.xml
----------------------------------------------------------------------
diff --git a/org.apache.hdt.dist/pom.xml b/org.apache.hdt.dist/pom.xml
new file mode 100644
index 0000000..5002e79
--- /dev/null
+++ b/org.apache.hdt.dist/pom.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0"?>
+<!--
+  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 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+  xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.hdt</groupId>
+    <artifactId>hdt.master</artifactId>
+    <version>0.0.1-SNAPSHOT</version>
+  </parent>
+  <artifactId>org.apache.hdt.dist</artifactId>
+  <name>Apache Hadoop Development Tools Distribution</name>
+  <packaging>pom</packaging>
+  <dependencies>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>org.apache.hdt.updateSite</artifactId>
+      <version>${project.version}</version>
+      <type>zip</type>
+    </dependency>
+  </dependencies>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-assembly-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>assemble</id>
+            <phase>package</phase>
+            <goals>
+              <goal>single</goal>
+            </goals>
+            <configuration>
+              <finalName>hdt-${project.version}</finalName>
+              <runOnlyAtExecutionRoot>false</runOnlyAtExecutionRoot>
+              <descriptors>
+                <descriptor>src/main/assembly/src.xml</descriptor>
+                <descriptor>src/main/assembly/bin.xml</descriptor>
+              </descriptors>
+              <tarLongFileMode>gnu</tarLongFileMode>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/fabc184e/org.apache.hdt.dist/src/main/assembly/bin.xml
----------------------------------------------------------------------
diff --git a/org.apache.hdt.dist/src/main/assembly/bin.xml b/org.apache.hdt.dist/src/main/assembly/bin.xml
new file mode 100644
index 0000000..27c032c
--- /dev/null
+++ b/org.apache.hdt.dist/src/main/assembly/bin.xml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0
http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+  <id>hdt-assembly-bin</id>
+  <formats>
+    <format>tar.gz</format>
+  </formats>
+  <baseDirectory>${finalName}-bin</baseDirectory>
+  <dependencySets>
+    <dependencySet>
+      <fileMode>0644</fileMode>
+      <directoryMode>0755</directoryMode>
+      <includes>
+        <include>org.apache.hdt:org.apache.hdt.updateSite</include>
+      </includes>
+      <useTransitiveDependencies>false</useTransitiveDependencies>
+      <unpack>true</unpack>
+    </dependencySet>
+  </dependencySets>
+  <fileSets>
+    <fileSet>
+      <directory>${project.basedir}/../</directory>
+      <fileMode>0644</fileMode>
+      <directoryMode>0755</directoryMode>
+      <includes>
+        <include>README.txt</include>
+        <include>LICENSE</include>
+        <include>NOTICE</include>
+        <include>DISCLAIMER</include>
+      </includes>
+    </fileSet>
+  </fileSets>
+</assembly>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/fabc184e/org.apache.hdt.dist/src/main/assembly/src.xml
----------------------------------------------------------------------
diff --git a/org.apache.hdt.dist/src/main/assembly/src.xml b/org.apache.hdt.dist/src/main/assembly/src.xml
new file mode 100644
index 0000000..bb0d953
--- /dev/null
+++ b/org.apache.hdt.dist/src/main/assembly/src.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0
http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+  <id>hdt-assembly-src</id>
+  <formats>
+    <format>tar.gz</format>
+  </formats>
+  <baseDirectory>${finalName}-src</baseDirectory>
+  <fileSets>
+    <fileSet>
+      <directory>${project.basedir}/../</directory>
+      <useDefaultExcludes>false</useDefaultExcludes>
+      <excludes>
+        <exclude>.git/**</exclude>
+        <exclude>**/target/**</exclude>
+        <exclude>**/jars/**</exclude>
+      </excludes>
+    </fileSet>
+  </fileSets>
+</assembly>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/fabc184e/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 9d6f2c4..05f680c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,3 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
 <!--
 Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements.  See the NOTICE file
@@ -15,8 +16,7 @@ software distributed under the License is distributed on an
 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">
+--><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</groupId>
@@ -130,6 +130,7 @@ under the License.
     <module>org.apache.hdt.feature</module>
     <module>org.apache.hdt.updateSite</module>
     <module>org.apache.hdt.ui.test</module>
+    <module>org.apache.hdt.dist</module>
   </modules>
 
   <build>


Mime
View raw message