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 2023/01/06 15:36:18 UTC

[incubator-hugegraph-computer] 01/01: chore: add DISCLAIMER & NOTICE & LICENSE file to binary package

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

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

commit 2f2d93694e5198100f406d92b3ca60d700672e52
Author: imbajin <ji...@apache.org>
AuthorDate: Fri Jan 6 23:36:11 2023 +0800

    chore: add DISCLAIMER & NOTICE & LICENSE file to binary package
---
 DISCLAIMER                                         | 7 +++++++
 computer-dist/pom.xml                              | 9 +--------
 computer-dist/src/assembly/descriptor/assembly.xml | 9 +++++++++
 pom.xml                                            | 1 +
 4 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/DISCLAIMER b/DISCLAIMER
new file mode 100644
index 00000000..be557e36
--- /dev/null
+++ b/DISCLAIMER
@@ -0,0 +1,7 @@
+Apache HugeGraph (incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator PMC.
+
+Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications,
+and decision making process have stabilized in a manner consistent with other successful ASF projects.
+
+While incubation status is not necessarily a reflection of the completeness or stability of the code,
+it does indicate that the project has yet to be fully endorsed by the ASF.
diff --git a/computer-dist/pom.xml b/computer-dist/pom.xml
index 2c201960..5ae7a5a3 100644
--- a/computer-dist/pom.xml
+++ b/computer-dist/pom.xml
@@ -35,30 +35,25 @@
     </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>
         </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>
@@ -78,9 +73,7 @@
                             <appendAssemblyId>false</appendAssemblyId>
                             <outputDirectory>${top.level.dir}
                             </outputDirectory>
-                            <descriptor>
-                                ${assembly.descriptor.dir}/assembly.xml
-                            </descriptor>
+                            <descriptor>${assembly.descriptor.dir}/assembly.xml</descriptor>
                             <finalName>${final.name}</finalName>
                         </configuration>
                     </execution>
diff --git a/computer-dist/src/assembly/descriptor/assembly.xml b/computer-dist/src/assembly/descriptor/assembly.xml
index 75e4c623..cc5ccd58 100644
--- a/computer-dist/src/assembly/descriptor/assembly.xml
+++ b/computer-dist/src/assembly/descriptor/assembly.xml
@@ -48,6 +48,15 @@
                 <include>*.jar</include>
             </includes>
         </fileSet>
+        <fileSet>
+            <directory>${top.level.dir}</directory>
+            <outputDirectory>/</outputDirectory>
+            <includes>
+                <include>LICENSE*</include>
+                <include>NOTICE*</include>
+                <include>DISCLAIMER*</include>
+            </includes>
+        </fileSet>
     </fileSets>
 
     <dependencySets>
diff --git a/pom.xml b/pom.xml
index 9643f444..c1c61144 100644
--- a/pom.xml
+++ b/pom.xml
@@ -309,6 +309,7 @@
                         <exclude>**/target/*</exclude>
                         <exclude>.github/**/*</exclude>
                         <exclude>**/.flattened-pom.xml</exclude>
+                        <exclude>DISCLAIMER</exclude>
                         <exclude>**/zz_generated.deepcopy.go</exclude>
                     </excludes>
                     <consoleOutput>true</consoleOutput>