Skip to content

Commit

Permalink
Combine junit jupiter versions into one definition; fix encoding in m…
Browse files Browse the repository at this point in the history
…aven
  • Loading branch information
martinvisser authored and GuusdeWit committed Oct 2, 2023
1 parent 3a2852b commit 7a03df0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
19 changes: 13 additions & 6 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,22 @@
</developers>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<awaitility.version>4.2.0</awaitility.version>
<bcprov-jdk15on.version>1.70</bcprov-jdk15on.version>
<build-helper-maven-plugin.version>3.3.0</build-helper-maven-plugin.version>
<javers-core.version>6.14.0</javers-core.version>
<junit-jupiter-engine.version>5.9.2</junit-jupiter-engine.version>
<junit-jupiter-params.version>5.9.2</junit-jupiter-params.version>
<junit-jupiter.version>5.9.2</junit-jupiter.version>
<logback-classic.version>1.4.6</logback-classic.version>
<maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version>
<maven-jar-plugin.version>3.3.0</maven-jar-plugin.version>
<maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version>
<maven-release-plugin.version>3.0.0</maven-release-plugin.version>
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
<maven-surefire-plugin.version>3.0.0</maven-surefire-plugin.version>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>
<mockito-core.version>5.2.0</mockito-core.version>
<nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
<reactor-core.version>3.5.4</reactor-core.version>
Expand Down Expand Up @@ -91,13 +92,13 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit-jupiter-engine.version}</version>
<version>${junit-jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<version>${junit-jupiter-params.version}</version>
<version>${junit-jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -131,6 +132,12 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<reportFormat>plain</reportFormat>
<consoleOutputReporter>
<disable>true</disable>
</consoleOutputReporter>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/io/github/rabobank/shadow_tool/ShadowFlow.java
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,10 @@ public ShadowFlowBuilder<T> withInstanceName(final String instanceName) {
return this;
}

/**
* Build a new ShadowFlow instance.
* @return New instance of ShadowFlow
*/
public ShadowFlow<T> build() {
return new ShadowFlow<>(percentage, executorService, encryptionService, instanceName);
}
Expand Down

0 comments on commit 7a03df0

Please sign in to comment.