You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hugegraph.apache.org by ji...@apache.org on 2022/11/28 07:45:22 UTC

[incubator-hugegraph-computer] branch master updated: chore: add k8s-operator,yarn,algorithm dependencies & delete redundance license (#208)

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

jin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-computer.git


The following commit(s) were added to refs/heads/master by this push:
     new 79776c5f chore: add k8s-operator,yarn,algorithm dependencies & delete redundance license (#208)
79776c5f is described below

commit 79776c5f3a0c5a7b2ece445047896940f5551925
Author: seagle <se...@users.noreply.github.com>
AuthorDate: Mon Nov 28 15:45:17 2022 +0800

    chore: add k8s-operator,yarn,algorithm dependencies & delete redundance license (#208)
    
    Co-authored-by: yuanbingze <yu...@yy.com>
---
 .gitignore            |  2 +-
 computer-dist/pom.xml | 41 +++++++++++++++++++++--------------------
 computer-test/pom.xml | 19 -------------------
 pom.xml               | 38 ++++++++++++++++++++++++++++++++------
 4 files changed, 54 insertions(+), 46 deletions(-)

diff --git a/.gitignore b/.gitignore
index 722dfcf5..70e5002e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,7 +9,7 @@ gen-java
 build
 *.class
 **/dependency-reduced-pom.xml
-
+dist.sh
 
 ### STS ###
 .apt_generated
diff --git a/computer-dist/pom.xml b/computer-dist/pom.xml
index 8e95b56c..7c6b6381 100644
--- a/computer-dist/pom.xml
+++ b/computer-dist/pom.xml
@@ -18,25 +18,7 @@
 <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/xsd/maven-4.0.0.xsd">
-     <!--
-      /**
-       * 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.
-       */
-      -->
+
     <parent>
         <artifactId>hugegraph-computer</artifactId>
         <groupId>org.apache.hugegraph</groupId>
@@ -53,11 +35,30 @@
     </properties>
 
     <dependencies>
+
+        <dependency>
+            <groupId>org.apache.hugegraph</groupId>
+            <artifactId>computer-algorithm</artifactId>
+            <scope>provided</scope>
+        </dependency>
+
         <dependency>
             <groupId>org.apache.hugegraph</groupId>
             <artifactId>computer-core</artifactId>
-            <version>${revision}</version>
         </dependency>
+
+        <dependency>
+            <groupId>org.apache.hugegraph</groupId>
+            <artifactId>computer-k8s-operator</artifactId>
+            <scope>provided</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.hugegraph</groupId>
+            <artifactId>computer-yarn</artifactId>
+            <scope>provided</scope>
+        </dependency>
+
     </dependencies>
 
     <build>
diff --git a/computer-test/pom.xml b/computer-test/pom.xml
index 8c4b8108..76f992b0 100644
--- a/computer-test/pom.xml
+++ b/computer-test/pom.xml
@@ -18,25 +18,6 @@
 <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/xsd/maven-4.0.0.xsd">
-    <!--
-     /**
-      * 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.
-      */
-     -->
     <parent>
         <artifactId>hugegraph-computer</artifactId>
         <groupId>org.apache.hugegraph</groupId>
diff --git a/pom.xml b/pom.xml
index 538728eb..8d93ea52 100644
--- a/pom.xml
+++ b/pom.xml
@@ -3,6 +3,13 @@
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
     <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache</groupId>
+        <artifactId>apache</artifactId>
+        <version>23</version>
+    </parent>
+
     <groupId>org.apache.hugegraph</groupId>
     <artifactId>hugegraph-computer</artifactId>
     <version>${revision}</version>
@@ -25,12 +32,6 @@
         </license>
     </licenses>
 
-    <parent>
-        <groupId>org.apache</groupId>
-        <artifactId>apache</artifactId>
-        <version>23</version>
-    </parent>
-
     <scm>
         <url>https://github.com/apache/hugegraph-computer</url>
         <connection>https://github.com/apache/hugegraph-computer</connection>
@@ -96,6 +97,31 @@
                 <artifactId>hugegraph-client</artifactId>
                 <version>${hugegraph-client-version}</version>
             </dependency>
+
+            <dependency>
+                <groupId>org.apache.hugegraph</groupId>
+                <artifactId>computer-algorithm</artifactId>
+                <version>${revision}</version>
+            </dependency>
+
+            <dependency>
+                <groupId>org.apache.hugegraph</groupId>
+                <artifactId>computer-core</artifactId>
+                <version>${revision}</version>
+            </dependency>
+
+            <dependency>
+                <groupId>org.apache.hugegraph</groupId>
+                <artifactId>computer-k8s-operator</artifactId>
+                <version>${revision}</version>
+            </dependency>
+
+            <dependency>
+                <groupId>org.apache.hugegraph</groupId>
+                <artifactId>computer-yarn</artifactId>
+                <version>${revision}</version>
+            </dependency>
+
             <dependency>
                 <groupId>io.netty</groupId>
                 <artifactId>netty-all</artifactId>