You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by jd...@apache.org on 2016/03/17 23:47:33 UTC
[29/51] [abbrv] hive git commit: HIVE-13206: Create a
test-sources.jar when -Psources profile is invoked (Sergio Pena,
reviewed by Szehon Ho)
HIVE-13206: Create a test-sources.jar when -Psources profile is invoked (Sergio Pena, reviewed by Szehon Ho)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/ceff0626
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/ceff0626
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/ceff0626
Branch: refs/heads/llap
Commit: ceff0626dc1951539f31f3c01fd739a32d92fcad
Parents: b6502b5
Author: Sergio Pena <se...@cloudera.com>
Authored: Fri Mar 11 09:55:18 2016 -0600
Committer: Sergio Pena <se...@cloudera.com>
Committed: Fri Mar 11 09:56:23 2016 -0600
----------------------------------------------------------------------
beeline/pom.xml | 22 ++++++++++++++++++++++
common/pom.xml | 19 +++++++++++++++++++
ql/pom.xml | 22 ++++++++++++++++++++++
serde/pom.xml | 22 ++++++++++++++++++++++
spark-client/pom.xml | 22 ++++++++++++++++++++++
5 files changed, 107 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hive/blob/ceff0626/beeline/pom.xml
----------------------------------------------------------------------
diff --git a/beeline/pom.xml b/beeline/pom.xml
index c1d89b8..8ac83f5 100644
--- a/beeline/pom.xml
+++ b/beeline/pom.xml
@@ -126,6 +126,28 @@
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>sources</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
<build>
<sourceDirectory>${basedir}/src/java</sourceDirectory>
<testSourceDirectory>${basedir}/src/test</testSourceDirectory>
http://git-wip-us.apache.org/repos/asf/hive/blob/ceff0626/common/pom.xml
----------------------------------------------------------------------
diff --git a/common/pom.xml b/common/pom.xml
index cc47257..1b9b4bc 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -192,6 +192,25 @@
<profiles>
<profile>
+ <id>sources</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
<id>dist</id>
<build>
<plugins>
http://git-wip-us.apache.org/repos/asf/hive/blob/ceff0626/ql/pom.xml
----------------------------------------------------------------------
diff --git a/ql/pom.xml b/ql/pom.xml
index 330e449..ebb9599 100644
--- a/ql/pom.xml
+++ b/ql/pom.xml
@@ -683,6 +683,28 @@
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>sources</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
<build>
<sourceDirectory>${basedir}/src/java</sourceDirectory>
<testSourceDirectory>${basedir}/src/test</testSourceDirectory>
http://git-wip-us.apache.org/repos/asf/hive/blob/ceff0626/serde/pom.xml
----------------------------------------------------------------------
diff --git a/serde/pom.xml b/serde/pom.xml
index e025a4e..cea7fce 100644
--- a/serde/pom.xml
+++ b/serde/pom.xml
@@ -160,6 +160,28 @@
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>sources</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
<build>
<sourceDirectory>${basedir}/src/java</sourceDirectory>
<testSourceDirectory>${basedir}/src/test</testSourceDirectory>
http://git-wip-us.apache.org/repos/asf/hive/blob/ceff0626/spark-client/pom.xml
----------------------------------------------------------------------
diff --git a/spark-client/pom.xml b/spark-client/pom.xml
index 7cca609..b677195 100644
--- a/spark-client/pom.xml
+++ b/spark-client/pom.xml
@@ -102,6 +102,28 @@
</dependency>
</dependencies>
+ <profiles>
+ <profile>
+ <id>sources</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
<build>
<plugins>
<plugin>