Skip to content

Commit

Permalink
release 2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
raydac committed Jan 3, 2021
1 parent bee72ad commit 5f1f121
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 23 deletions.
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![JBBP Logo](https://github.com/raydac/java-binary-block-parser/blob/master/logo.png)

[![License Apache 2.0](https://img.shields.io/badge/license-Apache%20License%202.0-green.svg)](http://www.apache.org/licenses/LICENSE-2.0)
[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.igormaznitsa/jbbp/badge.svg)](http://search.maven.org/#artifactdetails|com.igormaznitsa|jbbp|2.0.2|jar)
[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.igormaznitsa/jbbp/badge.svg)](http://search.maven.org/#artifactdetails|com.igormaznitsa|jbbp|2.0.3|jar)
[![Java 1.8+](https://img.shields.io/badge/java-1.8%2b-green.svg)](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
[![Android 3.0+](https://img.shields.io/badge/android-3.0%2b-green.svg)](http://developer.android.com/sdk/index.html)
[![PayPal donation](https://img.shields.io/badge/donation-PayPal-cyan.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=AHWJHJFBAWGL2)
Expand All @@ -17,7 +17,7 @@ that for Java. So I developed the JBBP library.<br>

# Change log

- __2.0.3 (SNAPSHOT)__
- __2.0.3 (03-jan-2021)__
- added service methods `JBBPUtils.traceData` to print dump of an input stream into a PrintStream
- improved `JBBPTokenizerException` to show marked error
position [#30](https://github.com/raydac/java-binary-block-parser/issues/30)
Expand All @@ -27,9 +27,6 @@ that for Java. So I developed the JBBP library.<br>
- [#28](https://github.com/raydac/java-binary-block-parser/issues/28) added `JBBPOut#BinForceByteOrder` to override
byte order defined in `@Bin` annotations of written object.

- __2.0.1 (04-feb-2020)__
- [#26](https://github.com/raydac/java-binary-block-parser/issues/26) fixed bug in array write with MSB0

[Full changelog](https://github.com/raydac/java-binary-block-parser/blob/master/changelog.txt)

# Maven dependency
Expand All @@ -40,12 +37,12 @@ The Framework has been published in the Maven Central and can be easily added as
<dependency>
<groupId>com.igormaznitsa</groupId>
<artifactId>jbbp</artifactId>
<version>2.0.2</version>
<version>2.0.3</version>
</dependency>
```

the precompiled library jar, javadoc and sources also can be downloaded directly
from [the Maven central.](https://search.maven.org/artifact/com.igormaznitsa/jbbp/2.0.2/jar)
from [the Maven central.](https://search.maven.org/artifact/com.igormaznitsa/jbbp/2.0.3/jar)

# Hello world

Expand Down Expand Up @@ -118,7 +115,7 @@ in Maven it can be used through snippet:
<plugin>
<groupId>com.igormaznitsa</groupId>
<artifactId>jbbp-maven-plugin</artifactId>
<version>2.0.2</version>
<version>2.0.3</version>
<executions>
<execution>
<id>gen-jbbp-src</id>
Expand Down
2 changes: 1 addition & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
2.0.3 (SNAPSHOT)
2.0.3 (03-jan-2021)
- added service methods `JBBPUtils.traceData` to print dump of an input stream into a PrintStream
- improved `JBBPTokenizerException` to show marked error position [#30](https://github.com/raydac/java-binary-block-parser/issues/30)

Expand Down
4 changes: 2 additions & 2 deletions jbbp-plugins/jbbp-gradle/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def getProp(name, dflt) {
}
}

def jbbpVersion = getProp('jbbp_plugin_version', '2.0.3-SNAPSHOT')
def jbbpVersion = getProp('jbbp_plugin_version', '2.0.3')
def metaLibVersion = getProp('meta_lib_version', '1.1.2')

group = 'com.igormaznitsa'
Expand All @@ -24,7 +24,7 @@ dependencies {
compile gradleApi()
compile localGroovy()

compile "commons-io:commons-io:2.5"
compile "commons-io:commons-io:2.8.0"
compile "com.igormaznitsa:jbbp:" + jbbpVersion
compile "com.igormaznitsa:meta-annotations:" + metaLibVersion
compile "com.igormaznitsa:meta-utils:" + metaLibVersion
Expand Down
2 changes: 1 addition & 1 deletion jbbp-plugins/jbbp-gradle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.igormaznitsa</groupId>
<artifactId>jbbp-main-plugin-pom</artifactId>
<version>2.0.3-SNAPSHOT</version>
<version>2.0.3</version>
</parent>

<artifactId>jbbp-gradle-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jbbp-plugins/jbbp-maven/jbbp-maven-plugin-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.igormaznitsa</groupId>
<artifactId>jbbp-maven-plugin-pom</artifactId>
<version>2.0.3-SNAPSHOT</version>
<version>2.0.3</version>
</parent>

<artifactId>jbbp-maven-plugin-tests</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jbbp-plugins/jbbp-maven/jbbp-maven-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.igormaznitsa</groupId>
<artifactId>jbbp-maven-plugin-pom</artifactId>
<version>2.0.3-SNAPSHOT</version>
<version>2.0.3</version>
</parent>

<artifactId>jbbp-maven-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jbbp-plugins/jbbp-maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.igormaznitsa</groupId>
<artifactId>jbbp-main-plugin-pom</artifactId>
<version>2.0.3-SNAPSHOT</version>
<version>2.0.3</version>
</parent>

<artifactId>jbbp-maven-plugin-pom</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion jbbp-plugins/jbbp-plugin-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.igormaznitsa</groupId>
<artifactId>jbbp-main-plugin-pom</artifactId>
<version>2.0.3-SNAPSHOT</version>
<version>2.0.3</version>
</parent>

<artifactId>jbbp-plugin-common</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions jbbp-plugins/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.igormaznitsa</groupId>
<artifactId>jbbp-main-pom</artifactId>
<version>2.0.3-SNAPSHOT</version>
<version>2.0.3</version>
</parent>

<artifactId>jbbp-main-plugin-pom</artifactId>
Expand All @@ -31,7 +31,7 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.6</version>
<version>2.8.0</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion jbbp/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.igormaznitsa</groupId>
<artifactId>jbbp-main-pom</artifactId>
<version>2.0.3-SNAPSHOT</version>
<version>2.0.3</version>
</parent>

<artifactId>jbbp</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private static String extractErrorPartText(final String script, final int errorP
}

/**
* Get error part of script where error position marked by !>..<!
* Get error part of script where error position marked by !&gt;..&lt;!
*
* @return error part of the script in position, or empty if it was impossible to extract the part
* @since 2.0.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ public static String toHexString(final long value, final int charsNum) {
* @param inStream input stream to be traced, must not be null
* @param out destination print stream, must not be null
* @throws IOException thrown if transport error
* @see #traceData(InputStream, int, String, String, String, String, char, boolean, PrintStream)
* @see #traceData(InputStream, int, int, String, String, String, String, char, boolean, PrintStream)
* @since 2.0.3
*/
public static void traceData(final InputStream inStream, final PrintStream out)
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>com.igormaznitsa</groupId>
<artifactId>jbbp-main-pom</artifactId>
<version>2.0.3-SNAPSHOT</version>
<version>2.0.3</version>
<packaging>pom</packaging>

<modules>
Expand All @@ -20,7 +20,7 @@
<maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
<mvn.version>3.0</mvn.version>
<meta.version>1.1.2</meta.version>
<jbbp.version>2.0.3-SNAPSHOT</jbbp.version>
<jbbp.version>2.0.3</jbbp.version>
<jbbp.plugin.version>${jbbp.version}</jbbp.plugin.version>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down

0 comments on commit 5f1f121

Please sign in to comment.