Skip to content

Commit 3a4b889

Browse files
morazowjakobbraun
andauthored
#22: Fixed transitive dependency with vulnerability (#23)
Fixes #22. Co-authored-by: jakobbraun <jakob.braun@posteo.de>
1 parent 0cba094 commit 3a4b889

File tree

9 files changed

+86
-42
lines changed

9 files changed

+86
-42
lines changed

.github/workflows/broken_links_checker.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2
13-
- name: lychee Link Checker
14-
id: lc
15-
uses: lycheeverse/lychee-action@v1.0.6
16-
- name: Fail if there were link errors
17-
run: exit ${{ steps.lc.outputs.exit_code }}
13+
- uses: gaurav-nelson/github-action-markdown-link-check@v1
14+
with:
15+
use-quiet-mode: 'yes'
16+
use-verbose-mode: 'yes'

.github/workflows/ci-build.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI Build
2+
3+
on:
4+
- push
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout the repository
11+
uses: actions/checkout@v2
12+
with:
13+
fetch-depth: 0
14+
- name: Set up JDK 11
15+
uses: actions/setup-java@v1
16+
with:
17+
java-version: 11
18+
- name: Cache local Maven repository
19+
uses: actions/cache@v2
20+
with:
21+
path: ~/.m2/repository
22+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
23+
restore-keys: |
24+
${{ runner.os }}-maven-
25+
- name: Run tests and build with Maven
26+
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
27+
env:
28+
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }}
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

