Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 63 additions & 60 deletions dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,20 @@
| [Apache Commons Compress][11] | [Apache License, Version 2.0][12] |
| [Test Database Builder for Java][13] | [MIT][4] |
| [SLF4J API Module][15] | [MIT License][16] |
| [JUnit5 System Extensions][17] | [Eclipse Public License v2.0][18] |

## Test Dependencies

| Dependency | License |
| ----------------------------------------------- | --------------------------------- |
| [JaCoCo :: Agent][5] | [Eclipse Public License 2.0][6] |
| [JUnit Jupiter Engine][19] | [Eclipse Public License v2.0][20] |
| [JUnit Jupiter Params][19] | [Eclipse Public License v2.0][20] |
| [mockito-core][23] | [The MIT License][24] |
| [mockito-junit-jupiter][23] | [The MIT License][24] |
| [Hamcrest All][27] | [New BSD License][28] |
| [Test containers for Exasol on Docker][29] | [MIT][4] |
| [Testcontainers :: JUnit Jupiter Extension][31] | [MIT][32] |
| [JUnit Jupiter Engine][21] | [Eclipse Public License v2.0][22] |
| [JUnit Jupiter Params][21] | [Eclipse Public License v2.0][22] |
| [mockito-core][25] | [The MIT License][26] |
| [mockito-junit-jupiter][25] | [The MIT License][26] |
| [Hamcrest All][29] | [New BSD License][30] |
| [Test containers for Exasol on Docker][31] | [MIT][4] |
| [Testcontainers :: JUnit Jupiter Extension][33] | [MIT][34] |

## Runtime Dependencies

Expand All @@ -37,71 +38,73 @@

| Dependency | License |
| ------------------------------------------------------- | ---------------------------------------------- |
| [Maven Surefire Plugin][36] | [Apache License, Version 2.0][12] |
| [Maven Failsafe Plugin][38] | [Apache License, Version 2.0][12] |
| [JaCoCo :: Maven Plugin][40] | [Eclipse Public License 2.0][6] |
| [Apache Maven Compiler Plugin][42] | [Apache License, Version 2.0][12] |
| [Maven Dependency Plugin][44] | [The Apache Software License, Version 2.0][45] |
| [Versions Maven Plugin][46] | [Apache License, Version 2.0][12] |
| [Apache Maven Source Plugin][48] | [Apache License, Version 2.0][12] |
| [Apache Maven Javadoc Plugin][50] | [Apache License, Version 2.0][12] |
| [Apache Maven GPG Plugin][52] | [Apache License, Version 2.0][45] |
| [org.sonatype.ossindex.maven:ossindex-maven-plugin][54] | [ASL2][45] |
| [Apache Maven Enforcer Plugin][56] | [Apache License, Version 2.0][12] |
| [Project keeper maven plugin][58] | [MIT][4] |
| [Maven Deploy Plugin][60] | [The Apache Software License, Version 2.0][45] |
| [Nexus Staging Maven Plugin][62] | [Eclipse Public License][63] |
| [error-code-crawler-maven-plugin][64] | [MIT][4] |
| [Reproducible Build Maven Plugin][66] | [Apache 2.0][45] |
| [Maven Clean Plugin][68] | [The Apache Software License, Version 2.0][45] |
| [Maven Resources Plugin][70] | [The Apache Software License, Version 2.0][45] |
| [Maven JAR Plugin][72] | [The Apache Software License, Version 2.0][45] |
| [Maven Install Plugin][74] | [The Apache Software License, Version 2.0][45] |
| [Maven Site Plugin 3][76] | [The Apache Software License, Version 2.0][45] |
| [Maven Surefire Plugin][38] | [Apache License, Version 2.0][12] |
| [Maven Failsafe Plugin][40] | [Apache License, Version 2.0][12] |
| [JaCoCo :: Maven Plugin][42] | [Eclipse Public License 2.0][6] |
| [Apache Maven Compiler Plugin][44] | [Apache License, Version 2.0][12] |
| [Maven Dependency Plugin][46] | [The Apache Software License, Version 2.0][47] |
| [Versions Maven Plugin][48] | [Apache License, Version 2.0][12] |
| [Apache Maven Source Plugin][50] | [Apache License, Version 2.0][12] |
| [Apache Maven Javadoc Plugin][52] | [Apache License, Version 2.0][12] |
| [Apache Maven GPG Plugin][54] | [Apache License, Version 2.0][47] |
| [org.sonatype.ossindex.maven:ossindex-maven-plugin][56] | [ASL2][47] |
| [Apache Maven Enforcer Plugin][58] | [Apache License, Version 2.0][12] |
| [Project keeper maven plugin][60] | [MIT][4] |
| [Maven Deploy Plugin][62] | [The Apache Software License, Version 2.0][47] |
| [Nexus Staging Maven Plugin][64] | [Eclipse Public License][65] |
| [error-code-crawler-maven-plugin][66] | [MIT][4] |
| [Reproducible Build Maven Plugin][68] | [Apache 2.0][47] |
| [Maven Clean Plugin][70] | [The Apache Software License, Version 2.0][47] |
| [Maven Resources Plugin][72] | [The Apache Software License, Version 2.0][47] |
| [Maven JAR Plugin][74] | [The Apache Software License, Version 2.0][47] |
| [Maven Install Plugin][76] | [The Apache Software License, Version 2.0][47] |
| [Maven Site Plugin 3][78] | [The Apache Software License, Version 2.0][47] |

