Skip to content

Commit c70cada

Browse files
committed
Bump to 2.4.2
1 parent 45320b4 commit c70cada

6 files changed

Lines changed: 40 additions & 38 deletions

File tree

README.md

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -29,33 +29,6 @@ Installation
2929
To include the latest release in your Java project follow the instructions
3030
below.
3131

32-
### Maven Central
33-
34-
To depend on the core library, add the following dependency to your `pom.xml`
35-
file:
36-
37-
```xml
38-
<dependency>
39-
<groupId>com.github.petitparser</groupId>
40-
<artifactId>petitparser-core</artifactId>
41-
<version>2.4.1</version>
42-
</dependency>
43-
```
44-
45-
To also include the example grammars, use the following dependency:
46-
47-
```xml
48-
<dependency>
49-
<groupId>com.github.petitparser</groupId>
50-
<artifactId>petitparser</artifactId>
51-
<version>2.4.1</version>
52-
</dependency>
53-
```
54-
55-
Instructions for alternative build systems you can find
56-
on [Maven Central](https://search.maven.org/artifact/com.github.petitparser/petitparser-core)
57-
.
58-
5932
### Maven JitPack
6033

6134
JitPack requires you to first append the repository to your `pom.xml` file:
@@ -73,7 +46,7 @@ To depend on the core library, add the following dependency:
7346
<dependency>
7447
<groupId>com.github.petitparser.java-petitparser</groupId>
7548
<artifactId>petitparser-core</artifactId>
76-
<version>2.4.1</version>
49+
<version>2.4.2</version>
7750
</dependency>
7851
```
7952

@@ -83,7 +56,7 @@ To also include the example grammars, use the following dependency:
8356
<dependency>
8457
<groupId>com.github.petitparser</groupId>
8558
<artifactId>java-petitparser</artifactId>
86-
<version>2.4.1</version>
59+
<version>2.4.2</version>
8760
</dependency>
8861
```
8962

@@ -107,6 +80,35 @@ bazel build ...:all
10780
bazel test ...:all
10881
```
10982

83+
### Maven Central (deprecated)
84+
85+
> [!WARNING]
86+
> Version 2.4.2 is the last version of these packages on Maven Central.
87+
88+
To depend on the core library, add the following dependency to your `pom.xml`
89+
file:
90+
91+
```xml
92+
<dependency>
93+
<groupId>com.github.petitparser</groupId>
94+
<artifactId>petitparser-core</artifactId>
95+
<version>2.4.2</version>
96+
</dependency>
97+
```
98+
99+
To also include the example grammars, use the following dependency:
100+
101+
```xml
102+
<dependency>
103+
<groupId>com.github.petitparser</groupId>
104+
<artifactId>petitparser</artifactId>
105+
<version>2.4.2</version>
106+
</dependency>
107+
```
108+
109+
Instructions for alternative build systems you can find
110+
on [Maven Central](https://search.maven.org/artifact/com.github.petitparser/petitparser-core)
111+
110112
Tutorial
111113
--------
112114

petitparser-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>com.github.petitparser</groupId>
99
<artifactId>petitparser</artifactId>
10-
<version>2.4.1</version>
10+
<version>2.4.2</version>
1111
<relativePath>../pom.xml</relativePath>
1212
</parent>
1313

petitparser-json/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>com.github.petitparser</groupId>
99
<artifactId>petitparser</artifactId>
10-
<version>2.4.1</version>
10+
<version>2.4.2</version>
1111
<relativePath>../pom.xml</relativePath>
1212
</parent>
1313

@@ -19,7 +19,7 @@
1919
<dependency>
2020
<groupId>com.github.petitparser</groupId>
2121
<artifactId>petitparser-core</artifactId>
22-
<version>2.4.1</version>
22+
<version>2.4.2</version>
2323
</dependency>
2424
</dependencies>
2525
</project>

petitparser-smalltalk/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>com.github.petitparser</groupId>
99
<artifactId>petitparser</artifactId>
10-
<version>2.4.1</version>
10+
<version>2.4.2</version>
1111
<relativePath>../pom.xml</relativePath>
1212
</parent>
1313

@@ -19,7 +19,7 @@
1919
<dependency>
2020
<groupId>com.github.petitparser</groupId>
2121
<artifactId>petitparser-core</artifactId>
22-
<version>2.4.1</version>
22+
<version>2.4.2</version>
2323
</dependency>
2424
</dependencies>
2525
</project>

petitparser-xml/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>com.github.petitparser</groupId>
99
<artifactId>petitparser</artifactId>
10-
<version>2.4.1</version>
10+
<version>2.4.2</version>
1111
<relativePath>../pom.xml</relativePath>
1212
</parent>
1313

@@ -19,7 +19,7 @@
1919
<dependency>
2020
<groupId>com.github.petitparser</groupId>
2121
<artifactId>petitparser-core</artifactId>
22-
<version>2.4.1</version>
22+
<version>2.4.2</version>
2323
</dependency>
2424
</dependencies>
2525
</project>

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<groupId>com.github.petitparser</groupId>
1515
<artifactId>petitparser</artifactId>
16-
<version>2.4.1</version>
16+
<version>2.4.2</version>
1717
<packaging>pom</packaging>
1818

1919
<name>PetitParser</name>
@@ -139,7 +139,7 @@
139139
</build>
140140

141141
<!-- Instructions: https://central.sonatype.org/pages/ossrh-guide.html -->
142-
<!-- 1. Create PGP key -->
142+
<!-- 1. Create PGP key (double the dashes in this section) -->
143143
<!-- $ gpg -gen-key -->
144144
<!-- $ gpg -list-keys -->
145145
<!-- $ gpg -keyserver hkp://keyserver.ubuntu.com -send-keys XXX -->

0 commit comments

Comments
 (0)