diff --git a/.github/workflows/broken_links_checker.yml b/.github/workflows/broken_links_checker.yml index 6a69306..c268e21 100644 --- a/.github/workflows/broken_links_checker.yml +++ b/.github/workflows/broken_links_checker.yml @@ -4,13 +4,21 @@ on: schedule: - cron: "0 5 * * *" push: + branches: + - main + pull_request: jobs: linkChecker: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Configure broken links checker + run: | + mkdir -p ./target + echo '{ "aliveStatusCodes": [429, 200] }' > ./target/broken_links_checker.json - uses: gaurav-nelson/github-action-markdown-link-check@v1 with: use-quiet-mode: 'yes' - use-verbose-mode: 'yes' \ No newline at end of file + use-verbose-mode: 'yes' + config-file: ./target/broken_links_checker.json \ No newline at end of file diff --git a/.github/workflows/ci-build-next-java.yml b/.github/workflows/ci-build-next-java.yml index 0c35fbc..2abe7cb 100644 --- a/.github/workflows/ci-build-next-java.yml +++ b/.github/workflows/ci-build-next-java.yml @@ -1,10 +1,13 @@ name: CI Build next Java on: - - push + push: + branches: + - main + pull_request: jobs: - build: + java-17-compatibility: runs-on: ubuntu-latest steps: - name: Checkout the repository @@ -24,9 +27,11 @@ jobs: restore-keys: | ${{ runner.os }}-maven- - name: Run tests and build with Maven - run: mvn --batch-mode --update-snapshots clean package -DtrimStackTrace=false + run: | + mvn --batch-mode --update-snapshots clean package -DtrimStackTrace=false \ + -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn - name: Publish Test Report uses: scacap/action-surefire-report@v1 - if: ${{ always() }} + if: ${{ always() && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' }} with: github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index a90eca3..0b69c62 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -1,7 +1,10 @@ name: CI Build on: - - push + push: + branches: + - main + pull_request: jobs: build: @@ -12,8 +15,9 @@ jobs: with: fetch-depth: 0 - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v2 with: + distribution: 'temurin' java-version: 11 - name: Cache local Maven repository uses: actions/cache@v2 @@ -22,9 +26,31 @@ jobs: key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} restore-keys: | ${{ runner.os }}-maven- + - name: Cache SonarCloud packages + uses: actions/cache@v2 + with: + path: ~/.sonar/cache + key: ${{ runner.os }}-sonar + restore-keys: ${{ runner.os }}-sonar - name: Run tests and build with Maven - run: mvn --batch-mode --update-snapshots clean verify sonar:sonar --file pom.xml -DtrimStackTrace=false -Dsonar.organization=exasol -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN + run: | + mvn --batch-mode clean verify \ + -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \ + -DtrimStackTrace=false + - name: Publish Test Report + uses: scacap/action-surefire-report@v1 + if: ${{ always() && github.event.pull_request.head.repo.full_name == github.repository && github.actor != 'dependabot[bot]' }} + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + - name: Sonar analysis + if: ${{ env.SONAR_TOKEN != null }} + run: | + mvn --batch-mode sonar:sonar \ + -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \ + -DtrimStackTrace=false \ + -Dsonar.organization=exasol \ + -Dsonar.host.url=https://sonarcloud.io \ + -Dsonar.login=$SONAR_TOKEN env: - GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file diff --git a/doc/changes/changelog.md b/doc/changes/changelog.md index 6d184ff..6e55b97 100644 --- a/doc/changes/changelog.md +++ b/doc/changes/changelog.md @@ -1,5 +1,6 @@ # Changes +* [1.2.1](changes_1.2.1.md) * [1.2.0](changes_1.2.0.md) * [1.1.0](changes_1.1.0.md) * [1.0.3](changes_1.0.3.md) diff --git a/doc/changes/changes_1.2.1.md b/doc/changes/changes_1.2.1.md new file mode 100644 index 0000000..45bbb1d --- /dev/null +++ b/doc/changes/changes_1.2.1.md @@ -0,0 +1,29 @@ +# Parquet for Java 1.2.1, released 2021-11-26 + +Code name: Dependency Updates + +## Summary + +In this release we updated project dependencies and build plugins. + +## Features + +* #21: Updated Scala dependency version to 2.13 + +## Dependency Updates + +### Compile Dependency Updates + +* Updated `org.scala-lang:scala-library:2.12.15` to `2.13.7` + +### Test Dependency Updates + +* Updated `org.mockito:mockito-core:4.0.0` to `4.1.0` +* Updated `org.mockito:mockito-junit-jupiter:4.0.0` to `4.1.0` +* Removed `org.scalatest:scalatest_2.12:3.2.7` +* Added `org.scalatest:scalatest_2.13:3.2.7` + +### Plugin Dependency Updates + +* Updated `com.exasol:project-keeper-maven-plugin:1.3.1` to `1.3.4` +* Updated `io.github.zlika:reproducible-build-maven-plugin:0.13` to `0.14` diff --git a/pom.xml b/pom.xml index e4c778f..dd7a931 100644 --- a/pom.xml +++ b/pom.xml @@ -1,10 +1,9 @@ - + 4.0.0 com.exasol parquet-io-java - 1.2.0 + 1.2.1 Parquet for Java This project provides a library that reads Parquet files into Java objects. https://github.com/exasol/parquet-io-java @@ -12,8 +11,9 @@ UTF-8 UTF-8 11 - 2.12.15 - 4.0.0 + 2.13.7 + 2.13 + 4.1.0 true @@ -152,7 +152,7 @@ org.scalatest - scalatest_2.12 + scalatest_${scala.compat.version} 3.2.7 test @@ -208,8 +208,7 @@ ${java.version} -Xlint:all,-serial,-path,-try - - + @@ -382,7 +381,7 @@ - 3.3.9 + 3.6.3 @@ -420,8 +419,7 @@ **IT.java - - + @@ -506,7 +504,7 @@ UTF-8 - + true true true @@ -516,7 +514,7 @@ io.github.zlika reproducible-build-maven-plugin - 0.13 + 0.14 strip-jar @@ -530,7 +528,7 @@ com.exasol project-keeper-maven-plugin - 1.3.1 + 1.3.4