diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 32b8dd517..5c01ab0fb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,23 +4,25 @@ name: "Release Master" on: workflow_dispatch: push: - branches: - - master + branches: [ "master" ] jobs: release: if: "!contains(github.event.head_commit.message, 'skip ci')" runs-on: ubuntu-latest steps: - - name: Check out repository + - name: Checkout repository uses: actions/checkout@v4.1.7 + with: + fetch-depth: 0 - name: Install Java and Maven uses: actions/setup-java@v4.2.1 with: - java-version: '17' + java-version: '11' distribution: 'temurin' cache: maven + server-id: github - name: Adding ssh key uses: webfactory/ssh-agent@v0.4.1 @@ -37,18 +39,10 @@ jobs: with: gpg_private_key: ${{ secrets.gpg_private_key }} gpg_passphrase: ${{ secrets.gpg_passphrase }} -# nexus_username: ${{ secrets.nexus_username }} -# nexus_password: ${{ secrets.nexus_password }} nexus_username: ${{ secrets.OSSRH_USERNAME }} nexus_password: ${{ secrets.OSSRH_TOKEN }} maven_goals_phases: clean -B release:prepare release:perform -Darguments="-DskipTests" -P ossrh -# - name: Set up Java for publishing to GitHub Packages -# uses: actions/setup-java@v3 -# with: -# java-version: '11' -# distribution: 'adopt' - - name: Publish to GitHub Packages run: mvn --batch-mode deploy -P github env: diff --git a/pom.xml b/pom.xml index 9020e1936..1e288ef89 100644 --- a/pom.xml +++ b/pom.xml @@ -2,8 +2,9 @@ 4.0.0 com.github.wmixvideo nfe - jar 4.0.57-SNAPSHOT + jar + nfe Biblioteca de comunicacao de nota fiscal eletronica brasileira https://github.com/wmixvideo/nfe @@ -16,24 +17,6 @@ - - git@github.com:wmixvideo/nfe.git - scm:git:git@github.com:wmixvideo/nfe.git - scm:git:git@github.com:wmixvideo/nfe.git - HEAD - - - - UTF-8 - UTF-8 - 11 - 1.7.9 - 2.0.13 - 4.13.2 - 3.14.0 - 2.7.1 - - jefperito @@ -57,6 +40,24 @@ + + git@github.com:wmixvideo/nfe.git + scm:git:git@github.com:wmixvideo/nfe.git + scm:git:git@github.com:wmixvideo/nfe.git + HEAD + + + + 11 + 2.0.13 + 4.13.2 + UTF-8 + UTF-8 + 1.7.9 + 3.14.0 + 2.7.1 + + @@ -192,10 +193,6 @@ QTRbpWiuiwIHGrc0arqKxXsAtiVoLMc5h - javax.xml.bind jaxb-api @@ -258,7 +255,6 @@ true ossrh - https://s01.oss.sonatype.org true @@ -294,6 +290,14 @@ v@{project.version} false + + + default + + perform + + + org.apache.maven.plugins