You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by if...@apache.org on 2022/02/07 13:55:38 UTC

[cassandra-harry] 01/03: Prepare for 1.0.0 release of Harry.

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

ifesdjeen pushed a commit to branch release
in repository https://gitbox.apache.org/repos/asf/cassandra-harry.git

commit 445862fb8a11bb8f3d13c6b41200f19f98f811a3
Author: Alex Petrov <ol...@gmail.com>
AuthorDate: Mon Feb 7 14:05:22 2022 +0100

    Prepare for 1.0.0 release of Harry.
---
 README.md                                          | 41 +++++++++++++++++++++-
 docker/run.sh                                      |  2 +-
 harry-core/pom.xml                                 |  2 +-
 .../dependency-reduced-pom.xml                     |  2 +-
 harry-integration-external/pom.xml                 |  2 +-
 harry-integration/pom.xml                          |  2 +-
 pom.xml                                            |  6 ++--
 run-external.sh                                    |  2 +-
 run-jvm.sh                                         |  2 +-
 scripts/cassandra-harry                            |  2 +-
 10 files changed, 51 insertions(+), 12 deletions(-)

diff --git a/README.md b/README.md
index 5c45c09..8627c64 100644
--- a/README.md
+++ b/README.md
@@ -659,7 +659,7 @@ cd cassandra
 cd ~/../harry/
 mvn package -DskipTests -nsu
 mvn dependency:copy-dependencies
