You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2023/01/23 14:18:01 UTC

[doris] 03/05: [fix](regression-test) Fix the build for Java UDF Case (#15851)

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

morningman pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git

commit 784e8d03312cbebe66e19385088246dda0f44ae6
Author: Adonis Ling <ad...@gmail.com>
AuthorDate: Tue Jan 17 20:25:53 2023 +0800

    [fix](regression-test) Fix the build for Java UDF Case (#15851)
    
    After opening the project in Intellij Idea, we can see the cause. It is because Apache Maven of which the version is 3.8.1 or newer blocks http repositories by default. Therefore, we can fix this issue by adding a https repository which contains this package in pom.xml.
---
 regression-test/java-udf-src/pom.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/regression-test/java-udf-src/pom.xml b/regression-test/java-udf-src/pom.xml
index d0cd56f498..2b01da10ad 100644
--- a/regression-test/java-udf-src/pom.xml
+++ b/regression-test/java-udf-src/pom.xml
@@ -30,6 +30,13 @@ under the License.
         <maven.compiler.target>8</maven.compiler.target>
     </properties>
 
+    <repositories>
+        <repository>
+            <id>MapR</id>
+            <url>https://repository.mapr.com/nexus/content/groups/mapr-public/conjars</url>
+        </repository>
+    </repositories>
+
     <dependencies>
         <!-- https://mvnrepository.com/artifact/org.apache.hive/hive-exec -->
         <dependency>
@@ -68,6 +75,7 @@ under the License.
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
+                <version>3.10.1</version>
                 <configuration>
                     <source>8</source>
                     <target>8</target>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org