[5]: https://www.eclemma.org/jacoco/index.html
[58]: https://github.com/exasol/project-keeper-maven-plugin
[60]: https://github.com/exasol/project-keeper-maven-plugin
[7]: https://github.com/exasol/bucketfs-java
[3]: https://github.com/exasol/error-reporting-java
[45]: http://www.apache.org/licenses/LICENSE-2.0.txt
[36]: https://maven.apache.org/surefire/maven-surefire-plugin/
[62]: http://www.sonatype.com/public-parent/nexus-maven-plugins/nexus-staging/nexus-staging-maven-plugin/
[68]: http://maven.apache.org/plugins/maven-clean-plugin/
[18]: http://www.eclipse.org/legal/epl-v20.html
[47]: http://www.apache.org/licenses/LICENSE-2.0.txt
[38]: https://maven.apache.org/surefire/maven-surefire-plugin/
[64]: http://www.sonatype.com/public-parent/nexus-maven-plugins/nexus-staging/nexus-staging-maven-plugin/
[70]: http://maven.apache.org/plugins/maven-clean-plugin/
[4]: https://opensource.org/licenses/MIT
[23]: https://github.com/mockito/mockito
[38]: https://maven.apache.org/surefire/maven-failsafe-plugin/
[25]: https://github.com/mockito/mockito
[40]: https://maven.apache.org/surefire/maven-failsafe-plugin/
[13]: https://github.com/exasol/test-db-builder-java
[11]: https://commons.apache.org/proper/commons-compress/
[44]: http://maven.apache.org/plugins/maven-dependency-plugin/
[46]: http://www.mojohaus.org/versions-maven-plugin/
[42]: https://maven.apache.org/plugins/maven-compiler-plugin/
[32]: http://opensource.org/licenses/MIT
[52]: http://maven.apache.org/plugins/maven-gpg-plugin/
[46]: http://maven.apache.org/plugins/maven-dependency-plugin/
[48]: http://www.mojohaus.org/versions-maven-plugin/
[44]: https://maven.apache.org/plugins/maven-compiler-plugin/
[34]: http://opensource.org/licenses/MIT
[54]: http://maven.apache.org/plugins/maven-gpg-plugin/
[6]: https://www.eclipse.org/legal/epl-2.0/
[63]: http://www.eclipse.org/legal/epl-v10.html
[29]: https://github.com/exasol/exasol-testcontainers
[40]: https://www.jacoco.org/jacoco/trunk/doc/maven.html
[24]: https://github.com/mockito/mockito/blob/main/LICENSE
[66]: http://zlika.github.io/reproducible-build-maven-plugin
[72]: http://maven.apache.org/plugins/maven-jar-plugin/
[65]: http://www.eclipse.org/legal/epl-v10.html
[31]: https://github.com/exasol/exasol-testcontainers
[42]: https://www.jacoco.org/jacoco/trunk/doc/maven.html
[26]: https://github.com/mockito/mockito/blob/main/LICENSE
[68]: http://zlika.github.io/reproducible-build-maven-plugin
[74]: http://maven.apache.org/plugins/maven-jar-plugin/
[1]: https://projects.eclipse.org/license/epl-2.0
[16]: http://www.opensource.org/licenses/mit-license.php
[12]: https://www.apache.org/licenses/LICENSE-2.0.txt
[56]: https://maven.apache.org/enforcer/maven-enforcer-plugin/
[20]: https://www.eclipse.org/legal/epl-v20.html
[28]: http://www.opensource.org/licenses/bsd-license.php
[74]: http://maven.apache.org/plugins/maven-install-plugin/
[19]: https://junit.org/junit5/
[54]: https://sonatype.github.io/ossindex-maven/maven-plugin/
[27]: https://github.com/hamcrest/JavaHamcrest/
[31]: https://testcontainers.org
[58]: https://maven.apache.org/enforcer/maven-enforcer-plugin/
[22]: https://www.eclipse.org/legal/epl-v20.html
[30]: http://www.opensource.org/licenses/bsd-license.php
[76]: http://maven.apache.org/plugins/maven-install-plugin/
[21]: https://junit.org/junit5/
[56]: https://sonatype.github.io/ossindex-maven/maven-plugin/
[29]: https://github.com/hamcrest/JavaHamcrest/
[33]: https://testcontainers.org
[0]: https://github.com/eclipse-ee4j/jsonp
[48]: https://maven.apache.org/plugins/maven-source-plugin/
[17]: https://github.com/itsallcode/junit5-system-extensions
[50]: https://maven.apache.org/plugins/maven-source-plugin/
[2]: https://projects.eclipse.org/license/secondary-gpl-2.0-cp
[15]: http://www.slf4j.org
[60]: http://maven.apache.org/plugins/maven-deploy-plugin/
[76]: http://maven.apache.org/plugins/maven-site-plugin/
[70]: http://maven.apache.org/plugins/maven-resources-plugin/
[50]: https://maven.apache.org/plugins/maven-javadoc-plugin/
[64]: https://github.com/exasol/error-code-crawler-maven-plugin
[62]: http://maven.apache.org/plugins/maven-deploy-plugin/
[78]: http://maven.apache.org/plugins/maven-site-plugin/
[72]: http://maven.apache.org/plugins/maven-resources-plugin/
[52]: https://maven.apache.org/plugins/maven-javadoc-plugin/
[66]: https://github.com/exasol/error-code-crawler-maven-plugin
[9]: https://github.com/exasol/exasol-test-setup-abstraction-java
1 change: 1 addition & 0 deletions doc/changes/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Changes

