diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml
index e51fa80d..71d6571e 100644
--- a/.github/workflows/deployment.yml
+++ b/.github/workflows/deployment.yml
@@ -11,7 +11,7 @@ jobs:
concurrency:
group: deploy-github-${{ github.ref }}
cancel-in-progress: true
- permissions:
+ permissions:
contents: read
packages: write
@@ -20,20 +20,22 @@ jobs:
uses: bernardo-mg/maven-github-deployment-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
+ jdk: 17
- ossrh:
- name: OSSRH deployment
+ central:
+ name: Central deployment
runs-on: ubuntu-latest
- environment: deployment_ossrh
+ environment: deployment_central
concurrency:
- group: deploy-ossrh-${{ github.ref }}
+ group: deploy-central-${{ github.ref }}
cancel-in-progress: true
steps:
- name: Deploy
- uses: bernardo-mg/maven-signed-deployment-action@develop
+ uses: bernardo-mg/maven-signed-deployment-action@v1
with:
- username: ${{ secrets.OSSRH_USERNAME }}
- password: ${{ secrets.OSSRH_TOKEN }}
+ username: ${{ secrets.CENTRAL_USERNAME }}
+ password: ${{ secrets.CENTRAL_TOKEN }}
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
- gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
\ No newline at end of file
+ gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }}
+ jdk: 17
diff --git a/.github/workflows/doc_deployment.yml b/.github/workflows/doc_deployment.yml
deleted file mode 100644
index c41d0d36..00000000
--- a/.github/workflows/doc_deployment.yml
+++ /dev/null
@@ -1,44 +0,0 @@
-name: Doc deployment
-
-on:
- push:
- branches:
- - master
- - develop
-
-concurrency:
- group: deploy-site-${{ github.ref }}
- cancel-in-progress: true
-
-jobs:
- deploy_develop_docs:
- name: Deploy docs for develop
- environment: deployment_site
- if: ${{ github.ref == format('refs/heads/{0}', 'develop') }}
- runs-on: ubuntu-latest
-
- steps:
- - name: Deploy site
- uses: bernardo-mg/maven-site-deployment-action@v1
- with:
- host: docs.bernardomg.com
- url: ${{ secrets.DEPLOY_DOCS_DEVELOP_SITE }}
- username: ${{ secrets.DEPLOY_DOCS_DEVELOP_USER }}
- password: ${{ secrets.DEPLOY_DOCS_DEVELOP_PASSWORD }}
- jdk: 17
-
- deploy_master_docs:
- name: Deploy docs for master
- environment: deployment_site
- if: ${{ github.ref == format('refs/heads/{0}', 'master') }}
- runs-on: ubuntu-latest
-
- steps:
- - name: Deploy site
- uses: bernardo-mg/maven-site-deployment-action@v1
- with:
- host: docs.bernardomg.com
- url: ${{ secrets.DEPLOY_DOCS_SITE }}
- username: ${{ secrets.DEPLOY_DOCS_USER }}
- password: ${{ secrets.DEPLOY_DOCS_PASSWORD }}
- jdk: 17
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 2e889ad4..70ea7681 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
- jdk: [11, 17, 20]
+ jdk: [17, 21, 24]
steps:
- name: Check-out
diff --git a/.gitignore b/.gitignore
index 0e6fd957..43e11192 100644
--- a/.gitignore
+++ b/.gitignore
@@ -44,6 +44,17 @@ local.properties
/src/main/resources/rebel.xml
.springBeans
+# IntelliJ Idea files #
+.idea
+*.iml
+
+# Visual Studio #
+.vscode/
+.factorypath
+
+# Docker
+.env
+
# Windows files #
Thumbs.db
Desktop.ini
@@ -54,4 +65,3 @@ Desktop.ini
._*
.Spotlight-V100
.Trashes
-/target/
diff --git a/pom.xml b/pom.xml
index 67413514..508e6d6b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
com.bernardomg.maven
base-pom
- 1.5.6
+ 1.5.11
@@ -21,7 +21,7 @@
com.bernardomg.tabletop
dice
- 2.2.5
+ 2.2.6
jar
Dice Notation Tools for Java
@@ -67,23 +67,6 @@
-
-
-
- deployment-site
-
-
- true
-
-
-
- site
- Project Documentation Site
-
- ${site.url}
-
-
-
deployment-github
@@ -92,31 +75,17 @@
github
GitHub Packages
- https://maven.pkg.github.com/Bernardo-MG/dice-notation-java
+ https://maven.pkg.github.com/bernardo-mg/java-validation
-
- deployment-ossrh
-
-
-
- ossrh
- Central Repository OSSRH
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
-
-
-
- ossrh
- https://oss.sonatype.org/content/repositories/snapshots
-
-
+
+ deployment-central
-
org.apache.maven.plugins
maven-gpg-plugin
@@ -136,6 +105,17 @@
+
+
+ org.sonatype.central
+ central-publishing-maven-plugin
+ true
+
+ central
+ true
+ published
+
+
@@ -176,23 +156,18 @@
3.8
-
-
- 11
-
com/bernardomg/tabletop/dice
- 4.13.1
- 3.25.1
- 5.10.1
- 1.18.30
- 5.8.0
- 2.20.0
- 2.0.9
+ 4.13.2
+ 3.27.3
+ 5.13.3
+ 5.18.0
+ 2.25.0
+ 2.0.17
@@ -210,7 +185,7 @@
- 2.3.2
+ 2.4.1
http://mvnrepository.com/artifact/com.bernardomg.tabletop/dice
@@ -240,16 +215,6 @@
${antlr.version}
-
-
-
-
- org.projectlombok
- lombok
- ${lombok.version}
- provided
-
-
diff --git a/readme.md b/readme.md
index d1b3e8e1..ff5fd28c 100644
--- a/readme.md
+++ b/readme.md
@@ -10,12 +10,6 @@ Its usefulness is very clear, it allows working with specific random values dist
[][maven-repo]
-[][site-release]
-[][site-develop]
-
-[][javadoc-release]
-[][javadoc-develop]
-
## Features
- ANTLR4 grammar
@@ -39,16 +33,6 @@ The grammar is included among the [ANTLR4 sample grammars][antrl-grammars].
## Documentation
-Documentation is always generated for the latest release, kept in the 'master' branch:
-
-- The [latest release documentation page][site-release].
-- The [the latest release Javadoc site][javadoc-release].
-
-Documentation is also generated from the latest snapshot, taken from the 'develop' branch:
-
-- The [the latest snapshot documentation page][site-develop].
-- The [the latest snapshot Javadoc site][javadoc-develop].
-
The documentation site sources come along the source code (as it is a Maven site), so it is always possible to generate them using the following Maven command:
```
@@ -95,7 +79,7 @@ rolls = parser.parse("1d6+12", roller);
System.out.println(rolls.getTotalRoll());
```
-For more examples and details check the [docs][site-release].
+For more examples and details check the documentation.
## Collaborate
@@ -119,11 +103,7 @@ The project has been released under version 2.0 of the [Apache License][license]
[antrl-grammars]: https://github.com/antlr/grammars-v4
[maven-repo]: http://mvnrepository.com/artifact/com.bernardomg.tabletop/dice
[issues]: https://github.com/Bernardo-MG/dice-notation-java/issues
-[javadoc-develop]: https://docs.bernardomg.com/development/maven/dice-notation-java/apidocs
-[javadoc-release]: https://docs.bernardomg.com/maven/dice-notation-java/apidocs
[license]: http://www.apache.org/licenses/LICENSE-2.0
[scm]: http://github.com/Bernardo-MG/dice-notation-java
-[site-develop]: https://docs.bernardomg.com/development/maven/dice-notation-java
-[site-release]: https://docs.bernardomg.com/maven/dice-notation-java
[dice-notation-java-cli]: https://github.com/Bernardo-MG/dice-notation-java-cli
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 38bfe4c6..7eb349ad 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -195,5 +195,13 @@
Updated dependencies.
+
+
+ Updated dependencies.
+
+
+ Removed Lombok.
+
+