@@ -29,33 +29,6 @@ Installation
2929To include the latest release in your Java project follow the instructions
3030below.
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
6134JitPack 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
10780bazel 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+
110112Tutorial
111113--------
112114
0 commit comments