* [0.6.0](changes_0.6.0.md)
* [0.5.0](changes_0.5.0.md)
* [0.4.1](changes_0.4.1.md)
* [0.4.0](changes_0.4.0.md)
Expand Down
24 changes: 24 additions & 0 deletions doc/changes/changes_0.6.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# udf-debugging-java 0.6.0, released 2022-02-21

Code name: Single line info message

## Features

* #13: Made info message single line

## Dependency Updates

### Compile Dependency Updates

* Updated `com.exasol:bucketfs-java:2.2.0` to `2.3.0`
* Updated `com.exasol:exasol-test-setup-abstraction-java:0.2.1` to `0.2.2`
* Updated `com.exasol:test-db-builder-java:3.2.1` to `3.2.2`
* Added `org.itsallcode:junit5-system-extensions:1.2.0`
* Updated `org.slf4j:slf4j-api:1.7.32` to `1.7.36`

### Test Dependency Updates

* Updated `com.exasol:exasol-testcontainers:5.1.1` to `6.0.0`
* Updated `org.mockito:mockito-core:4.2.0` to `4.3.1`
* Updated `org.mockito:mockito-junit-jupiter:4.2.0` to `4.3.1`
* Updated `org.testcontainers:junit-jupiter:1.16.2` to `1.16.3`
23 changes: 14 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.exasol</groupId>
<artifactId>udf-debugging-java</artifactId>
<version>0.5.0</version>
<version>0.6.0</version>
<name>udf-debugging-java</name>
<description>Utilities for debugging, profiling and code coverage measure for UDFs.</description>
<url>https://github.com/exasol/udf-debugging-java</url>
Expand All @@ -17,7 +17,7 @@
<vscommon.version>11.0.0</vscommon.version>
<gpg.skip>true</gpg.skip>
<jacoco.version>0.8.7</jacoco.version>
<org.testcontainers.version>1.16.2</org.testcontainers.version>
<org.testcontainers.version>1.16.3</org.testcontainers.version>
<surefire.and.failsafe.plugin.version>3.0.0-M4</surefire.and.failsafe.plugin.version>
</properties>
<licenses>
Expand Down Expand Up @@ -82,12 +82,12 @@
<dependency>
<groupId>com.exasol</groupId>
<artifactId>bucketfs-java</artifactId>
<version>2.2.0</version>
<version>2.3.0</version>
</dependency>
<dependency>
<groupId>com.exasol</groupId>
<artifactId>exasol-test-setup-abstraction-java</artifactId>
<version>0.2.1</version>
<version>0.2.2</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
Expand All @@ -110,13 +110,13 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>4.2.0</version>
<version>4.3.1</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>4.2.0</version>
<version>4.3.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -129,7 +129,7 @@
<dependency>
<groupId>com.exasol</groupId>
<artifactId>exasol-testcontainers</artifactId>
<version>5.1.1</version>
<version>6.0.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -141,14 +141,19 @@
<dependency>
<groupId>com.exasol</groupId>
<artifactId>test-db-builder-java</artifactId>
<version>3.2.1</version>
<version>3.2.2</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>1.7.32</version>
<version>1.7.36</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.itsallcode</groupId>
<artifactId>junit5-system-extensions</artifactId>
<version>1.2.0</version>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
11 changes: 3 additions & 8 deletions src/main/java/com/exasol/udfdebugging/UdfTestSetup.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,9 @@ private void printInfoMessage() {
}

