diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..e9e21f7 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "1.22.0" +} diff --git a/README.md b/README.md index 4e42418..d52e98b 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,7 @@ mvn generate-resources compile exec:java \ ### Generate JAR with dependencies and run from JAR file ```sh -mvn clean generate-resources compile assembly:assembly +mvn clean generate-resources compile package java -jar target/spanner-ddl-diff-*-jar-with-dependencies.jar \ --allowRecreateIndexes \ diff --git a/pom.xml b/pom.xml index cbe5955..8f8a35c 100644 --- a/pom.xml +++ b/pom.xml @@ -18,7 +18,7 @@ 4.0.0 com.google.cloud.solutions spanner-ddl-diff - 1.0 + 1.22.0 spanner-ddl-diff Spanner DDL parser and differ @@ -40,6 +40,7 @@ 1.10.4 2.27.1 3.3.1 + 3.7.1 @@ -106,6 +107,10 @@ maven-failsafe-plugin ${maven-surefire-plugin.version} + + maven-assembly-plugin + ${maven-assembly-plugin.version} + @@ -246,6 +251,7 @@ maven-assembly-plugin + ${maven-assembly-plugin.version} @@ -256,6 +262,15 @@ jar-with-dependencies + + + make-assembly + + single + + package + + com.diffplug.spotless diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..fe8c047 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,14 @@ +{ + "packages": { + ".": { + "changelog-path": "CHANGELOG.md", + "release-type": "maven", + "bump-minor-pre-major": false, + "bump-patch-for-minor-pre-major": false, + "draft": false, + "prerelease": false, + "include-component-in-tag": false + } + }, + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" +}