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

cdutz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iotdb-bin-resources.git


The following commit(s) were added to refs/heads/main by this push:
     new 48d2026  build: Updated the docs and tweaked the pom for the current 
release cycle.
48d2026 is described below

commit 48d2026de69163b3cee1537f7a791c42c91ad3a9
Author: Christofer Dutz <[email protected]>
AuthorDate: Thu Aug 17 14:49:54 2023 +0200

    build: Updated the docs and tweaked the pom for the current release cycle.
---
 iotdb-tools-thrift/README.md | 12 +++++++++++-
 iotdb-tools-thrift/pom.xml   | 33 +++++++++++++++++++++++++++------
 2 files changed, 38 insertions(+), 7 deletions(-)

diff --git a/iotdb-tools-thrift/README.md b/iotdb-tools-thrift/README.md
index c417888..cf41cd6 100644
--- a/iotdb-tools-thrift/README.md
+++ b/iotdb-tools-thrift/README.md
@@ -23,5 +23,15 @@
 
     ./mvnw clean deploy -P apache-release
 
-On the first run, this will create an implicit staging repository on 
https://repository.apache.org/#stagingRepositories and will leave the 
repository open.
+On the first run, comment out the "stagingRepositoryId" property. 
+This will make the build deploy the rc in a new staging repository in nexus.
 
+As soon as the build is finished, go to 
https://repository.apache.org/#stagingRepositories and take the new repository 
id from there and comment in the property again and update the value to that of 
the staging repository and commit that.
+
+This will make it easy for the other platform deployment. 
+
+Then checkout the repo on the other platforms and run the following on each of 
the other platforms:
+
+    ./mvnw clean deploy -P apache-release
+
+Once this has been run on each of the supported platforms, go back to Nexus 
and close the staging repository.
\ No newline at end of file
diff --git a/iotdb-tools-thrift/pom.xml b/iotdb-tools-thrift/pom.xml
index d76e622..197a706 100644
--- a/iotdb-tools-thrift/pom.xml
+++ b/iotdb-tools-thrift/pom.xml
@@ -190,23 +190,44 @@
             <plugin>
                 <groupId>org.sonatype.plugins</groupId>
                 <artifactId>nexus-staging-maven-plugin</artifactId>
-                <version>1.6.13</version>
                 <executions>
                     <execution>
                         <id>default-deploy</id>
                         <phase>deploy</phase>
                         <goals>
                             <goal>deploy</goal>
+                            <goal>rc-open</goal>
                         </goals>
                     </execution>
                 </executions>
-                <configuration>
-                    <serverId>apache.releases.https</serverId>
-                    <nexusUrl>https://repository.apache.org</nexusUrl>
-                    
<skipStagingRepositoryClose>true</skipStagingRepositoryClose>
-                </configuration>
             </plugin>
         </plugins>
+
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.sonatype.plugins</groupId>
+                    <artifactId>nexus-staging-maven-plugin</artifactId>
+                    <version>1.6.13</version>
+                    <executions>
+                        <execution>
+                            <id>default-deploy</id>
+                            <phase>deploy</phase>
+                            <goals>
+                                <goal>deploy</goal>
+                                <goal>rc-open</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                    <configuration>
+                        <serverId>apache.releases.https</serverId>
+                        <nexusUrl>https://repository.apache.org</nexusUrl>
+                        
<skipStagingRepositoryClose>true</skipStagingRepositoryClose>
+                        
<stagingRepositoryId>orgapacheiotdb-1128</stagingRepositoryId>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>
     </build>
 
     <profiles>

Reply via email to