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 234dd0e  build: Tried switching to the nexus-staging-maven-plugin 
allowing a bit more fine-grained controll over the staging process.
234dd0e is described below

commit 234dd0ed9b6b626990cc8bfe804a8fe760abd84e
Author: Christofer Dutz <[email protected]>
AuthorDate: Thu Aug 17 14:21:05 2023 +0200

    build: Tried switching to the nexus-staging-maven-plugin allowing a bit 
more fine-grained controll over the staging process.
---
 iotdb-tools-thrift/README.md | 27 +++++++++++++++++++++++++++
 iotdb-tools-thrift/pom.xml   | 29 +++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/iotdb-tools-thrift/README.md b/iotdb-tools-thrift/README.md
new file mode 100644
index 0000000..c417888
--- /dev/null
+++ b/iotdb-tools-thrift/README.md
@@ -0,0 +1,27 @@
+<!--
+
+    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.
+
+-->
+
+# Releasing the IoTDB Tools: Thrift
+
+    ./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.
+
diff --git a/iotdb-tools-thrift/pom.xml b/iotdb-tools-thrift/pom.xml
index 3f3fc51..d76e622 100644
--- a/iotdb-tools-thrift/pom.xml
+++ b/iotdb-tools-thrift/pom.xml
@@ -177,6 +177,35 @@
                     </execution>
                 </executions>
             </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-deploy-plugin</artifactId>
+                <version>3.1.1</version>
+                <configuration>
+                    <skip>true</skip>
+                </configuration>
+            </plugin>
+
+            <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>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <serverId>apache.releases.https</serverId>
+                    <nexusUrl>https://repository.apache.org</nexusUrl>
+                    
<skipStagingRepositoryClose>true</skipStagingRepositoryClose>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

Reply via email to