This is an automated email from the ASF dual-hosted git repository.
weibin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-graphar.git
The following commit(s) were added to refs/heads/main by this push:
new e89829b feat(java): Add aggregator POM for java and spark library to
manage the dependency (#469)
e89829b is described below
commit e89829bfd4cb9d96c02a095c15afb51117d0c8e5
Author: Weibin Zeng <[email protected]>
AuthorDate: Tue Apr 30 11:36:34 2024 +0800
feat(java): Add aggregator POM for java and spark library to manage the
dependency (#469)
---------
Signed-off-by: acezen <[email protected]>
---
java/pom.xml | 9 +++++++--
pom.xml | 40 ++++++++++++++++++++++++++++++++++++++++
spark/datasources-32/pom.xml | 6 +++---
spark/datasources-33/pom.xml | 6 +++---
spark/graphar/pom.xml | 9 ++++-----
spark/pom.xml | 13 ++++++++-----
6 files changed, 65 insertions(+), 18 deletions(-)
diff --git a/java/pom.xml b/java/pom.xml
index a58558b..f13dcb1 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -25,9 +25,14 @@
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>
- <groupId>org.apache.graphar</groupId>
+ <parent>
+ <groupId>org.apache.graphar</groupId>
+ <artifactId>graphar-root</artifactId>
+ <version>${graphar.version}</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
<artifactId>gar-java</artifactId>
- <version>0.1.0</version>
<packaging>jar</packaging>
<name>gar-java</name>
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 0000000..03f3a28
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ 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.
+
+-->
+<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">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.apache.graphar</groupId>
+ <artifactId>graphar-root</artifactId>
+ <version>${graphar.version}</version>
+ <packaging>pom</packaging>
+
+ <name>Apache GraphAr Root POM</name>
+ <modules>
+ <module>java</module>
+ <module>spark</module>
+ </modules>
+
+ <properties>
+ <graphar.version>0.1.0-SNAPSHOT</graphar.version>
+ </properties>
+</project>
diff --git a/spark/datasources-32/pom.xml b/spark/datasources-32/pom.xml
index 346e716..f0b587b 100644
--- a/spark/datasources-32/pom.xml
+++ b/spark/datasources-32/pom.xml
@@ -25,12 +25,12 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache</groupId>
- <artifactId>graphar</artifactId>
+ <groupId>org.apache.graphar</groupId>
+ <artifactId>graphar-spark</artifactId>
<version>${graphar.version}</version>
+ <relativePath>../pom.xml</relativePath>
</parent>
- <groupId>org.apache</groupId>
<artifactId>graphar-datasources</artifactId>
<version>${graphar.version}</version>
<packaging>jar</packaging>
diff --git a/spark/datasources-33/pom.xml b/spark/datasources-33/pom.xml
index 346e716..f0b587b 100644
--- a/spark/datasources-33/pom.xml
+++ b/spark/datasources-33/pom.xml
@@ -25,12 +25,12 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache</groupId>
- <artifactId>graphar</artifactId>
+ <groupId>org.apache.graphar</groupId>
+ <artifactId>graphar-spark</artifactId>
<version>${graphar.version}</version>
+ <relativePath>../pom.xml</relativePath>
</parent>
- <groupId>org.apache</groupId>
<artifactId>graphar-datasources</artifactId>
<version>${graphar.version}</version>
<packaging>jar</packaging>
diff --git a/spark/graphar/pom.xml b/spark/graphar/pom.xml
index cf204b3..04f4cf1 100644
--- a/spark/graphar/pom.xml
+++ b/spark/graphar/pom.xml
@@ -25,19 +25,18 @@
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.apache</groupId>
- <artifactId>graphar</artifactId>
+ <groupId>org.apache.graphar</groupId>
+ <artifactId>graphar-spark</artifactId>
<version>${graphar.version}</version>
+ <relativePath>../pom.xml</relativePath>
</parent>
- <groupId>org.apache</groupId>
<artifactId>graphar-commons</artifactId>
- <version>${graphar.version}</version>
<packaging>jar</packaging>
<dependencies>
<dependency>
- <groupId>org.apache</groupId>
+ <groupId>org.apache.graphar</groupId>
<artifactId>graphar-datasources</artifactId>
<version>${graphar.version}</version>
</dependency>
diff --git a/spark/pom.xml b/spark/pom.xml
index 76cd5f8..ff44ac5 100644
--- a/spark/pom.xml
+++ b/spark/pom.xml
@@ -24,9 +24,14 @@
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>
- <groupId>org.apache</groupId>
- <artifactId>graphar</artifactId>
- <version>${graphar.version}</version>
+ <parent>
+ <groupId>org.apache.graphar</groupId>
+ <artifactId>graphar-root</artifactId>
+ <version>${graphar.version}</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <artifactId>graphar-spark</artifactId>
<packaging>pom</packaging>
<profiles>
@@ -44,7 +49,6 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<cupid.sdk.version>3.3.8-public</cupid.sdk.version>
- <graphar.version>0.1.0-SNAPSHOT</graphar.version>
</properties>
<modules>
<module>graphar</module>
@@ -68,7 +72,6 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<cupid.sdk.version>3.3.8-public</cupid.sdk.version>
- <graphar.version>0.1.0-SNAPSHOT</graphar.version>
</properties>
<modules>
<module>graphar</module>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]