Skip to content

Commit

Permalink
#80: Added ossindex-maven-plugin and versions-maven-plugin (#83)
Browse files Browse the repository at this point in the history
* #80: Added ossindex-maven-plugin and versions-maven-plugin, updated dependencies, added changelog.md
* #80: Fixed tracing
  • Loading branch information
AnastasiiaSergienko authored Jun 29, 2020
1 parent f15273a commit c6a44c8
Show file tree
Hide file tree
Showing 31 changed files with 313 additions and 55 deletions.
25 changes: 20 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,33 @@ final String sql = renderer.render();

## Dependencies

### Build Dependencies

The list below show all build dependencies in alphabetical order. Note that except the Maven build tool all required modules are downloaded automatically by Maven.
### Test Dependencies

| Dependency | Purpose | License |
---------------------------------------------------------------------------------|--------------------------------------------------------|--------------------------------
| [Apache Maven](https://maven.apache.org/) | Build tool | Apache License 2.0 |
| [Equals Verifier](https://github.com/jqno/equalsverifier) | Automatic contract checker for `equals()` and `hash()` | Apache License 2.0 |
| [Hamcrest](http://hamcrest.org/) | Advanced matchers for JUnit | GNU BSD-3-Clause |
| [JUnit 5](https://junit.org/junit5/) | Unit testing framework | Eclipse Public License 1.0 |
| [Mockito](http://site.mockito.org/) | Mocking framework | MIT License |

### Maven Plug-ins

| Plug-in | Purpose | License |
---------------------------------------------------------------------------------|--------------------------------------------------------|--------------------------------
| [Maven Compiler Plugin][maven-compiler-plugin] | Setting required Java version | Apache License 2.0 |
| [Maven GPG Plugin](https://maven.apache.org/plugins/maven-gpg-plugin/) | Signs JARs | Apache License 2.0 |
| [Maven Enforcer Plugin][maven-enforcer-plugin] | Controlling environment constants | Apache License 2.0 |
| [Maven Jacoco Plugin](https://www.eclemma.org/jacoco/trunk/doc/maven.html) | Code coverage metering | Eclipse Public License 2.0 |
| [Maven JavaDoc Plugin](https://maven.apache.org/plugins/maven-javadoc-plugin/) | Creates JavaDoc JARs | Apache License 2.0 |
| [Maven Source Plugin](https://maven.apache.org/plugins/maven-source-plugin/) | Creates source JARs | Apache License 2.0 |
| [Mockito](http://site.mockito.org/) | Mocking framework | MIT License |
| [OFT Maven Plugin](https://github.com/itsallcode/openfasttrace-maven-plugin) | Requirement tracing | GPL 3.0 |
| [Maven Surefire Plugin][maven-surefire-plugin] | Unit testing | Apache License 2.0 |
| [OFT Maven Plugin](https://github.com/itsallcode/openfasttrace-maven-plugin) | Requirement tracing | GPL 3.0 |
| [Sonatype OSS Index Maven Plugin][sonatype-oss-index-maven-plugin] | Checking Dependencies Vulnerability | ASL2 |
| [Versions Maven Plugin][versions-maven-plugin] | Checking if dependencies updates are available | Apache License 2.0 |

[maven-compiler-plugin]: https://maven.apache.org/plugins/maven-compiler-plugin/
[maven-enforcer-plugin]: http://maven.apache.org/enforcer/maven-enforcer-plugin/
[maven-surefire-plugin]: https://maven.apache.org/surefire/maven-surefire-plugin/
[sonatype-oss-index-maven-plugin]: https://sonatype.github.io/ossindex-maven/maven-plugin/
[versions-maven-plugin]: https://www.mojohaus.org/versions-maven-plugin/
3 changes: 3 additions & 0 deletions doc/changes/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Changes

* [4.0.0](changes-4.0.0.md)
27 changes: 27 additions & 0 deletions doc/changes/changes-4.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# SQL Statement Builder 4.0.0, released ??.06.2020

## Bug Fixes

* #78: Fixed the bug with BooleanExpression quotation.

## Features / Enhancements

* #80: Added ossindex-maven-plugin and versions-maven-plugin, updated dependencies.
* #81: Ported from Java 8 to Java 11.

## Dependency updates

* Added `org.sonatype.ossindex.maven:ossindex-maven-plugin:3.1.0`
* Added `org.codehaus.mojo:versions-maven-plugin:2.7`
* Added `org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3`
* Updated `maven-assembly-plugin` from 3.2.0 to 3.3.0
* Updated `org.junit.jupiter:junit-jupiter-engine` from 5.4.2 to 5.6.2
* Updated `org.mockito:mockito-core` from 2.24.0 to 3.3.3
* Updated `org.junit.jupiter:junit-jupiter-params` from 5.4.2 to 5.6.2
* Updated `nl.jqno.equalsverifier:equalsverifier` from 3.1.4 to 3.4.1
* Updated `org.mockito:mockito-junit-jupiter` from 2.23.4 to 3.3.3
* Updated `org.junit.platform:junit-platform-runner` from 1.4.2 to 1.6.2
* Updated `org.apache.maven.plugins:maven-source-plugin` from 3.0.1 to 3.2.1
* Updated `org.itsallcode:openfasttrace-maven-plugin` from 0.0.2 to 0.1.0
* Removed `org.junit.jupiter:junit-jupiter-api`
* Removed `org.junit.platform:junit-platform-launcher`
191 changes: 166 additions & 25 deletions doc/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,18 @@ Needs: impl, utest

Tags: Select Statement Builder

### Building Arithmetic Expressions
### Using Literal Values
`dsn~literal-values~1`

Forwarded from requirements.

Covers:

#### Forwarded Requirements
* `req~literal-values~1`

* `dsn --> impl, utest: req~arithmetic-operators~1`
Needs: impl, utest

### Building Arithmetic Expressions

#### Constructing Arithmetic Operations From Operator Enumeration
`dsn~arithmetic-operation-from-enum~1`
Expand All @@ -60,17 +67,44 @@ The `ArithmeticExpression` class allows creating expression objects from an enum

Covers:

* `req~boolean-operators~1`
* `req~arithmetic-operators~1`

Needs: impl, utest

### Building Boolean Expressions

#### Forwarded Requirements
#### Boolean Operators
`dsn~boolean-operators~1`

Forwarded from requirements.

Covers:

* `req~boolean-operators~1`

Needs: impl, utest

#### Boolean Literals
`dsn~boolean-literals~1`

Forwarded from requirements.

Covers:

* `req~boolean-literals~1`

Needs: impl, utest

#### Comparison Operations
`dsn~comparison-operations~1`

Forwarded from requirements.

Covers:

* `req~comparison-operations~1`

* `dsn --> impl, utest: req~boolean-operators~1`
* `dsn --> impl, utest: req~boolean-literals~1`
* `dsn --> impl, utest: req~comparison-operations~1`
Needs: impl, utest

#### Constructing Boolean Comparison Operations From Operator Strings
`dsn~boolean-operation.comparison.constructing-from-strings~1`
Expand Down Expand Up @@ -100,46 +134,153 @@ Covers:

Needs: impl, utest


### Value Table
`dsn~value-table~1`

Forwarded from requirements.

Covers:

* `req~value-table~1`

Needs: impl, utest

### Building `SELECT` Statements
`dsn~select-statements~1`

Forwarded from requirements.

Covers:

#### Forwarded Requirements
* `req~select-statements~1`

* `dsn --> impl, utest: req~value-table~1`
Needs: impl, utest

### Building `CREATE` Statements
`dsn~create-statements~1`

Forwarded from requirements.

#### Forwarded Requirements
Covers:

* `dsn --> impl, utest: req~create-statements~1`
* `req~create-statements~1`

Needs: impl, utest

### Building `DROP` Statements
`dsn~drop-statements~1`

Forwarded from requirements.

#### Forwarded Requirements
Covers:

* `dsn --> impl, utest: req~drop-statements~1`
* `req~drop-statements~1`

Needs: impl, utest

### Building `INSERT` Statements

#### Forwarded Requirements
#### `INSERT` Statements
`dsn~insert-statements~1`

Forwarded from requirements.

Covers:

* `req~insert-statements~1`

* `dsn --> impl, utest: req~insert-statements~1`
* `dsn --> impl, utest: req~values-as-insert-source~1`
Needs: impl, utest

#### Values as `INSERT` Source
`dsn~values-as-insert-source~1`

Covers:

Forwarded from requirements.

* `req~values-as-insert-source~1`

Needs: impl, utest

### Building `MERGE` Statements
`dsn~merge-statements~1`

Forwarded from requirements.

Covers:

#### Forwarded Requirements
* `req~merge-statements~1`

* `dsn --> impl, utest: req~merge-statements~1`
Needs: impl, utest

### Rendering Statements

#### Forwarded Requirements
#### Configurable Case Rendering
`dsn~rendering.sql.configurable-case~1`

Forwarded from requirements.

Covers:

* `req~rendering.sql.configurable-case~1`

Needs: impl, utest

#### `SELECT` Statement Rendering
`dsn~rendering.sql.select~1`

Forwarded from requirements.

Covers:

* `req~rendering.sql.select~1`

Needs: impl, utest

#### `CREATE` Statement Rendering
`dsn~rendering.sql.create~1`

* `dsn --> impl, utest: req~rendering.sql.configurable-case~1`
* `dsn --> impl, utest: req~rendering.sql.select~1`
* `dsn --> impl, utest: req~rendering.sql.create~1`
* `dsn --> impl, utest: req~rendering.sql.drop~1`
* `dsn --> impl, utest: req~rendering.sql.insert~1`
Forwarded from requirements.

Covers:

* `req~rendering.sql.create~1`

Needs: impl, utest

#### `DROP` Statement Rendering
`dsn~rendering.sql.drop~1`

Forwarded from requirements.

Covers:

* `req~rendering.sql.drop~1`

Needs: impl, utest

#### `INSERT` Statement Rendering
`dsn~rendering.sql.insert~1`

Forwarded from requirements.

Covers:

* `req~rendering.sql.insert~1`

Needs: impl, utest

#### `MERGE` Statement Rendering
`dsn~rendering.sql.merge~1`

Forwarded from requirements.

Covers:

* `req~rendering.sql.merge~1`

Needs: impl, utest

#### Renderer add Double Quotes for Schema, Table and Column Identifiers
`dsn~rendering.add-double-quotes-for-schema-table-and-column-identifiers~1`
Expand Down
11 changes: 11 additions & 0 deletions doc/system_requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,17 @@ Covers:

Needs: dsn

#### `MERGE` Statement Rendering
`req~rendering.sql.merge~1`

ESB renders abstract `MERGE` statements into SQL data manipulation language strings.

Covers:

* [feat~sql-string-rendering~1](#sql-string-rendering)

Needs: dsn

### Exasol Dialect Specific Requirements

#### Integer - Interval Conversion
Expand Down
Loading

0 comments on commit c6a44c8

Please sign in to comment.