You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@omid.apache.org by da...@apache.org on 2016/06/21 05:05:17 UTC

incubator-omid git commit: [OMID-47] Build source release when packaging

Repository: incubator-omid
Updated Branches:
  refs/heads/master 1b99b17fd -> 3bf691127


[OMID-47] Build source release when packaging


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

Branch: refs/heads/master
Commit: 3bf69112711f1d593dfc50552a4a7faf4665614c
Parents: 1b99b17
Author: Daniel Dai <da...@hortonworks.com>
Authored: Mon Jun 20 22:04:09 2016 -0700
Committer: Daniel Dai <da...@hortonworks.com>
Committed: Mon Jun 20 22:04:09 2016 -0700

----------------------------------------------------------------------
 packaging/maven/assembly/src.xml | 78 +++++++++++++++++++++++++++++++++++
 packaging/pom.xml                | 53 ++++++++++++++++++++++++
 pom.xml                          |  1 +
 3 files changed, 132 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-omid/blob/3bf69112/packaging/maven/assembly/src.xml
----------------------------------------------------------------------
diff --git a/packaging/maven/assembly/src.xml b/packaging/maven/assembly/src.xml
new file mode 100644
index 0000000..a9bde58
--- /dev/null
+++ b/packaging/maven/assembly/src.xml
@@ -0,0 +1,78 @@
+<!--
+ 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>tar.gz</format>
+  </formats>
+
+  <includeBaseDirectory>true</includeBaseDirectory>
+  <baseDirectory>apache-omid-incubating-${project.version}-src</baseDirectory>
+
+  <fileSets>
+    <fileSet>
+      <directory>${project.parent.basedir}</directory>
+      <excludes>
+        <exclude>**/*.jar</exclude>
+        <exclude>**/*.tar.gz</exclude>
+        <exclude>**/target/**</exclude>
+        <exclude>**/.classpath</exclude>
+        <exclude>**/.project</exclude>
+        <exclude>**/.settings/**</exclude>
+      </excludes>
+
+      <includes>
+        <include>.gitignore</include>
+        <include>.travis.yml</include>
+        <include>DISCLAIMER</include>
+        <include>LICENSE.txt</include>
+        <include>NOTICE</include>
+        <include>README.md</include>
+        <include>KEYS</include>
+        <include>bintray-settings.xml</include>
+        <include>pom.xml</include>
+        <include>benchmarks/**/*</include>
+        <include>codahale-metrics/**/*</include>
+        <include>commit-table/**/*</include>
+        <include>common/**/*</include>
+        <include>examples/**/*</include>
+        <include>hbase-client/**/*</include>
+        <include>hbase-commit-table/**/*</include>
+        <include>hbase-common/**/*</include>
+        <include>hbase-coprocessor/**/*</include>
+        <include>hbase-shims/**/*</include>
+        <include>hbase-tools/**/*</include>
+        <include>metrics/**/*</include>
+        <include>misc/**/*</include>
+        <include>statemachine/**/*</include>
+        <include>timestamp-storage/**/*</include>
+        <include>transaction-client/**/*</include>
+        <include>tso-server/**/*</include>
+        <include>packaging/**/*</include>
+      </includes>
+      <outputDirectory>/</outputDirectory>
+    </fileSet>
+  </fileSets>
+</assembly>

http://git-wip-us.apache.org/repos/asf/incubator-omid/blob/3bf69112/packaging/pom.xml
----------------------------------------------------------------------
diff --git a/packaging/pom.xml b/packaging/pom.xml
new file mode 100644
index 0000000..0ff0c66
--- /dev/null
+++ b/packaging/pom.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.
+-->
+<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/maven-v4_0_0.xsd">
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.omid</groupId>
+        <artifactId>omid</artifactId>
+        <version>0.8.2.0</version>
+    </parent>
+
+    <artifactId>omid-packaging</artifactId>
+    <packaging>pom</packaging>
+    <name>Omid Packaging</name>
+
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <version>${maven-assembly-plugin.version}</version>
+                <configuration>
+                    <tarLongFileMode>gnu</tarLongFileMode>
+                    <skipAssembly>false</skipAssembly>
+                    <finalName>apache-omid-incubating-${project.version}-src</finalName>
+                    <descriptors>
+                        <descriptor>maven/assembly/src.xml</descriptor>
+                    </descriptors>
+                </configuration>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

http://git-wip-us.apache.org/repos/asf/incubator-omid/blob/3bf69112/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index a2bdb10..73e81f2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -90,6 +90,7 @@
         <module>hbase-coprocessor</module>
         <module>hbase-tools</module>
         <module>examples</module>
+        <module>packaging</module>
     </modules>
 
     <pluginRepositories>