Skip to content

Commit 19b4419

Browse files
bigbesTotktonada
authored andcommitted
Give ability to run tests from maven (mvn test)
1 parent d0b57fe commit 19b4419

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

pom.xml

+33-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
<version>1.8.jdbc-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>
@@ -24,6 +25,7 @@
2425
<connection>scm:git:git://github.com/tarantool/tarantool-java.git</connection>
2526
<developerConnection>scm:git:[email protected]:tarantool/tarantool-java.git</developerConnection>
2627
</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,15 +46,44 @@
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>
5159
<artifactId>junit</artifactId>
5260
<version>4.12</version>
5361
<scope>test</scope>
5462
</dependency>
63+
<dependency>
64+
<groupId>org.junit.jupiter</groupId>
65+
<artifactId>junit-jupiter-api</artifactId>
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>
79+
<scope>test</scope>
80+
</dependency>
81+
<dependency>
82+
<groupId>org.mockito</groupId>
83+
<artifactId>mockito-all</artifactId>
84+
<version>1.9.5</version>
85+
<scope>test</scope>
86+
</dependency>
5587
</dependencies>
5688

5789
<parent>

0 commit comments

Comments
 (0)