You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by st...@apache.org on 2020/04/09 17:43:54 UTC

[phoenix-connectors] branch master updated: PHOENIX-5684 PHOENIX-5683 POM and CI fixes

This is an automated email from the ASF dual-hosted git repository.

stoty pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix-connectors.git


The following commit(s) were added to refs/heads/master by this push:
     new 7a0deda  PHOENIX-5684 PHOENIX-5683 POM and CI fixes
7a0deda is described below

commit 7a0deda8e75bad359cb36ab9ebea08b795c7fec2
Author: Josh Elser <el...@apache.org>
AuthorDate: Wed Jan 15 15:53:21 2020 -0500

    PHOENIX-5684 PHOENIX-5683 POM and CI fixes
    
    fixes
    PHOENIX-5684 Enable batch-mode on maven
    PHOENIX-5683 Fix obvious pom issues
---
 .github/workflows/maven.yml | 8 ++++++--
 phoenix-spark/pom.xml       | 5 -----
 pom.xml                     | 7 +++++++
 3 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 38f02be..0f4e16c 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -12,5 +12,9 @@ jobs:
       uses: actions/setup-java@v1
       with:
         java-version: 1.8
-    - name: Build with Maven
-      run: mvn clean install
+    - name: Build
+      run: mvn -B clean install -DskipTests
+    # The build doesn't seem to pick up the result of the install from above, so just re-compile
+    # and the Maven reactor will find it just fine.
+    - name: Test
+      run: mvn -B verify
diff --git a/phoenix-spark/pom.xml b/phoenix-spark/pom.xml
index 56d2111..b5a1f7b 100644
--- a/phoenix-spark/pom.xml
+++ b/phoenix-spark/pom.xml
@@ -498,11 +498,6 @@
         <artifactId>maven-failsafe-plugin</artifactId>
       </plugin>
       <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-compiler-plugin</artifactId>
-      </plugin>
-
-      <plugin>
         <groupId>net.alchim31.maven</groupId>
         <artifactId>scala-maven-plugin</artifactId>
         <version>3.4.4</version>
diff --git a/pom.xml b/pom.xml
index 3792963..2c473f8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -75,6 +75,7 @@
     <spark.version>2.4.0</spark.version>
     <scala.version>2.11.8</scala.version>
     <scala.binary.version>2.11</scala.binary.version>
+    <tephra.version>0.15.0-incubating</tephra.version>
     <mockito-all.version>1.8.5</mockito-all.version>
     <junit.version>4.12</junit.version>   
 
@@ -706,6 +707,12 @@
         <artifactId>disruptor</artifactId>
         <version>${disruptor.version}</version>
       </dependency>
+      <dependency>
+        <groupId>org.apache.tephra</groupId>
+        <artifactId>tephra-core</artifactId>
+        <version>${tephra.version}</version>
+        <type>test-jar</type>
+      </dependency>
     </dependencies>
   </dependencyManagement>