diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml
new file mode 100644
index 00000000..25a9fd5b
--- /dev/null
+++ b/.github/workflows/maven-publish.yml
@@ -0,0 +1,33 @@
+# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
+# For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path
+
+name: Maven Package
+
+on:
+ release:
+ types: [created]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up JDK 1.8
+ uses: actions/setup-java@v1
+ with:
+ java-version: 1.8
+ server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
+ settings-path: ${{ github.workspace }} # location for the settings.xml file
+
+ - name: Build with Maven
+ run: mvn -B package --file pom.xml
+
+ - name: Update version
+ run: mvn versions:set -DnewVersion=${GITHUB_REF:11}
+
+ - name: Publish to GitHub Packages Apache Maven
+ run: mvn deploy -s ${{ github.workspace }}/settings.xml
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.m2/settings.xml b/.m2/settings.xml
new file mode 100644
index 00000000..1d646892
--- /dev/null
+++ b/.m2/settings.xml
@@ -0,0 +1,30 @@
+
+
+
+ github
+
+
+
+
+ github
+
+
+ github
+ GitHub cicirello Apache Maven Packages
+ https://maven.pkg.github.com/cicirello/JavaPermutationTools
+
+
+
+
+
+
+
+ github
+ ${env.GITHUB_ACTOR}
+ ${env.GITHUB_TOKEN}
+
+
+
\ No newline at end of file
diff --git a/README.md b/README.md
index 1edcb8f6..250be5d1 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ https://www.cicirello.org/
[](https://zenodo.org/badge/latestdoi/139182095)


-
+[](https://github.com/cicirello/JavaPermutationTools/releases)
## How to Cite
diff --git a/pom.xml b/pom.xml
new file mode 100644
index 00000000..0d0c4f65
--- /dev/null
+++ b/pom.xml
@@ -0,0 +1,157 @@
+
+ 4.0.0
+
+ org.cicirello
+ jpt
+ 2.0.1
+
+
+
+ junit
+ junit
+ 4.12
+ jar
+ test
+ true
+
+
+
+
+ UTF-8
+ 1.8
+ 1.8
+
+
+
+ ${project.basedir}/dist
+ ${project.basedir}/bin
+ ${project.artifactId}-${project.version}
+ ${project.basedir}/testbin
+ ${project.basedir}/src
+ ${project.basedir}/src/scripts
+ ${project.basedir}/tests
+
+
+ ${project.basedir}/src/resources
+
+
+
+
+ ${project.basedir}/tests/resources
+
+
+
+
+ org.apache.maven.plugins
+ maven-source-plugin
+ 3.2.0
+
+
+ attach-sources
+
+ jar
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 3.2.0
+
+
+ attach-javadocs
+
+ jar
+
+
+
+
+ JavaPermutationTools - A Java API for computation on permutations
+ JavaPermutationTools - A Java API for computation on permutations
+ false
+ false
+ ${project.build.sourceDirectory}/overview.html
+ true
+
+ https://docs.oracle.com/javase/8/docs/api
+
+ Vincent A. Cicirello. All rights reserved.]]>
+
+
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+ 3.0.0-M5
+
+
+ **/*TestCases.java
+
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 3.2.0
+
+ ${project.basedir}/docs/api
+ api
+ ${project.basedir}/docs/api
+ JavaPermutationTools - A Java API for computation on permutations
+ JavaPermutationTools - A Java API for computation on permutations
+ false
+ false
+ ${project.build.sourceDirectory}/overview.html
+ true
+
+ https://docs.oracle.com/javase/8/docs/api
+
+ Vincent A. Cicirello. All rights reserved.]]>
+
+
+
+
+
+
+
+ github
+ GitHub cicirello Apache Maven Packages
+ https://maven.pkg.github.com/cicirello/JavaPermutationTools
+
+
+
+ JavaPermutationTools
+ JavaPermutationTools (JPT) is a library for
+ computation on permutations and sequences.
+ https://jpt.cicirello.org/
+
+
+ GNU General Public License, Version 3.0
+ https://www.gnu.org/licenses/gpl-3.0.en.html
+ repo
+
+
+
+ Vincent A. Cicirello
+ https://www.cicirello.org/
+
+
+
+ Vincent A. Cicirello
+ https://www.cicirello.org/
+
+
+
+
+ github
+ https://github.com/cicirello/JavaPermutationTools/issues
+
+