You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sedona.apache.org by ko...@apache.org on 2023/06/19 13:54:50 UTC

[sedona] branch try-release-process created (now 2119ba58)

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

kontinuation pushed a change to branch try-release-process
in repository https://gitbox.apache.org/repos/asf/sedona.git


      at 2119ba58 Test release process using my own github repo and local nexus repository

This branch includes the following new commits:

     new 11599591 Fixed maven prepare-release by including all submodules when executing prepare release
     new 2119ba58 Test release process using my own github repo and local nexus repository

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[sedona] 01/02: Fixed maven prepare-release by including all submodules when executing prepare release

Posted by ko...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kontinuation pushed a commit to branch try-release-process
in repository https://gitbox.apache.org/repos/asf/sedona.git

commit 11599591c6a9fe82d336695075b46224c3e824c9
Author: Kristin Cowalcijk <mo...@yeah.net>
AuthorDate: Mon Jun 19 15:46:32 2023 +0800

    Fixed maven prepare-release by including all submodules when executing prepare release
---
 pom.xml               | 12 ++++++++++++
 sql/pom.xml           | 12 ++++++++++++
 sql/spark-3.0/pom.xml |  2 +-
 sql/spark-3.4/pom.xml |  2 +-
 4 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index d1ddef4f..e76905b3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -360,6 +360,18 @@
                     <artifactId>maven-shade-plugin</artifactId>
                     <version>3.4.1</version>
                 </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-release-plugin</artifactId>
+                    <version>3.0.1</version>
+                    <configuration>
+                        <autoResolveSnapshots>all</autoResolveSnapshots>
+                        <autoVersionSubmodules>true</autoVersionSubmodules>
+                        <!-- Don't enable all submodules when running the
+                             actual build using modified POMs -->
+                        <preparationProfiles>!enable-all-submodules</preparationProfiles>
+                    </configuration>
+                </plugin>
                 <plugin>
                     <groupId>net.alchim31.maven</groupId>
                     <artifactId>scala-maven-plugin</artifactId>
diff --git a/sql/pom.xml b/sql/pom.xml
index beabf121..9f52f40e 100644
--- a/sql/pom.xml
+++ b/sql/pom.xml
@@ -41,6 +41,18 @@
         <module>spark-${spark.compat.version}</module>
     </modules>
 
+    <!-- Add non-default submodules when running `mvn release:prepare
+         -Penable-all-submodules`, so that project versions of all submodules
+         will be substituted -->
+    <profiles>
+        <profile>
+            <id>enable-all-submodules</id>
+            <modules>
+                <module>spark-3.4</module>
+            </modules>
+        </profile>
+    </profiles>
+
     <dependencyManagement>
         <dependencies>
             <dependency>
diff --git a/sql/spark-3.0/pom.xml b/sql/spark-3.0/pom.xml
index 39d51a2a..c5ab6490 100644
--- a/sql/spark-3.0/pom.xml
+++ b/sql/spark-3.0/pom.xml
@@ -25,7 +25,7 @@
         <version>1.4.1-SNAPSHOT</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
-	<artifactId>sedona-sql-${spark.compat.version}_${scala.compat.version}</artifactId>
+	<artifactId>sedona-sql-3.0_${scala.compat.version}</artifactId>
 
 	<name>${project.groupId}:${project.artifactId}</name>
 	<description>A cluster computing system for processing large-scale spatial data: SQL API for Spark 3.0 - 3.3.</description>
diff --git a/sql/spark-3.4/pom.xml b/sql/spark-3.4/pom.xml
index 531d4498..ca18129e 100644
--- a/sql/spark-3.4/pom.xml
+++ b/sql/spark-3.4/pom.xml
@@ -25,7 +25,7 @@
         <version>1.4.1-SNAPSHOT</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
-	<artifactId>sedona-sql-${spark.compat.version}_${scala.compat.version}</artifactId>
+	<artifactId>sedona-sql-3.4_${scala.compat.version}</artifactId>
 
 	<name>${project.groupId}:${project.artifactId}</name>
 	<description>A cluster computing system for processing large-scale spatial data: SQL API for Spark 3.4.</description>


[sedona] 02/02: Test release process using my own github repo and local nexus repository

Posted by ko...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kontinuation pushed a commit to branch try-release-process
in repository https://gitbox.apache.org/repos/asf/sedona.git

commit 2119ba5866bf7da45a6e9eb21647a2c25534c790
Author: Kristin Cowalcijk <mo...@yeah.net>
AuthorDate: Mon Jun 19 21:16:08 2023 +0800

    Test release process using my own github repo and local nexus repository
---
 pom.xml | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index e76905b3..de0f611a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,13 +51,27 @@
         </mailingList>
     </mailingLists>
     <scm>
-        <connection>scm:git:https://github.com/apache/sedona.git</connection>
-        <developerConnection>scm:git:https://github.com/apache/sedona.git</developerConnection>
-        <url>https://github.com/apache/sedona</url>
+        <connection>scm:git:https://github.com/Kontinuation/sedona.git</connection>
+        <developerConnection>scm:git:https://github.com/Kontinuation/sedona.git</developerConnection>
+        <url>https://github.com/Kontinuation/sedona</url>
         <tag>sedona-1.3.1-incubating-rc1</tag>
     </scm>
+    <distributionManagement>
+        <repository>
+            <id>apache.releases.https</id>
+            <name>Apache Release Distribution Repository</name>
+            <url>http://kontinuation:8081/repository/maven-releases/</url>
+        </repository>
+        <snapshotRepository>
+            <id>apache.snapshots.https</id>
+            <name>${distMgmtSnapshotsName}</name>
+            <url>${distMgmtSnapshotsUrl}</url>
+        </snapshotRepository>
+    </distributionManagement>
 
     <properties>
+        <distMgmtSnapshotsName>Apache Development Snapshot Repository</distMgmtSnapshotsName>
+        <distMgmtSnapshotsUrl>http://kontinuation:8081/repository/maven-snapshots/</distMgmtSnapshotsUrl>
         <project.scm.id>github</project.scm.id>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <java.version>1.8</java.version>