Skip to content

Commit 5a0932d

Browse files
committed
fix: maven build and tests
1 parent 46e4466 commit 5a0932d

1 file changed

Lines changed: 130 additions & 0 deletions

File tree

‎core-groovy/pom.xml‎

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
<?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"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<artifactId>core-groovy</artifactId>
7+
<version>1.0-SNAPSHOT</version>
8+
<packaging>jar</packaging>
9+
10+
<parent>
11+
<groupId>com.baeldung</groupId>
12+
<artifactId>parent-modules</artifactId>
13+
<version>1.0.0-SNAPSHOT</version>
14+
</parent>
15+
16+
<repositories>
17+
<repository>
18+
<id>central</id>
19+
<url>http://jcenter.bintray.com</url>
20+
</repository>
21+
</repositories>
22+
23+
<dependencies>
24+
<dependency>
25+
<groupId>org.codehaus.groovy</groupId>
26+
<artifactId>groovy</artifactId>
27+
<version>2.5.0-alpha-1</version>
28+
</dependency>
29+
<dependency>
30+
<groupId>org.codehaus.groovy</groupId>
31+
<artifactId>groovy-all</artifactId>
32+
<version>2.5.0-alpha-1</version>
33+
</dependency>
34+
<dependency>
35+
<groupId>org.codehaus.groovy</groupId>
36+
<artifactId>groovy-sql</artifactId>
37+
<version>2.5.0-alpha-1</version>
38+
</dependency>
39+
<dependency>
40+
<groupId>org.junit.jupiter</groupId>
41+
<artifactId>junit-jupiter-engine</artifactId>
42+
<version>${junit.jupiter.version}</version>
43+
<scope>test</scope>
44+
</dependency>
45+
<dependency>
46+
<groupId>org.junit.platform</groupId>
47+
<artifactId>junit-platform-runner</artifactId>
48+
<version>${junit.platform.version}</version>
49+
<scope>test</scope>
50+
</dependency>
51+
<dependency>
52+
<groupId>org.hsqldb</groupId>
53+
<artifactId>hsqldb</artifactId>
54+
<version>2.4.0</version>
55+
<scope>test</scope>
56+
</dependency>
57+
58+
<dependency>
59+
<groupId>org.spockframework</groupId>
60+
<artifactId>spock-core</artifactId>
61+
<version>1.1-groovy-2.4</version>
62+
<scope>test</scope>
63+
</dependency>
64+
</dependencies>
65+
66+
<build>
67+
<plugins>
68+
<plugin>
69+
<groupId>org.codehaus.gmavenplus</groupId>
70+
<artifactId>gmavenplus-plugin</artifactId>
71+
<version>1.6</version>
72+
<executions>
73+
<execution>
74+
<goals>
75+
<goal>addSources</goal>
76+
<goal>addTestSources</goal>
77+
<goal>compile</goal>
78+
<goal>compileTests</goal>
79+
</goals>
80+
</execution>
81+
</executions>
82+
</plugin>
83+
<plugin>
84+
<artifactId>maven-surefire-plugin</artifactId>
85+
<version>${maven-surefire-plugin.version}</version>
86+
</plugin>
87+
<plugin>
88+
<artifactId>maven-failsafe-plugin</artifactId>
89+
<version>2.19.1</version>
90+
<dependencies>
91+
<dependency>
92+
<groupId>org.junit.platform</groupId>
93+
<artifactId>junit-platform-surefire-provider</artifactId>
94+
<version>${junit.platform.version}</version>
95+
</dependency>
96+
</dependencies>
97+
<executions>
98+
<execution>
99+
<id>junit5</id>
100+
<goals>
101+
<goal>integration-test</goal>
102+
<goal>verify</goal>
103+
</goals>
104+
<configuration>
105+
<includes>
106+
<include>**/*Test5.java</include>
107+
</includes>
108+
</configuration>
109+
</execution>
110+
</executions>
111+
</plugin>
112+
</plugins>
113+
</build>
114+
115+
<properties>
116+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
117+
<kotlin-maven-plugin.version>1.1.2</kotlin-maven-plugin.version>
118+
<kotlin-test-junit.version>1.1.2</kotlin-test-junit.version>
119+
<kotlin-stdlib.version>1.1.2</kotlin-stdlib.version>
120+
<kotlin-reflect.version>1.1.2</kotlin-reflect.version>
121+
<kotlinx.version>0.15</kotlinx.version>
122+
<mockito-kotlin.version>1.5.0</mockito-kotlin.version>
123+
124+
<junit.jupiter.version>5.0.0</junit.jupiter.version>
125+
<junit.platform.version>1.0.0</junit.platform.version>
126+
<junit.vintage.version>4.12.0</junit.vintage.version>
127+
<junit4.version>4.12</junit4.version>
128+
</properties>
129+
130+
</project>

0 commit comments

Comments
 (0)