Skip to content

Commit

Permalink
Fixed #23 (#24)
Browse files Browse the repository at this point in the history
* Fixed #23
* override transitive dependency of mysql-connector-java
to com.google.protobuf:protobuf-java:jar:3.19.4
* updated group id and artifact name for connector after relocation
[WARNING] The artifact mysql:mysql-connector-java:jar:8.0.31 has been
relocated to com.mysql:mysql-connector-j:jar:8.0.31: MySQL Connector/J
artifacts moved to reverse-DNS compliant Maven 2+ coordinates.
* Fixed name of driver in settings.cfg
* removed pom content distributionManagement, forkCount, excludedGroups
* removed versions-maven-plugin
* added maven-failsafe-plugin, useModulePath false

Co-authored-by: Christoph Pirkl <[email protected]>
  • Loading branch information
ckunki and kaklakariada authored Oct 24, 2022
1 parent ccc9788 commit 769f4df
Show file tree
Hide file tree
Showing 11 changed files with 158 additions and 128 deletions.
2 changes: 2 additions & 0 deletions .project-keeper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ sources:
- integration_tests
- udf_coverage
- jar_artifact
linkReplacements:
- https://developers.google.com/protocol-buffers/protobuf-java/|https://developers.google.com/protocol-buffers
147 changes: 75 additions & 72 deletions dependencies.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions doc/changes/changelog.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 40 additions & 0 deletions doc/changes/changes_4.0.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Virtual Schema for MySQL 4.0.1, released 2022-10-24

Code name: Dependency Updates

## Summary

Updated dependencies to fix vulnerabilities.

## Features

* #23: Fixed CVE-2022-3171 reported for `com.google.protobuf:protobuf-java` by updating `com.mysql:mysql-connector-j`.

## Dependency Updates

### Compile Dependency Updates

* Updated `com.exasol:virtual-schema-common-jdbc:9.0.5` to `10.0.1`

### Test Dependency Updates

* Updated `com.exasol:exasol-testcontainers:6.1.1` to `6.2.0`
* Updated `com.exasol:hamcrest-resultset-matcher:1.5.1` to `1.5.2`
* Updated `com.exasol:test-db-builder-java:3.3.2` to `3.4.0`
* Updated `com.exasol:udf-debugging-java:0.6.2` to `0.6.4`
* Updated `com.exasol:virtual-schema-common-jdbc:9.0.5` to `10.0.1`
* Updated `com.exasol:virtual-schema-shared-integration-tests:2.2.0` to `2.2.2`
* Added `com.google.protobuf:protobuf-java:3.21.8`
* Added `com.mysql:mysql-connector-j:8.0.31`
* Removed `mysql:mysql-connector-java:8.0.29`
* Updated `org.junit.jupiter:junit-jupiter:5.8.2` to `5.9.1`
* Updated `org.mockito:mockito-junit-jupiter:4.6.1` to `4.8.1`
* Updated `org.testcontainers:junit-jupiter:1.17.2` to `1.17.5`
* Updated `org.testcontainers:mysql:1.17.2` to `1.17.5`

### Plugin Dependency Updates

* Updated `com.exasol:error-code-crawler-maven-plugin:1.1.1` to `1.1.2`
* Updated `com.exasol:project-keeper-maven-plugin:2.4.6` to `2.8.0`
* Updated `org.apache.maven.plugins:maven-enforcer-plugin:3.0.0` to `3.1.0`
* Updated `org.codehaus.mojo:versions-maven-plugin:2.11.0` to `2.10.0`
2 changes: 1 addition & 1 deletion doc/user_guide/mysql_user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The SQL statement below creates the adapter script, defines the Java class that
```sql
CREATE OR REPLACE JAVA ADAPTER SCRIPT SCHEMA_FOR_VS_SCRIPT.ADAPTER_SCRIPT_MYSQL AS
%scriptclass com.exasol.adapter.RequestDispatcher;
%jar /buckets/<BFS service>/<bucket>/virtual-schema-dist-10.0.1-mysql-4.0.0.jar;
%jar /buckets/<BFS service>/<bucket>/virtual-schema-dist-10.0.1-mysql-4.0.1.jar;
%jar /buckets/<BFS service>/<bucket>/mysql-connector-java-<version>.jar;
/
;
Expand Down
2 changes: 1 addition & 1 deletion pk_generated_parent.pom

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 769f4df

Please sign in to comment.