Skip to content

Commit 7d0359f

Browse files
committed
release 2.2.1, added module descriptor and updated dependencies and maven publishing script
1 parent 0d840d7 commit 7d0359f

5 files changed

Lines changed: 57 additions & 87 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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.2.0|jar)
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.1|jar)
33
[![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)

pom.xml

Lines changed: 41 additions & 35 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</version>
7+
<version>2.2.1</version>
88
<packaging>jar</packaging>
99

1010
<name>Edinburgh Prolog parser</name>
@@ -65,19 +65,19 @@
6565
<dependency>
6666
<groupId>org.junit.jupiter</groupId>
6767
<artifactId>junit-jupiter-api</artifactId>
68-
<version>5.11.4</version>
68+
<version>5.14.1</version>
6969
<scope>test</scope>
7070
</dependency>
7171
<dependency>
7272
<groupId>org.junit.jupiter</groupId>
7373
<artifactId>junit-jupiter-engine</artifactId>
74-
<version>5.11.4</version>
74+
<version>5.14.1</version>
7575
<scope>test</scope>
7676
</dependency>
7777
<dependency>
7878
<groupId>org.mockito</groupId>
7979
<artifactId>mockito-core</artifactId>
80-
<version>5.15.2</version>
80+
<version>5.21.0</version>
8181
<scope>test</scope>
8282
</dependency>
8383
</dependencies>
@@ -91,24 +91,7 @@
9191
<groupId>org.apache.maven.plugins</groupId>
9292
<artifactId>maven-assembly-plugin</artifactId>
9393
<version>3.7.1</version>
94-
<configuration>
95-
<descriptors>
96-
<descriptor>src/assemble/distribution.xml</descriptor>
97-
</descriptors>
98-
</configuration>
9994
<executions>
100-
<execution>
101-
<id>make-distributive</id>
102-
<phase>install</phase>
103-
<goals>
104-
<goal>single</goal>
105-
</goals>
106-
<configuration>
107-
<descriptors>
108-
<descriptor>src/assemble/distribution.xml</descriptor>
109-
</descriptors>
110-
</configuration>
111-
</execution>
11295
<execution>
11396
<id>make-bundle</id>
11497
<phase>install</phase>
@@ -141,7 +124,7 @@
141124
<plugin>
142125
<groupId>org.apache.maven.plugins</groupId>
143126
<artifactId>maven-javadoc-plugin</artifactId>
144-
<version>3.8.0</version>
127+
<version>3.12.0</version>
145128
<configuration>
146129
<failOnError>true</failOnError>
147130
<show>protected</show>
@@ -161,7 +144,7 @@
161144
<plugin>
162145
<groupId>org.apache.maven.plugins</groupId>
163146
<artifactId>maven-gpg-plugin</artifactId>
164-
<version>3.2.7</version>
147+
<version>3.2.8</version>
165148
<executions>
166149
<execution>
167150
<id>sign-artifacts</id>
@@ -172,6 +155,34 @@
172155
</execution>
173156
</executions>
174157
</plugin>
158+
<plugin>
159+
<groupId>net.nicoulaj.maven.plugins</groupId>
160+
<artifactId>checksum-maven-plugin</artifactId>
161+
<version>1.11</version>
162+
<executions>
163+
<execution>
164+
<phase>verify</phase>
165+
<goals>
166+
<goal>files</goal>
167+
</goals>
168+
<configuration>
169+
<fileSets>
170+
<fileSet>
171+
<directory>${project.build.directory}</directory>
172+
<includes>
173+
<include>*.jar</include>
174+
<include>*.pom</include>
175+
</includes>
176+
</fileSet>
177+
</fileSets>
178+
<algorithms>
179+
<algorithm>SHA-1</algorithm>
180+
<algorithm>MD5</algorithm>
181+
</algorithms>
182+
</configuration>
183+
</execution>
184+
</executions>
185+
</plugin>
175186
</plugins>
176187
</build>
177188
</profile>
@@ -186,7 +197,7 @@
186197
<plugin>
187198
<groupId>org.apache.maven.plugins</groupId>
188199
<artifactId>maven-enforcer-plugin</artifactId>
189-
<version>3.5.0</version>
200+
<version>3.6.2</version>
190201
<executions>
191202
<execution>
192203
<id>enforcer-verify</id>
@@ -215,14 +226,14 @@
215226
<dependency>
216227
<groupId>org.codehaus.mojo</groupId>
217228
<artifactId>extra-enforcer-rules</artifactId>
218-
<version>1.9.0</version>
229+
<version>1.11.0</version>
219230
</dependency>
220231
</dependencies>
221232
</plugin>
222233
<plugin>
223234
<groupId>org.apache.maven.plugins</groupId>
224235
<artifactId>maven-compiler-plugin</artifactId>
225-
<version>3.13.0</version>
236+
<version>3.14.1</version>
226237
<configuration>
227238
<compilerArgument>-Xlint:all</compilerArgument>
228239
<source>11</source>
@@ -235,25 +246,20 @@
235246
<plugin>
236247
<groupId>org.apache.maven.plugins</groupId>
237248
<artifactId>maven-jar-plugin</artifactId>
238-
<version>3.4.1</version>
249+
<version>3.4.2</version>
239250
<configuration>
240-
<archive>
241-
<manifestEntries>
242-
<Automatic-Module-Name>igormaznitsa.prolog.parser</Automatic-Module-Name>
243-
</manifestEntries>
244-
</archive>
245251
</configuration>
246252
</plugin>
247253

248254
<plugin>
249255
<artifactId>maven-surefire-plugin</artifactId>
250-
<version>3.5.2</version>
256+
<version>3.5.4</version>
251257
</plugin>
252258

253259
<plugin>
254260
<groupId>org.codehaus.mojo</groupId>
255261
<artifactId>animal-sniffer-maven-plugin</artifactId>
256-
<version>1.24</version>
262+
<version>1.26</version>
257263
<executions>
258264
<execution>
259265
<id>ensure-android-api-compatibility</id>
@@ -265,7 +271,7 @@
265271
<signature>
266272
<groupId>com.toasttab.android</groupId>
267273
<artifactId>gummy-bears-api-32</artifactId>
268-
<version>0.10.0</version>
274+
<version>0.12.0</version>
269275
</signature>
270276
<ignores>
271277
<ignore>java.lang.invoke.*</ignore>

src/assemble/bundle.xml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,24 @@
77
<includeSiteDirectory>false</includeSiteDirectory>
88

99
<formats>
10-
<format>jar</format>
10+
<format>tar.gz</format>
1111
</formats>
1212
<fileSets>
1313
<fileSet>
1414
<directory>${project.build.directory}</directory>
15-
<outputDirectory>/</outputDirectory>
15+
<outputDirectory>/com/igormaznitsa/${project.artifactId}/${project.version}</outputDirectory>
1616
<includes>
17-
<include>*.jar.asc</include>
1817
<include>*.jar</include>
18+
<include>*.jar.asc</include>
19+
<include>*.jar.sha1</include>
20+
<include>*.jar.md5</include>
1921
<include>*.pom</include>
2022
<include>*.pom.asc</include>
23+
<include>*.pom.sha1</include>
24+
<include>*.pom.md5</include>
2125
</includes>
2226
<excludes>
27+
<exclude>original*.*</exclude>
2328
<exclude>*.zip</exclude>
2429
</excludes>
2530
</fileSet>

src/assemble/distribution.xml

Lines changed: 0 additions & 48 deletions
This file was deleted.

src/main/java/module-info.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
open module igormaznitsa.prolog.parser {
2+
exports com.igormaznitsa.prologparser;
3+
exports com.igormaznitsa.prologparser.utils;
4+
exports com.igormaznitsa.prologparser.exceptions;
5+
exports com.igormaznitsa.prologparser.terms;
6+
exports com.igormaznitsa.prologparser.tokenizer;
7+
}

0 commit comments

Comments
 (0)