private String getInfoMessage() {
final StringBuilder messageBuilder = new StringBuilder("Udf Test Setup Configuration:\n");
AVAILABLE_MODULES.forEach(module -> {
messageBuilder.append(module.getModulePropertyName());
messageBuilder.append(":\t");
messageBuilder.append(module.isEnabled() ? "enabled" : "disabled");
messageBuilder.append("\n");
});
return messageBuilder.toString();
return AVAILABLE_MODULES.stream()
.map(module -> module.getModulePropertyName() + ": " + (module.isEnabled() ? "✓" : "✗"))
.collect(Collectors.joining("; ")) + "\n";
}

@Override
Expand Down
4 changes: 3 additions & 1 deletion src/test/java/com/exasol/udfdebugging/UdfTestSetupTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import java.util.Arrays;
import java.util.List;

import org.itsallcode.junit.sysextensions.SystemOutGuard;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;
Expand All @@ -18,6 +19,7 @@
import com.exasol.bucketfs.Bucket;

@ExtendWith(MockitoExtension.class)
@ExtendWith(SystemOutGuard.class)
class UdfTestSetupTest {
public static final String COVERAGE_PROPERTY = "test.coverage";
public static final String DEBUG_PROPERTY = "test.debug";
Expand All @@ -27,7 +29,7 @@ class UdfTestSetupTest {
private Connection connection;

@BeforeEach
void before() throws SQLException {
void before() {
System.clearProperty(DEBUG_PROPERTY);
System.clearProperty(COVERAGE_PROPERTY);
System.clearProperty(UDF_LOGS_PROPERTY);
Expand Down