Skip to content

Commit 0d840d7

Browse files
committed
release 2.2.0
1 parent 2f0a526 commit 0d840d7

File tree

2 files changed

+44
-29
lines changed

2 files changed

+44
-29
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[![License Apache 2.0](https://img.shields.io/badge/license-Apache%20License%202.0-green.svg)](http://www.apache.org/licenses/LICENSE-2.0)
2-
[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.igormaznitsa/java-prolog-parser/badge.svg)](http://search.maven.org/#artifactdetails|com.igormaznitsa|java-prolog-parser|2.1.0|jar)
3-
[![Java 8.0+](https://img.shields.io/badge/java-8.0%2b-green.svg)](http://www.oracle.com/technetwork/java/javase/downloads/index.html)
2+
[![Maven central](https://maven-badges.herokuapp.com/maven-central/com.igormaznitsa/java-prolog-parser/badge.svg)](http://search.maven.org/#artifactdetails|com.igormaznitsa|java-prolog-parser|2.2.0|jar)
3+
[![Java 11.0+](https://img.shields.io/badge/java-8.0%2b-green.svg)](https://bell-sw.com/pages/downloads/#jdk-21-lts)
44
[![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)
55
[![YooMoney donation](https://img.shields.io/badge/donation-Yoo.money-blue.svg)](https://yoomoney.ru/to/41001158080699)
66

@@ -24,7 +24,7 @@ The parser is a pure Java library without any 3-th side dependency, it is publis
2424
<dependency>
2525
<groupId>com.igormaznitsa</groupId>
2626
<artifactId>java-prolog-parser</artifactId>
27-
<version>2.1.0</version>
27+
<version>2.2.0</version>
2828
</dependency>
2929
```
3030

@@ -55,5 +55,7 @@ Supported quotations:
5555
- special flag turns on whitespace support in single quote mode
5656
- double quote `"`
5757
- back tick
58-
58+
59+
__Since 2.2.0 it is possible get line and block comments as atoms marked by special quotations.__
60+
5961
Bracketed empty-functor structures represented by structure with functor either `{}` or `()` (depends on bracket type).

pom.xml

Lines changed: 38 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>com.igormaznitsa</groupId>
66
<artifactId>java-prolog-parser</artifactId>
7-
<version>2.2.0-SNAPSHOT</version>
7+
<version>2.2.0</version>
88
<packaging>jar</packaging>
99

1010
<name>Edinburgh Prolog parser</name>
@@ -74,33 +74,11 @@
7474
<version>5.11.4</version>
7575
<scope>test</scope>
7676
</dependency>
77-
<dependency>
78-
<groupId>net.bytebuddy</groupId>
79-
<artifactId>byte-buddy-agent</artifactId>
80-
<version>1.14.15</version>
81-
<scope>test</scope>
82-
</dependency>
83-
<dependency>
84-
<groupId>net.bytebuddy</groupId>
85-
<artifactId>byte-buddy</artifactId>
86-
<version>1.14.15</version>
87-
<scope>test</scope>
88-
</dependency>
8977
<dependency>
9078
<groupId>org.mockito</groupId>
9179
<artifactId>mockito-core</artifactId>
92-
<version>5.12.0</version>
80+
<version>5.15.2</version>
9381
<scope>test</scope>
94-
<exclusions>
95-
<exclusion>
96-
<groupId>net.bytebuddy</groupId>
97-
<artifactId>byte-buddy-agent</artifactId>
98-
</exclusion>
99-
<exclusion>
100-
<groupId>net.bytebuddy</groupId>
101-
<artifactId>byte-buddy</artifactId>
102-
</exclusion>
103-
</exclusions>
10482
</dependency>
10583
</dependencies>
10684

@@ -205,6 +183,42 @@
205183
<artifactId>maven-resources-plugin</artifactId>
206184
<version>3.3.1</version>
207185
</plugin>
186+
<plugin>
187+
<groupId>org.apache.maven.plugins</groupId>
188+
<artifactId>maven-enforcer-plugin</artifactId>
189+
<version>3.5.0</version>
190+
<executions>
191+
<execution>
192+
<id>enforcer-verify</id>
193+
<phase>validate</phase>
194+
<goals>
195+
<goal>enforce</goal>
196+
</goals>
197+
<inherited>true</inherited>
198+
</execution>
199+
</executions>
200+
<configuration>
201+
<failFast>true</failFast>
202+
<rules>
203+
<dependencyConvergence/>
204+
<banDuplicateClasses/>
205+
<banCircularDependencies/>
206+
<enforceBytecodeVersion>
207+
<maxJdkVersion>11</maxJdkVersion>
208+
<ignoredScopes>
209+
<ignoredScope>test</ignoredScope>
210+
</ignoredScopes>
211+
</enforceBytecodeVersion>
212+
</rules>
213+
</configuration>
214+
<dependencies>
215+
<dependency>
216+
<groupId>org.codehaus.mojo</groupId>
217+
<artifactId>extra-enforcer-rules</artifactId>
218+
<version>1.9.0</version>
219+
</dependency>
220+
</dependencies>
221+
</plugin>
208222
<plugin>
209223
<groupId>org.apache.maven.plugins</groupId>
210224
<artifactId>maven-compiler-plugin</artifactId>
@@ -218,7 +232,6 @@
218232
<showWarnings>true</showWarnings>
219233
</configuration>
220234
</plugin>
221-
222235
<plugin>
223236
<groupId>org.apache.maven.plugins</groupId>
224237
<artifactId>maven-jar-plugin</artifactId>

0 commit comments

Comments
 (0)