diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml new file mode 100644 index 0000000..bc26a38 --- /dev/null +++ b/.github/workflows/build-pr.yml @@ -0,0 +1,17 @@ +name: PR build +on: pull_request +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + with: + submodules: recursive + - name: Set up JDK + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + - name: Build project with Maven + run: mvn -B -ntp install diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..2a0e859 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,24 @@ +name: CI build +on: + push: + branches: master +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + with: + submodules: recursive + - name: Set up JDK + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + - name: Build project with Maven + run: mvn -B -ntp install + - name: Deploy to OSSRH + env: + SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} + run: mvn -B -ntp --settings .mvn/settings.xml -DskipTests=true -Dmaven.install.skip=true deploy diff --git a/src/main/resources/archetype-resources/pom.xml b/src/main/resources/archetype-resources/pom.xml index cefc5da..ec0c178 100644 --- a/src/main/resources/archetype-resources/pom.xml +++ b/src/main/resources/archetype-resources/pom.xml @@ -379,83 +379,16 @@ - - - - - org.apache.maven.plugins - maven-project-info-reports-plugin - - false - - - - org.apache.maven.plugins - maven-jxr-plugin - - - org.apache.maven.plugins - maven-javadoc-plugin - - - org.codehaus.mojo - taglist-maven-plugin - - - TODO - @todo - FIXME - @deprecated - REVIEW - - - - - org.owasp - dependency-check-maven - - false - - - - - aggregate - check - - - - - - org.codehaus.mojo - servicedocgen-maven-plugin - - - - ${servicedoc.info.title} - ${servicedoc.info.description} - - ${servicedoc.host} - ${servicedoc.port} - ${servicedoc.basePath} - - http - - - - - - org.codehaus.mojo - license-maven-plugin - - - - third-party-report - aggregate-third-party-report - - - - - - - + + + teavm-dev + https://teavm.org/maven/repository + + + + + teavm-dev + https://teavm.org/maven/repository + +