diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 9ecfc2d..7b2466a 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -33,7 +33,7 @@ jobs: regex: false - name: Build with Maven - run: mvn -B package --file pom.xml + run: mvn --file pom.xml -U clean package -Punit-tests - name: Publish to GitHub Packages Apache Maven run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml --file pom.xml diff --git a/pom.xml b/pom.xml index fa66d1c..6fd4d9e 100644 --- a/pom.xml +++ b/pom.xml @@ -10,6 +10,7 @@ Ollama4j Java library for interacting with Ollama API. https://github.com/amithkoujalgi/ollama4j + jar 11 @@ -128,15 +129,15 @@ - - org.apache.maven.plugins - maven-release-plugin - 3.0.1 - - - v@{project.version} - - + + + + + + + + + @@ -188,14 +189,22 @@ + + + + + + + + + + + - - ossrh - https://s01.oss.sonatype.org/content/repositories/snapshots - - ossrh - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2 + github + GitHub Packages + https://maven.pkg.github.com/amithkoujalgi/NetWatch @@ -251,39 +260,39 @@ - - org.apache.maven.plugins - maven-gpg-plugin - 3.1.0 - - - sign-artifacts - verify - - sign - - - - - --pinentry-mode - loopback - - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.13 - true - - ossrh - https://s01.oss.sonatype.org/ - true - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + org.jacoco