-java -cp harry-runner/target/harry-runner-0.0.1-SNAPSHOT.jar:$(find harrry-runner/target/dependency/*.jar | tr -s '\n' ':'). harry.runner.HarryRunner
+java -cp harry-runner/target/harry-runner-1.0.0-SNAPSHOT.jar:$(find harrry-runner/target/dependency/*.jar | tr -s '\n' ':'). harry.runner.HarryRunner
 ```
 
 `4.0-beta3` is a version of Cassandra which you can find in `build.xml`, and
@@ -730,6 +730,45 @@ This list of improvements is incomplete, and should only give the reader a rough
 idea about the state of the project. Main goal for the initial release was to make it
 useful, now we can make it fast and feature-complete!
 
+# How to cut a release
+
+## Publishing snapshot
+
+Make sure `~/.m2/settings.xml` contains records for the following:
+
+```
+    <server>
+      <id>apache.snapshots.https</id>
+      <username>username</username>
+      <password>password</password>
+    </server>
+    <server>
+      <id>apache.releases.https</id>
+      <username>username</username>
+      <password>password</password>
+    </server>
+```
+
+```
+mvn versions:set -DnewVersion=0.0.2-`git rev-parse --short HEAD`-SNAPSHOT
+mvn deploy
+```
+
+# Releasing
+
+1. Prepare the release:
+
+```
+mvn release:clean
+CURRENT=0.0.CURRENT
+NEXT_DEV=0.0.NEXT
+mvn -DreleaseVersion=$CURRENT -Dtag=$CURRENT -DdevelopmentVersion=$NEXT_DEV-SNAPSHOT release:prepare
+mvn release:perform
+```
+
+2. Close staging repository: https://repository.apache.org/#stagingRepositories
+3. Issue a vote on developers mailing list. Add your GPG key signature, release SHA, and staged artifacts to release information.
+
 # Contributors
 
   * [Alex Petrov](https://github.com/ifesdjeen)
diff --git a/docker/run.sh b/docker/run.sh
index 48afa0b..6941f18 100755
--- a/docker/run.sh
+++ b/docker/run.sh
@@ -72,7 +72,7 @@ while true; do
        --add-opens java.base/jdk.internal.util.jar=ALL-UNNAMED \
        --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED \
        -Dorg.apache.cassandra.test.logback.configurationFile=file:///opt/harry/test/conf/logback-dtest.xml \
-       -cp /opt/harry/lib/*:/opt/harry/harry-integration-0.0.1-SNAPSHOT.jar \
+       -cp /opt/harry/lib/*:/opt/harry/harry-integration-1.0.0-SNAPSHOT.jar \
        -Dharry.root=${HARRY_DIR} \
        harry.runner.HarryRunnerJvm \
        /opt/harry/default.yaml
diff --git a/harry-core/pom.xml b/harry-core/pom.xml
index d313e7a..65fc8eb 100755
--- a/harry-core/pom.xml
+++ b/harry-core/pom.xml
@@ -26,7 +26,7 @@
     <parent>
         <groupId>org.apache.cassandra</groupId>
         <artifactId>harry-parent</artifactId>
-        <version>0.0.1-SNAPSHOT</version>
+        <version>1.0.0-SNAPSHOT</version>
     </parent>
 
     <artifactId>harry-core</artifactId>
diff --git a/harry-integration-external/dependency-reduced-pom.xml b/harry-integration-external/dependency-reduced-pom.xml
index e2e00a5..c3d0eb7 100644
--- a/harry-integration-external/dependency-reduced-pom.xml
+++ b/harry-integration-external/dependency-reduced-pom.xml
@@ -3,7 +3,7 @@
   <parent>
     <artifactId>harry-parent</artifactId>
     <groupId>org.apache.cassandra</groupId>
-    <version>0.0.1-SNAPSHOT</version>
+    <version>1.0.0-SNAPSHOT</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <artifactId>harry-integration-external</artifactId>
diff --git a/harry-integration-external/pom.xml b/harry-integration-external/pom.xml
index 0b49f6d..553cc19 100755
--- a/harry-integration-external/pom.xml
+++ b/harry-integration-external/pom.xml
@@ -25,7 +25,7 @@
 
     <parent>
         <groupId>org.apache.cassandra</groupId>
-        <version>0.0.1-SNAPSHOT</version>
+        <version>1.0.0-SNAPSHOT</version>
         <artifactId>harry-parent</artifactId>
     </parent>
 
diff --git a/harry-integration/pom.xml b/harry-integration/pom.xml
index 0b2d131..2c2ce00 100755
--- a/harry-integration/pom.xml
+++ b/harry-integration/pom.xml
@@ -25,7 +25,7 @@
 
     <parent>
         <groupId>org.apache.cassandra</groupId>
-        <version>0.0.1-SNAPSHOT</version>
+        <version>1.0.0-SNAPSHOT</version>
         <artifactId>harry-parent</artifactId>
     </parent>
 
diff --git a/pom.xml b/pom.xml
index 276a670..4fadc09 100755
--- a/pom.xml
+++ b/pom.xml
@@ -39,7 +39,7 @@
 
     <groupId>org.apache.cassandra</groupId>
     <artifactId>harry-parent</artifactId>
-    <version>0.0.1-SNAPSHOT</version>
+    <version>1.0.0-SNAPSHOT</version>
 
     <name>Harry</name>
 
@@ -51,8 +51,8 @@
 
     <properties>
         <javac.target>1.8</javac.target>
-        <harry.version>0.0.1-SNAPSHOT</harry.version>
-        <cassandra.version>4.1-58515c2de6</cassandra.version>
+        <harry.version>1.0.0-SNAPSHOT</harry.version>
+        <cassandra.version>4.0.1-1a05fcf52b</cassandra.version>
         <jackson.version>2.11.3</jackson.version>
         <dtest.version>0.0.7</dtest.version>
         <jmh.version>1.11.3</jmh.version>
diff --git a/run-external.sh b/run-external.sh
index 6263110..202b8e8 100755
--- a/run-external.sh
+++ b/run-external.sh
@@ -1,3 +1,3 @@
 #!/bin/sh
 
-java -Dlogback.configurationFile=test/conf/logback-dtest.xml -jar harry-integration-external/target/harry-integration-external-0.0.1-SNAPSHOT.jar conf/external.yaml
+java -Dlogback.configurationFile=test/conf/logback-dtest.xml -jar harry-integration-external/target/harry-integration-external-1.0.0-SNAPSHOT.jar conf/external.yaml
diff --git a/run-jvm.sh b/run-jvm.sh
index e0999b5..be3eebe 100755
--- a/run-jvm.sh
+++ b/run-jvm.sh
@@ -44,6 +44,6 @@ java -ea \
        --add-opens java.base/jdk.internal.util.jar=ALL-UNNAMED \
        --add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED \
        -Dorg.apache.cassandra.test.logback.configurationFile=file://test/conf/logback-dtest.xml \
-       -cp harry-integration/target/harry-integration-0.0.1-SNAPSHOT.jar:$(find harry-integration/target/dependency/*.jar | tr -s '\n' ':'). \
+       -cp harry-integration/target/harry-integration-1.0.0-SNAPSHOT.jar:$(find harry-integration/target/dependency/*.jar | tr -s '\n' ':'). \
        harry.runner.HarryRunnerJvm \
        conf/default.yaml
diff --git a/scripts/cassandra-harry b/scripts/cassandra-harry
index 94ee991..f0dd07b 100755
--- a/scripts/cassandra-harry
+++ b/scripts/cassandra-harry
@@ -53,5 +53,5 @@ if [[ ! -z $run_time_unit ]]; then
 fi
 
 java -Dlogback.configurationFile=$HARRY_HOME/test/conf/logback-dtest.xml \
-     -jar $HARRY_HOME/harry-integration-external/target/harry-integration-external-0.0.1-SNAPSHOT.jar \
+     -jar $HARRY_HOME/harry-integration-external/target/harry-integration-external-1.0.0-SNAPSHOT.jar \
      $HARRY_HOME/conf/external.yaml

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org