Skip to content

Commit

Permalink
[maven-release-plugin] prepare release 1.0.0-preview.20210610
Browse files Browse the repository at this point in the history
  • Loading branch information
eiiches committed Jun 9, 2021
1 parent 0ac73d2 commit 2a0a4e7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ Usage

First, you need Java 8 or later.

If you use Maven, add the following snippet to the `<dependencies>` section of your POM. For instructions for other build tools (Gradle, etc.), visit [jackson-jq](https://search.maven.org/artifact/net.thisptr/jackson-jq/1.0.0-preview.20201123/jar) on search.maven.org.
If you use Maven, add the following snippet to the `<dependencies>` section of your POM. For instructions for other build tools (Gradle, etc.), visit [jackson-jq](https://search.maven.org/artifact/net.thisptr/jackson-jq/1.0.0-preview.20210610/jar) on search.maven.org.

```xml
<dependency>
<groupId>net.thisptr</groupId>
<artifactId>jackson-jq</artifactId>
<version>1.0.0-preview.20201123</version>
<version>1.0.0-preview.20210610</version>
</dependency>
```

Expand All @@ -30,29 +30,29 @@ Using a jackson-jq command line tool
To test a query quickly, we provide jackson-jq CLI.

```sh
$ curl -LO https://repo1.maven.org/maven2/net/thisptr/jackson-jq-cli/1.0.0-preview.20201123/jackson-jq-cli-1.0.0-preview.20201123.jar
$ curl -LO https://repo1.maven.org/maven2/net/thisptr/jackson-jq-cli/1.0.0-preview.20210610/jackson-jq-cli-1.0.0-preview.20210610.jar

$ java -jar jackson-jq-cli-1.0.0-preview.20201123.jar --help
$ java -jar jackson-jq-cli-1.0.0-preview.20210610.jar --help
usage: jackson-jq [OPTIONS...] QUERY
-c,--compact compact instead of pretty-printed output
-h,--help print this message
--jq <arg> specify jq version
-n,--null-input use `null` as the single input value
-r,--raw output raw strings, not JSON texts

$ java -jar jackson-jq-cli-1.0.0-preview.20201123.jar '.foo'
$ java -jar jackson-jq-cli-1.0.0-preview.20210610.jar '.foo'
{"foo": 42}
42
```

To test a query with a specific jq version,

```sh
$ java -jar jackson-jq-cli-1.0.0-preview.20201123.jar --jq 1.5 'join("-")'
$ java -jar jackson-jq-cli-1.0.0-preview.20210610.jar --jq 1.5 'join("-")'
["1", 2]
jq: error: string ("-") and number (2) cannot be added

$ java -jar jackson-jq-cli-1.0.0-preview.20201123.jar --jq 1.6 'join("-")' # jq-1.6 can join any values, not only strings
$ java -jar jackson-jq-cli-1.0.0-preview.20210610.jar --jq 1.6 'join("-")' # jq-1.6 can join any values, not only strings
["1", 2]
"1-2"
```
Expand Down Expand Up @@ -235,7 +235,7 @@ Using jackson-jq-extra module
<dependency>
<groupId>net.thisptr</groupId>
<artifactId>jackson-jq-extra</artifactId>
<version>1.0.0-preview.20201123</version>
<version>1.0.0-preview.20210610</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions jackson-jq-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
<parent>
<groupId>net.thisptr</groupId>
<artifactId>jackson-jq-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-preview.20210610</version>
</parent>

<dependencies>
<dependency>
<groupId>net.thisptr</groupId>
<artifactId>jackson-jq-extra</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-preview.20210610</version>
</dependency>
<dependency>
<groupId>commons-cli</groupId>
Expand Down
4 changes: 2 additions & 2 deletions jackson-jq-extra/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
<parent>
<groupId>net.thisptr</groupId>
<artifactId>jackson-jq-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-preview.20210610</version>
</parent>

<dependencies>
<dependency>
<groupId>net.thisptr</groupId>
<artifactId>jackson-jq</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-preview.20210610</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion jackson-jq/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<parent>
<groupId>net.thisptr</groupId>
<artifactId>jackson-jq-parent</artifactId>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-preview.20210610</version>
</parent>

<dependencies>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>net.thisptr</groupId>
<artifactId>jackson-jq-parent</artifactId>
<packaging>pom</packaging>
<version>1.0.0-SNAPSHOT</version>
<version>1.0.0-preview.20210610</version>
<name>${project.groupId}:${project.artifactId}</name>
<description>jq for Jackson JSON Processor</description>
<url>https://github.com/eiiches/jackson-jq</url>
Expand All @@ -28,7 +28,7 @@
<connection>scm:git:[email protected]:eiiches/jackson-jq.git</connection>
<developerConnection>scm:git:[email protected]:eiiches/jackson-jq.git</developerConnection>
<url>[email protected]:juven/git-demo.git</url>
<tag>HEAD</tag>
<tag>1.0.0-preview.20210610</tag>
</scm>

<modules>
Expand Down

0 comments on commit 2a0a4e7

Please sign in to comment.