Skip to content

Commit 5f1f121

Browse files
committed
release 2.0.3
1 parent bee72ad commit 5f1f121

File tree

13 files changed

+20
-23
lines changed

13 files changed

+20
-23
lines changed

README.md

+5-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
![JBBP Logo](https://github.com/raydac/java-binary-block-parser/blob/master/logo.png)
22

33
[![License Apache 2.0](https://img.shields.io/badge/license-Apache%20License%202.0-green.svg)](http://www.apache.org/licenses/LICENSE-2.0)
4-
[![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)
4+
[![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)
55
[![Java 1.8+](https://img.shields.io/badge/java-1.8%2b-green.svg)](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
66
[![Android 3.0+](https://img.shields.io/badge/android-3.0%2b-green.svg)](http://developer.android.com/sdk/index.html)
77
[![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)
@@ -17,7 +17,7 @@ that for Java. So I developed the JBBP library.<br>
1717

1818
# Change log
1919

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

30-
- __2.0.1 (04-feb-2020)__
31-
- [#26](https://github.com/raydac/java-binary-block-parser/issues/26) fixed bug in array write with MSB0
32-
3330
[Full changelog](https://github.com/raydac/java-binary-block-parser/blob/master/changelog.txt)
3431

3532
# Maven dependency
@@ -40,12 +37,12 @@ The Framework has been published in the Maven Central and can be easily added as
4037
<dependency>
4138
<groupId>com.igormaznitsa</groupId>
4239
<artifactId>jbbp</artifactId>
43-
<version>2.0.2</version>
40+
<version>2.0.3</version>
4441
</dependency>
4542
```
4643

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

5047
# Hello world
5148

@@ -118,7 +115,7 @@ in Maven it can be used through snippet:
118115
<plugin>
119116
<groupId>com.igormaznitsa</groupId>
120117
<artifactId>jbbp-maven-plugin</artifactId>
121-
<version>2.0.2</version>
118+
<version>2.0.3</version>
122119
<executions>
123120
<execution>
124121
<id>gen-jbbp-src</id>

changelog.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
2.0.3 (SNAPSHOT)
1+
2.0.3 (03-jan-2021)
22
- added service methods `JBBPUtils.traceData` to print dump of an input stream into a PrintStream
33
- improved `JBBPTokenizerException` to show marked error position [#30](https://github.com/raydac/java-binary-block-parser/issues/30)
44

jbbp-plugins/jbbp-gradle/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ def getProp(name, dflt) {
77
}
88
}
99

10-
def jbbpVersion = getProp('jbbp_plugin_version', '2.0.3-SNAPSHOT')
10+
def jbbpVersion = getProp('jbbp_plugin_version', '2.0.3')
1111
def metaLibVersion = getProp('meta_lib_version', '1.1.2')
1212

1313
group = 'com.igormaznitsa'
@@ -24,7 +24,7 @@ dependencies {
2424
compile gradleApi()
2525
compile localGroovy()
2626

27-
compile "commons-io:commons-io:2.5"
27+
compile "commons-io:commons-io:2.8.0"
2828
compile "com.igormaznitsa:jbbp:" + jbbpVersion
2929
compile "com.igormaznitsa:meta-annotations:" + metaLibVersion
3030
compile "com.igormaznitsa:meta-utils:" + metaLibVersion

jbbp-plugins/jbbp-gradle/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.igormaznitsa</groupId>
88
<artifactId>jbbp-main-plugin-pom</artifactId>
9-
<version>2.0.3-SNAPSHOT</version>
9+
<version>2.0.3</version>
1010
</parent>
1111

1212
<artifactId>jbbp-gradle-plugin</artifactId>

jbbp-plugins/jbbp-maven/jbbp-maven-plugin-tests/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.igormaznitsa</groupId>
77
<artifactId>jbbp-maven-plugin-pom</artifactId>
8-
<version>2.0.3-SNAPSHOT</version>
8+
<version>2.0.3</version>
99
</parent>
1010

1111
<artifactId>jbbp-maven-plugin-tests</artifactId>

jbbp-plugins/jbbp-maven/jbbp-maven-plugin/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.igormaznitsa</groupId>
77
<artifactId>jbbp-maven-plugin-pom</artifactId>
8-
<version>2.0.3-SNAPSHOT</version>
8+
<version>2.0.3</version>
99
</parent>
1010

1111
<artifactId>jbbp-maven-plugin</artifactId>

jbbp-plugins/jbbp-maven/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.igormaznitsa</groupId>
77
<artifactId>jbbp-main-plugin-pom</artifactId>
8-
<version>2.0.3-SNAPSHOT</version>
8+
<version>2.0.3</version>
99
</parent>
1010

1111
<artifactId>jbbp-maven-plugin-pom</artifactId>

jbbp-plugins/jbbp-plugin-common/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>com.igormaznitsa</groupId>
88
<artifactId>jbbp-main-plugin-pom</artifactId>
9-
<version>2.0.3-SNAPSHOT</version>
9+
<version>2.0.3</version>
1010
</parent>
1111

1212
<artifactId>jbbp-plugin-common</artifactId>

jbbp-plugins/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.igormaznitsa</groupId>
77
<artifactId>jbbp-main-pom</artifactId>
8-
<version>2.0.3-SNAPSHOT</version>
8+
<version>2.0.3</version>
99
</parent>
1010

1111
<artifactId>jbbp-main-plugin-pom</artifactId>
@@ -31,7 +31,7 @@
3131
<dependency>
3232
<groupId>commons-io</groupId>
3333
<artifactId>commons-io</artifactId>
34-
<version>2.6</version>
34+
<version>2.8.0</version>
3535
</dependency>
3636
</dependencies>
3737

jbbp/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.igormaznitsa</groupId>
77
<artifactId>jbbp-main-pom</artifactId>
8-
<version>2.0.3-SNAPSHOT</version>
8+
<version>2.0.3</version>
99
</parent>
1010

1111
<artifactId>jbbp</artifactId>

jbbp/src/main/java/com/igormaznitsa/jbbp/exceptions/JBBPTokenizerException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ private static String extractErrorPartText(final String script, final int errorP
108108
}
109109

110110
/**
111-
* Get error part of script where error position marked by !>..<!
111+
* Get error part of script where error position marked by !&gt;..&lt;!
112112
*
113113
* @return error part of the script in position, or empty if it was impossible to extract the part
114114
* @since 2.0.3

jbbp/src/main/java/com/igormaznitsa/jbbp/utils/JBBPUtils.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ public static String toHexString(final long value, final int charsNum) {
10261026
* @param inStream input stream to be traced, must not be null
10271027
* @param out destination print stream, must not be null
10281028
* @throws IOException thrown if transport error
1029-
* @see #traceData(InputStream, int, String, String, String, String, char, boolean, PrintStream)
1029+
* @see #traceData(InputStream, int, int, String, String, String, String, char, boolean, PrintStream)
10301030
* @since 2.0.3
10311031
*/
10321032
public static void traceData(final InputStream inStream, final PrintStream out)

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.igormaznitsa</groupId>
66
<artifactId>jbbp-main-pom</artifactId>
7-
<version>2.0.3-SNAPSHOT</version>
7+
<version>2.0.3</version>
88
<packaging>pom</packaging>
99

1010
<modules>
@@ -20,7 +20,7 @@
2020
<maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
2121
<mvn.version>3.0</mvn.version>
2222
<meta.version>1.1.2</meta.version>
23-
<jbbp.version>2.0.3-SNAPSHOT</jbbp.version>
23+
<jbbp.version>2.0.3</jbbp.version>
2424
<jbbp.plugin.version>${jbbp.version}</jbbp.plugin.version>
2525
<maven.compiler.source>1.8</maven.compiler.source>
2626
<maven.compiler.target>1.8</maven.compiler.target>

0 commit comments

Comments
 (0)