Skip to content

Commit

Permalink
SDK: preparing release
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangsa committed Jan 31, 2023
1 parent 6c419f1 commit 48970d2
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 25 deletions.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ jbang alias add --name=zw \
--repos=mavencentral,snapshots=https://s01.oss.sonatype.org/content/repositories/snapshots \
--deps=\
org.slf4j:slf4j-simple:1.7.36,\
io.github.zenwave360.zenwave-sdk.plugins:asyncapi-spring-cloud-streams3:1.0.0.RC1,\
io.github.zenwave360.zenwave-sdk.plugins:asyncapi-jsonschema2pojo:1.0.0.RC1,\
io.github.zenwave360.zenwave-sdk.plugins:openapi-spring-webtestclient:1.0.0.RC1,\
io.github.zenwave360.zenwave-sdk.plugins:openapi-rest-assured:1.0.0.RC1,\
io.github.zenwave360.zenwave-sdk.plugins:jdl-backend-application-default:1.0.0.RC1,\
io.github.zenwave360.zenwave-sdk.plugins:jdl-to-openapi:1.0.0.RC1,\
io.github.zenwave360.zenwave-sdk.plugins:jdl-to-asyncapi:1.0.0.RC1,\
io.github.zenwave360.zenwave-sdk.plugins:jdl-openapi-controllers:1.0.0.RC1 \
io.github.zenwave360.zenwave-sdk:zenwave-sdk-cli:1.0.0.RC1
io.github.zenwave360.zenwave-sdk.plugins:asyncapi-spring-cloud-streams3:1.0.0-SNAPSHOT,\
io.github.zenwave360.zenwave-sdk.plugins:asyncapi-jsonschema2pojo:1.0.0-SNAPSHOT,\
io.github.zenwave360.zenwave-sdk.plugins:openapi-spring-webtestclient:1.0.0-SNAPSHOT,\
io.github.zenwave360.zenwave-sdk.plugins:openapi-rest-assured:1.0.0-SNAPSHOT,\
io.github.zenwave360.zenwave-sdk.plugins:jdl-backend-application-default:1.0.0-SNAPSHOT,\
io.github.zenwave360.zenwave-sdk.plugins:jdl-to-openapi:1.0.0-SNAPSHOT,\
io.github.zenwave360.zenwave-sdk.plugins:jdl-to-asyncapi:1.0.0-SNAPSHOT,\
io.github.zenwave360.zenwave-sdk.plugins:jdl-openapi-controllers:1.0.0-SNAPSHOT \
io.github.zenwave360.zenwave-sdk:zenwave-sdk-cli:1.0.0-SNAPSHOT
```

You can include any **custom plugin** jars in the `--deps` option.
Expand Down Expand Up @@ -199,12 +199,12 @@ You can always fork an existing plugin with the following command:
jbang zw -p io.zenwave360.sdkns.ForkPlugin -h
```

| **Option** | **Description** | **Type** | **Default** | **Values** |
|-------------------------|-------------------------------------------------------------------------------------|----------|-----------------------------------------------------------------------------------|------------|
| `targetFolder` | | String | | |
| `sourcePluginClassName` | Plugin Plugin class to fork | String | | |
| `targetPluginClassName` | New Plugin Plugin class. It will be used for class name, package and maven groupId. | String | | |
| `downloadURL` | Download URL for the source code of original plugin in zip format | URL | https://github.com/ZenWave360/zenwave-sdk/archive/refs/tags/v1.0.0.RC1.zip | |
| **Option** | **Description** | **Type** | **Default** | **Values** |
|-------------------------|-------------------------------------------------------------------------------------|----------|----------------------------------------------------------------------------|------------|
| `targetFolder` | | String | | |
| `sourcePluginClassName` | Plugin Plugin class to fork | String | | |
| `targetPluginClassName` | New Plugin Plugin class. It will be used for class name, package and maven groupId. | String | | |
| `downloadURL` | Download URL for the source code of original plugin in zip format | URL | https://github.com/ZenWave360/zenwave-sdk/archive/refs/tags/v1.0.0.RC2.zip | |

Example:

Expand Down
18 changes: 9 additions & 9 deletions jbang-catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
"main": "io.zenwave360.sdk.Main"
},
"snapshots": {
"script-ref": "io.github.zenwave360.zenwave-sdk:zenwave-sdk-cli:1.0.0.RC1",
"script-ref": "io.github.zenwave360.zenwave-sdk:zenwave-sdk-cli:1.0.0-SNAPSHOT",
"dependencies": [
"org.slf4j:slf4j-simple:1.7.36",
"io.github.zenwave360.zenwave-sdk.plugins:asyncapi-spring-cloud-streams3:1.0.0.RC1",
"io.github.zenwave360.zenwave-sdk.plugins:asyncapi-jsonschema2pojo:1.0.0.RC1",
"io.github.zenwave360.zenwave-sdk.plugins:openapi-spring-webtestclient:1.0.0.RC1",
"io.github.zenwave360.zenwave-sdk.plugins:openapi-rest-assured:1.0.0.RC1",
"io.github.zenwave360.zenwave-sdk.plugins:jdl-backend-application-default:1.0.0.RC1",
"io.github.zenwave360.zenwave-sdk.plugins:jdl-to-openapi:1.0.0.RC1",
"io.github.zenwave360.zenwave-sdk.plugins:jdl-to-asyncapi:1.0.0.RC1",
"io.github.zenwave360.zenwave-sdk.plugins:jdl-openapi-controllers:1.0.0.RC1"
"io.github.zenwave360.zenwave-sdk.plugins:asyncapi-spring-cloud-streams3:1.0.0-SNAPSHOT",
"io.github.zenwave360.zenwave-sdk.plugins:asyncapi-jsonschema2pojo:1.0.0-SNAPSHOT",
"io.github.zenwave360.zenwave-sdk.plugins:openapi-spring-webtestclient:1.0.0-SNAPSHOT",
"io.github.zenwave360.zenwave-sdk.plugins:openapi-rest-assured:1.0.0-SNAPSHOT",
"io.github.zenwave360.zenwave-sdk.plugins:jdl-backend-application-default:1.0.0-SNAPSHOT",
"io.github.zenwave360.zenwave-sdk.plugins:jdl-to-openapi:1.0.0-SNAPSHOT",
"io.github.zenwave360.zenwave-sdk.plugins:jdl-to-asyncapi:1.0.0-SNAPSHOT",
"io.github.zenwave360.zenwave-sdk.plugins:jdl-openapi-controllers:1.0.0-SNAPSHOT"
],
"repositories": [
"mavencentral",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class ForkPluginGenerator implements Generator {
public String targetPluginClassName;

@DocumentedOption(description = "Download URL for the source code of original plugin in zip format", required = false)
public URL downloadURL = new URL("https://github.com/ZenWave360/zenwave-sdk/archive/refs/tags/v1.0.0.RC1.zip");
public URL downloadURL = new URL("https://github.com/ZenWave360/zenwave-sdk/archive/refs/tags/v1.0.0.RC2.zip");

@DocumentedOption
public String targetFolder;
Expand Down

0 comments on commit 48970d2

Please sign in to comment.