Skip to content

Commit edf44f6

Browse files
committed
Give ability to run tests from maven (mvn test)
1 parent 451f0fa commit edf44f6

File tree

1 file changed

+23
-3
lines changed

1 file changed

+23
-3
lines changed

pom.xml

+23-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
<version>1.7.6-SNAPSHOT</version>
77
<packaging>jar</packaging>
88
<properties>
9-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
9+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
10+
<junit.jupiter.version>5.3.0</junit.jupiter.version>
1011
</properties>
1112
<name>Tarantool Connector for Java</name>
1213
<url>https://github.com/tarantool/tarantool-java</url>
@@ -23,7 +24,8 @@
2324
<url>https://github.com/tarantool/tarantool-java</url>
2425
<connection>scm:git:git://github.com/tarantool/tarantool-java.git</connection>
2526
<developerConnection>scm:git:git@github.com:tarantool/tarantool-java.git</developerConnection>
26-
</scm>
27+
</scm>
28+
2729
<developers>
2830
<developer>
2931
<name>Dmitry Grytsovets</name>
@@ -32,6 +34,7 @@
3234
<organizationUrl>http://tarantool.org/</organizationUrl>
3335
</developer>
3436
</developers>
37+
3538
<build>
3639
<plugins>
3740
<plugin>
@@ -43,8 +46,13 @@
4346
<target>1.6</target>
4447
</configuration>
4548
</plugin>
49+
<plugin>
50+
<artifactId>maven-surefire-plugin</artifactId>
51+
<version>2.22.0</version>
52+
</plugin>
4653
</plugins>
4754
</build>
55+
4856
<dependencies>
4957
<dependency>
5058
<groupId>junit</groupId>
@@ -55,7 +63,19 @@
5563
<dependency>
5664
<groupId>org.junit.jupiter</groupId>
5765
<artifactId>junit-jupiter-api</artifactId>
58-
<version>5.2.0</version>
66+
<version>${junit.jupiter.version}</version>
67+
<scope>test</scope>
68+
</dependency>
69+
<dependency>
70+
<groupId>org.junit.jupiter</groupId>
71+
<artifactId>junit-jupiter-engine</artifactId>
72+
<version>${junit.jupiter.version}</version>
73+
<scope>test</scope>
74+
</dependency>
75+
<dependency>
76+
<groupId>org.junit.vintage</groupId>
77+
<artifactId>junit-vintage-engine</artifactId>
78+
<version>${junit.jupiter.version}</version>
5979
<scope>test</scope>
6080
</dependency>
6181
<dependency>

0 commit comments

Comments
 (0)