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 2021/10/21 09:45:18 UTC

[phoenix] branch 5.1 updated: PHOENIX-6578 sqlline.py cannot be started from source tree

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

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


The following commit(s) were added to refs/heads/5.1 by this push:
     new 76ec2ba  PHOENIX-6578 sqlline.py cannot be started from source tree
76ec2ba is described below

commit 76ec2bac8bafbe9d657f5cd1f1b367ab32d1508b
Author: Istvan Toth <st...@apache.org>
AuthorDate: Thu Oct 21 08:55:38 2021 +0200

    PHOENIX-6578 sqlline.py cannot be started from source tree
---
 phoenix-core/pom.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/phoenix-core/pom.xml b/phoenix-core/pom.xml
index 96b8ade..2763fcb 100644
--- a/phoenix-core/pom.xml
+++ b/phoenix-core/pom.xml
@@ -184,6 +184,27 @@
               <outputFile>${project.build.directory}/cached_classpath.txt</outputFile>
             </configuration>
           </execution>
+          <!-- copies libraries for use by sqlline when it is started from source dir -->
+          <execution>
+            <id>copy-for-sqlline</id>
+            <goals>
+              <goal>copy</goal>
+            </goals>
+            <configuration>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.slf4j</groupId>
+                  <artifactId>slf4j-log4j12</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>sqlline</groupId>
+                  <artifactId>sqlline</artifactId>
+                  <classifier>jar-with-dependencies</classifier>
+                </artifactItem>
+              </artifactItems>
+              <outputDirectory>${project.basedir}/../lib</outputDirectory>
+            </configuration>
+          </execution>
         </executions>
       </plugin>
       <plugin>