diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml deleted file mode 100644 index f165a6d..0000000 --- a/.github/workflows/maven-publish.yml +++ /dev/null @@ -1,34 +0,0 @@ -# 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/blob/main/docs/advanced-usage.md#apache-maven-with-a-settings-path - -name: Publish Release - -on: - release: - types: [created] - -jobs: - build: - - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - - steps: - - uses: actions/checkout@v3 - - name: Set up JDK 11 - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'temurin' - 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: Publish to GitHub Packages Apache Maven - run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml - env: - GITHUB_TOKEN: ${{ github.token }} diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index adba20b..0000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,31 +0,0 @@ -trigger: - batch: true - branches: - include: - - develop - - main - -variables: - tag: '$(Build.BuildId)' - -pool: - vmImage: 'ubuntu-latest' - -steps: - - task: DownloadSecureFile@1 - name: settingsxml - displayName: Download maven settings xml - inputs: - secureFile: settings_min.xml - - task: Maven@3 - displayName: "Build project with maven" - inputs: - mavenPomFile: "pom.xml" - mavenOptions: "-Xmx3072m" - javaHomeOption: "JDKVersion" - jdkVersionOption: "1.11" - jdkArchitectureOption: "x64" - publishJUnitResults: true - testResultsFiles: "**/surefire-reports/TEST-*.xml" - goals: "deploy" - options: "-s $(settingsxml.secureFilePath) -Dgpg.skip=false" \ No newline at end of file