Skip to content

Commit bfd6c4a

Browse files
authored
Set parent to 0.3.14, set dependency on scalecube-test-support, clean poms, cleanup duplicate test utility classes (#119)
1 parent 7967dc3 commit bfd6c4a

File tree

4 files changed

+9
-154
lines changed

4 files changed

+9
-154
lines changed

pom.xml

Lines changed: 9 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
35
<modelVersion>4.0.0</modelVersion>
46

57
<parent>
68
<groupId>io.scalecube</groupId>
79
<artifactId>scalecube-parent</artifactId>
8-
<version>0.3.12</version>
10+
<version>0.3.14</version>
911
</parent>
1012

1113
<artifactId>scalecube-security-parent</artifactId>
@@ -39,117 +41,26 @@
3941
</modules>
4042

4143
<properties>
42-
<vault-java-driver.version>5.1.0</vault-java-driver.version>
43-
<jackson.version>2.19.2</jackson.version>
44-
<slf4j.version>1.7.36</slf4j.version>
45-
<auth0.java-jwt.version>4.5.0</auth0.java-jwt.version>
46-
47-
<mockito-junit.version>5.20.0</mockito-junit.version>
48-
<mockito-inline.version>5.2.0</mockito-inline.version>
49-
<junit-jupiter.version>5.8.2</junit-jupiter.version>
50-
<hamcrest.version>1.3</hamcrest.version>
51-
<log4j.version>2.17.2</log4j.version>
52-
<testcontainers.version>1.21.3</testcontainers.version>
44+
<scalecube-test-support.version>0.1.0</scalecube-test-support.version>
5345

5446
<distributionManagement.url>https://maven.pkg.github.com/scalecube/scalecube-security
5547
</distributionManagement.url>
5648
<checkstyle.suppressions.location>checkstyle-suppressions.xml</checkstyle.suppressions.location>
5749
</properties>
5850

59-
<dependencyManagement>
60-
<dependencies>
61-
<!-- Vault -->
62-
<dependency>
63-
<groupId>com.bettercloud</groupId>
64-
<artifactId>vault-java-driver</artifactId>
65-
<version>${vault-java-driver.version}</version>
66-
</dependency>
67-
<!-- Slf4j -->
68-
<dependency>
69-
<groupId>org.slf4j</groupId>
70-
<artifactId>slf4j-api</artifactId>
71-
<version>${slf4j.version}</version>
72-
</dependency>
73-
<!-- Auth0/JWT -->
74-
<dependency>
75-
<groupId>com.auth0</groupId>
76-
<artifactId>java-jwt</artifactId>
77-
<version>${auth0.java-jwt.version}</version>
78-
</dependency>
79-
<!-- Jackson -->
80-
<dependency>
81-
<groupId>com.fasterxml.jackson</groupId>
82-
<artifactId>jackson-bom</artifactId>
83-
<version>${jackson.version}</version>
84-
<type>pom</type>
85-
<scope>import</scope>
86-
</dependency>
87-
<!-- Logging -->
88-
<dependency>
89-
<groupId>org.apache.logging.log4j</groupId>
90-
<artifactId>log4j-bom</artifactId>
91-
<version>${log4j.version}</version>
92-
<type>pom</type>
93-
<scope>import</scope>
94-
</dependency>
95-
<!-- Test -->
96-
<dependency>
97-
<groupId>org.testcontainers</groupId>
98-
<artifactId>testcontainers-bom</artifactId>
99-
<version>${testcontainers.version}</version>
100-
<type>pom</type>
101-
<scope>import</scope>
102-
</dependency>
103-
</dependencies>
104-
</dependencyManagement>
105-
10651
<dependencies>
107-
<!-- Test -->
108-
<dependency>
109-
<groupId>org.junit.jupiter</groupId>
110-
<artifactId>junit-jupiter-engine</artifactId>
111-
<version>${junit-jupiter.version}</version>
112-
<scope>test</scope>
113-
</dependency>
114-
<dependency>
115-
<groupId>org.junit.jupiter</groupId>
116-
<artifactId>junit-jupiter-params</artifactId>
117-
<version>${junit-jupiter.version}</version>
118-
<scope>test</scope>
119-
</dependency>
120-
<dependency>
121-
<groupId>org.mockito</groupId>
122-
<artifactId>mockito-junit-jupiter</artifactId>
123-
<version>${mockito-junit.version}</version>
124-
<scope>test</scope>
125-
</dependency>
52+
<!-- Tests -->
12653
<dependency>
127-
<groupId>org.mockito</groupId>
128-
<artifactId>mockito-inline</artifactId>
129-
<version>${mockito-inline.version}</version>
130-
<scope>test</scope>
131-
</dependency>
132-
<dependency>
133-
<groupId>org.hamcrest</groupId>
134-
<artifactId>hamcrest-all</artifactId>
135-
<version>${hamcrest.version}</version>
54+
<groupId>io.scalecube</groupId>
55+
<artifactId>scalecube-test-support</artifactId>
56+
<version>${scalecube-test-support.version}</version>
13657
<scope>test</scope>
13758
</dependency>
13859
<dependency>
13960
<groupId>org.testcontainers</groupId>
14061
<artifactId>vault</artifactId>
14162
<scope>test</scope>
14263
</dependency>
143-
<dependency>
144-
<groupId>org.apache.logging.log4j</groupId>
145-
<artifactId>log4j-slf4j-impl</artifactId>
146-
<scope>test</scope>
147-
</dependency>
148-
<dependency>
149-
<groupId>org.apache.logging.log4j</groupId>
150-
<artifactId>log4j-core</artifactId>
151-
<scope>test</scope>
152-
</dependency>
15364
</dependencies>
15465

15566
</project>

tests/src/test/java/io/scalecube/security/environment/LoggingExtension.java

Lines changed: 0 additions & 54 deletions
This file was deleted.

tests/src/test/resources/META-INF/services/org.junit.jupiter.api.extension.Extension

Lines changed: 0 additions & 1 deletion
This file was deleted.

tests/src/test/resources/junit-platform.properties

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)