Skip to content

build: bump versions to latest #239

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Nov 6, 2021
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Use it with caution as these will be used by the app-generator to replace them w

This project uses [git-code-format-maven-plugin](https://github.com/Cosium/git-code-format-maven-plugin) for formatting the code per [google style guide](https://google.github.io/styleguide/javaguide.html)

> **`mvn git-code-format:format-code`**
`mvn git-code-format:format-code`

## Contribution guidelines

Expand Down
26 changes: 11 additions & 15 deletions acceptance-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>acceptance-test</artifactId>
<properties>
<io.cucumber-message.version>17.1.1</io.cucumber-message.version>
</properties>
<dependencies>
<dependency>
<groupId>org.dfm</groupId>
Expand All @@ -33,34 +36,27 @@
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>apiguardian-api</artifactId>
<groupId>org.apiguardian</groupId>
<groupId>io.cucumber</groupId>
<artifactId>messages</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-junit</artifactId>
<artifactId>messages</artifactId>
<version>${io.cucumber-message.version}</version>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-junit-platform-engine</artifactId>
<version>${cucumber.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>apiguardian-api</artifactId>
<groupId>org.apiguardian</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-spring</artifactId>
<version>${cucumber.version}</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>apiguardian-api</artifactId>
<groupId>org.apiguardian</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import org.assertj.core.api.Assertions.assertThat
import org.assertj.core.api.Assertions.assertThatThrownBy
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
import org.junit.platform.runner.JUnitPlatform
import org.junit.runner.RunWith
import org.mockito.Mock
import org.mockito.Mockito
import org.mockito.junit.jupiter.MockitoExtension
Expand All @@ -16,7 +14,6 @@ import packagename.domain.port.ObtainExample
import java.util.*

@ExtendWith(MockitoExtension::class)
@RunWith(JUnitPlatform::class)
class AcceptanceTest {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ import packagename.repository.entity.ExampleEntity
import packagename.rest.exception.ExampleExceptionResponse


@ExtendWith(SpringExtension::class)
@SpringBootTest(classes = [ExampleApplication::class], webEnvironment = RANDOM_PORT)
@CucumberContextConfiguration
@ActiveProfiles("test")
class ExampleStepDef(restTemplate: TestRestTemplate, exampleDao: ExampleDao) : En {

companion object {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
package packagename.cucumber

import io.cucumber.junit.Cucumber
import io.cucumber.junit.CucumberOptions
import org.junit.runner.RunWith
import io.cucumber.junit.platform.engine.Constants.*
import org.junit.platform.suite.api.*

@RunWith(Cucumber::class)
@CucumberOptions(features = ["classpath:features/example.feature"],
strict = true,
plugin = ["json:target/cucumber/example.json", "json:target/cucumber/example.xml"],
tags = "@Example",
glue = ["classpath:packagename.cucumber"])
@Suite
@IncludeEngines("cucumber")
@SelectClasspathResource("features/example.feature")
@ConfigurationParameters(
ConfigurationParameter(key = GLUE_PROPERTY_NAME, value = "packagename.cucumber"),
ConfigurationParameter(key = FILTER_TAGS_PROPERTY_NAME, value = "@Example"),
ConfigurationParameter(key = JUNIT_PLATFORM_NAMING_STRATEGY_PROPERTY_NAME, value = "long"),
ConfigurationParameter(key = PLUGIN_PUBLISH_QUIET_PROPERTY_NAME, value = "true"),
ConfigurationParameter(key = PLUGIN_PROPERTY_NAME, value = "json:target/cucumber/cucumber.json")
)
class RunCucumberExampleTest
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package packagename.cucumber

import io.cucumber.spring.CucumberContextConfiguration
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.test.context.ActiveProfiles
import packagename.boot.ExampleApplication

@SpringBootTest(classes = [ExampleApplication::class], webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
@CucumberContextConfiguration
@ActiveProfiles("test")
class SpringCucumberTestConfig
20 changes: 20 additions & 0 deletions jpa-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.annotations</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.liquibase</groupId>
Expand All @@ -27,6 +33,20 @@
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-envers</artifactId>
<exclusions>
<exclusion>
<groupId>org.springframework.roo</groupId>
<artifactId>org.springframework.roo.annotations</artifactId>
</exclusion>
<exclusion>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
<exclusion>
<groupId>org.javassist</groupId>
<artifactId>javassist</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>net.lbruun.springboot</groupId>
Expand Down
35 changes: 14 additions & 21 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@
<kotlin.version>1.5.31</kotlin.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<spring-boot.version>2.5.5</spring-boot.version>
<cucumber.version>6.11.0</cucumber.version>
<springdoc.version>1.5.11</springdoc.version>
<junit-jupiter.version>5.8.1</junit-jupiter.version>
<spring-boot.version>2.5.6</spring-boot.version>
<cucumber.version>7.0.0</cucumber.version>
<springdoc.version>1.5.12</springdoc.version>
<pre-liquibase.version>1.1.1</pre-liquibase.version>
<!-- plugins -->
<cukedoctor-maven-plugin.version>3.7.0</cukedoctor-maven-plugin.version>
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
<maven-enforcer-plugin>3.0.0-M3</maven-enforcer-plugin>
<maven-enforcer-plugin>3.0.0</maven-enforcer-plugin>
<arch-unit-maven-plugin.version>2.8.0</arch-unit-maven-plugin.version>
<jackson-module-kotlin.version>2.13.0</jackson-module-kotlin.version>
<jacoco-maven-plugin.version>0.8.7</jacoco-maven-plugin.version>
Expand Down Expand Up @@ -81,6 +82,13 @@
<version>${project.version}</version>
</dependency>
<!-- Frameworks & Libraries -->
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>${junit-jupiter.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
Expand Down Expand Up @@ -111,27 +119,12 @@
<!-- JUnit 5 dependencies -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-runner</artifactId>
<artifactId>junit-platform-suite</artifactId>
<scope>test</scope>
</dependency>
<!-- mockito dependencies -->
Expand Down