.github/workflows/release_droid_upload_github_release_assets.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,9 @@ jobs:
3232
uses: shogo82148/actions-upload-release-asset@v1
3333
with:
3434
upload_url: ${{ github.event.inputs.upload_url }}
35-
asset_path: target/*.jar
35+
asset_path: target/*.jar
36+
- name: Upload error-code-report
37+
uses: shogo82148/actions-upload-release-asset@v1
38+
with:
39+
upload_url: ${{ github.event.inputs.upload_url }}
40+
asset_path: target/error_code_report.json

.travis.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
# parquet-io-java
22

3-
[![Build Status](https://travis-ci.com/exasol/parquet-io-java.svg?branch=main)](https://travis-ci.com/exasol/parquet-io-java)
3+
[![Build Status](https://github.com/exasol/parquet-io-java/actions/workflows/ci-build.yml/badge.svg)](https://github.com/exasol/parquet-io-java/actions/workflows/ci-build.yml)
44
[![Maven Central](https://img.shields.io/maven-central/v/com.exasol/parquet-io-java)](https://search.maven.org/artifact/com.exasol/parquet-io-java)
55

6-
SonarCloud results:
7-
86
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aparquet-io-java&metric=alert_status)](https://sonarcloud.io/dashboard?id=com.exasol%3Aparquet-io-java)
97

108
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aparquet-io-java&metric=security_rating)](https://sonarcloud.io/dashboard?id=com.exasol%3Aparquet-io-java)

dependencies.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
| [Apache Maven Enforcer Plugin][33] | [Apache License, Version 2.0][2] |
3636
| [OpenFastTrace Maven Plugin][35] | [GNU General Public License v3.0][36] |
3737
| [Maven Failsafe Plugin][37] | [Apache License, Version 2.0][2] |
38-
| [Apache Maven GPG Plugin][39] | [Apache License, Version 2.0][1] |
38+
| [Apache Maven GPG Plugin][39] | [Apache License, Version 2.0][2] |
3939
| [Apache Maven Deploy Plugin][41] | [Apache License, Version 2.0][2] |
4040
| [Nexus Staging Maven Plugin][43] | [Eclipse Public License][44] |
4141
| [Apache Maven Source Plugin][45] | [Apache License, Version 2.0][2] |
@@ -48,7 +48,6 @@
4848
| [Apache Maven Install Plugin][59] | [Apache License, Version 2.0][1] |
4949
| [Apache Maven Site Plugin][61] | [Apache License, Version 2.0][2] |
5050

51-
[27]: https://www.eclemma.org/jacoco/index.html
5251
[51]: https://github.com/exasol/project-keeper-maven-plugin
5352
[16]: http://www.apache.org/licenses/LICENSE-2.0
5453
[1]: http://www.apache.org/licenses/LICENSE-2.0.txt
@@ -62,7 +61,6 @@
6261
[29]: http://www.mojohaus.org/versions-maven-plugin/
6362
[14]: http://opensource.org/licenses/BSD-3-Clause
6463
[19]: https://maven.apache.org/plugins/maven-compiler-plugin/
65-
[39]: http://maven.apache.org/plugins/maven-gpg-plugin/
6664
[55]: https://maven.apache.org/plugins/maven-resources-plugin/
6765
[35]: https://github.com/itsallcode/openfasttrace-maven-plugin
6866
[53]: https://maven.apache.org/plugins/maven-clean-plugin/
@@ -73,17 +71,19 @@
7371
[18]: http://unlicense.org/
7472
[6]: https://www.apache.org/licenses/LICENSE-2.0
7573
[23]: https://www.scalatest.org/user_guide/using_the_scalatest_maven_plugin
74+
[27]: https://www.jacoco.org/jacoco/trunk/doc/maven.html
75+
[10]: https://github.com/mockito/mockito/blob/main/LICENSE
7676
[49]: http://zlika.github.io/reproducible-build-maven-plugin
7777
[61]: https://maven.apache.org/plugins/maven-site-plugin/
7878
[36]: https://www.gnu.org/licenses/gpl-3.0.html
7979
[0]: https://parquet.apache.org
8080
[2]: https://www.apache.org/licenses/LICENSE-2.0.txt
8181
[33]: https://maven.apache.org/enforcer/maven-enforcer-plugin/
82-
[10]: https://github.com/mockito/mockito/blob/release/3.x/LICENSE
8382
[8]: https://www.eclipse.org/legal/epl-v20.html
8483
[59]: http://maven.apache.org/plugins/maven-install-plugin/
8584
[7]: https://junit.org/junit5/
8685
[31]: https://sonatype.github.io/ossindex-maven/maven-plugin/
86+
[39]: https://maven.apache.org/plugins/maven-gpg-plugin/
8787
[17]: http://github.com/davidB/scala-maven-plugin
8888
[45]: https://maven.apache.org/plugins/maven-source-plugin/
8989
[13]: http://hamcrest.org/JavaHamcrest/

doc/changes/changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Changes
22

3+
* [1.0.2](changes_1.0.2.md)
34
* [1.0.1](changes_1.0.1.md)
45
* [1.0.0](changes_1.0.0.md)

doc/changes/changes_1.0.2.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Parquet for Java 1.0.2, released 2021-07-12
2+
3+
Code name: Fixed Transitive Dependency Vulnerability
4+
5+
## Summary
6+
7+
This releases remove transitive dependency that contains vulnerability by updating version of `hadoop-client`. Additionally, we updated versions of other runtime and test dependencies.
8+
9+
## Bug Fixes
10+
11+
* #22: Fixed transitive dependency vulnerability
12+
13+
## Dependency Updates
14+
15+
### Compile Dependency Updates
16+
17+
* Updated `org.apache.hadoop:hadoop-client:3.3.0` to `3.3.1`
18+
19+
### Test Dependency Updates
20+
21+
* Updated `org.mockito:mockito-core:3.10.0` to `3.11.2`
22+
* Updated `org.mockito:mockito-junit-jupiter:3.10.0` to `3.11.2`
23+
24+
### Plugin Dependency Updates
25+
26+
* Updated `com.exasol:project-keeper-maven-plugin:0.8.0` to `0.10.0`
27+
* Updated `net.alchim31.maven:scala-maven-plugin:4.4.1` to `4.5.3`
28+
* Updated `org.apache.maven.plugins:maven-gpg-plugin:1.6` to `3.0.1`
29+
* Updated `org.apache.maven.plugins:maven-javadoc-plugin:3.2.0` to `3.3.0`
30+
* Updated `org.itsallcode:openfasttrace-maven-plugin:1.1.0` to `1.2.0`
31+
* Updated `org.jacoco:jacoco-maven-plugin:0.8.6` to `0.8.7`

pom.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>com.exasol</groupId>
66
<artifactId>parquet-io-java</artifactId>
7-
<version>1.0.1</version>
7+
<version>1.0.2</version>
88
<name>Parquet for Java</name>
99
<description>This project provides a library that reads Parquet files into Java objects.</description>
1010
<url>https://github.com/exasol/parquet-io-java</url>
@@ -13,7 +13,7 @@
1313
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1414
<java.version>11</java.version>
1515
<scala.version>2.12.14</scala.version>
16-
<mockito.version>3.10.0</mockito.version>
16+
<mockito.version>3.11.2</mockito.version>
1717
<gpg.skip>true</gpg.skip>
1818
</properties>
1919
<licenses>
@@ -58,7 +58,7 @@
5858
<dependency>
5959
<groupId>org.apache.hadoop</groupId>
6060
<artifactId>hadoop-client</artifactId>
61-
<version>3.3.0</version>
61+
<version>3.3.1</version>
6262
<!-- Excluding transitive dependencies with vulnerabilities. -->
6363
<exclusions>
6464
<exclusion>
@@ -143,7 +143,7 @@
143143
<plugin>
144144
<groupId>net.alchim31.maven</groupId>
145145
<artifactId>scala-maven-plugin</artifactId>
146-
<version>4.4.1</version>
146+
<version>4.5.3</version>
147147
<executions>
148148
<execution>
149149
<id>scala-compile-first</id>
@@ -276,7 +276,7 @@
276276
<plugin>
277277
<groupId>org.jacoco</groupId>
278278
<artifactId>jacoco-maven-plugin</artifactId>
279-
<version>0.8.6</version>
279+
<version>0.8.7</version>
280280
<executions>
281281
<execution>
282282
<id>prepare-agent</id>
@@ -373,7 +373,7 @@
373373
<plugin>
374374
<groupId>org.itsallcode</groupId>
375375
<artifactId>openfasttrace-maven-plugin</artifactId>
376-
<version>1.1.0</version>
376+
<version>1.2.0</version>
377377
<executions>
378378
<execution>
379379
<id>trace-requirements</id>
@@ -416,7 +416,7 @@
416416
<plugin>
417417
<groupId>org.apache.maven.plugins</groupId>
418418
<artifactId>maven-gpg-plugin</artifactId>
419-
<version>1.6</version>
419+
<version>3.0.1</version>
420420
<executions>
421421
<execution>
422422
<id>sign-artifacts</id>
@@ -476,7 +476,7 @@
476476
<plugin>
477477
<groupId>org.apache.maven.plugins</groupId>
478478
<artifactId>maven-javadoc-plugin</artifactId>
479-
<version>3.2.0</version>
479+
<version>3.3.0</version>
480480
<executions>
481481
<execution>
482482
<id>attach-javadocs</id>
@@ -511,7 +511,7 @@
511511
<plugin>
512512
<groupId>com.exasol</groupId>
513513
<artifactId>project-keeper-maven-plugin</artifactId>
514-
<version>0.8.0</version>
514+
<version>0.10.0</version>
515515
<executions>
516516
<execution>
517517
<goals>

0 commit comments

Comments
 (0)