1
- <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2
- xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" >
3
-
1
+ <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 https://maven.apache.org/xsd/maven-4.0.0.xsd" >
4
2
<modelVersion >4.0.0</modelVersion >
3
+
4
+ <parent >
5
+ <groupId >org.springframework.boot</groupId >
6
+ <artifactId >spring-boot-starter-parent</artifactId >
7
+ <version >1.5.22.RELEASE</version >
8
+ <relativePath />
9
+ </parent >
10
+
5
11
<groupId >org.springframework.batch.extensions</groupId >
6
12
<artifactId >spring-batch-elasticsearch</artifactId >
7
13
<version >0.1.0-SNAPSHOT</version >
8
14
15
+ <name >Spring Batch Elasticsearch</name >
16
+ <description >Spring Batch extension for Elasticsearch</description >
17
+ <url >https://github.com/spring-projects/spring-batch-extensions/tree/main/spring-batch-elasticsearch</url >
18
+ <inceptionYear >2014</inceptionYear >
19
+ <licenses >
20
+ <license >
21
+ <name >Apache-2.0</name >
22
+ <url >https://www.apache.org/licenses/LICENSE-2.0.txt</url >
23
+ <distribution >repo</distribution >
24
+ </license >
25
+ </licenses >
26
+
27
+ <scm >
28
+ <url >https://github.com/spring-projects/spring-batch-extensions/tree/main/spring-batch-elasticsearch</url >
29
+ </scm >
30
+
9
31
<properties >
10
- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
11
32
<java .version>1.8</java .version>
12
- <spring-batch .version>3.0.10.RELEASE</spring-batch .version>
13
- <spring-data-elasticsearch .version>1.0.1.RELEASE</spring-data-elasticsearch .version>
14
- <mockito .verion>1.9.5</mockito .verion>
15
- <junit .verion>4.13.1</junit .verion>
33
+ <!-- Dependency versions overriding -->
34
+ <junit .version>4.13.1</junit .version>
16
35
</properties >
17
36
18
- <build >
19
- <plugins >
20
- <plugin >
21
- <groupId >org.apache.maven.plugins</groupId >
22
- <artifactId >maven-compiler-plugin</artifactId >
23
- <version >2.5.1</version >
24
- <configuration >
25
- <source >${java.version} </source >
26
- <target >${java.version} </target >
27
- </configuration >
28
- </plugin >
29
- </plugins >
30
- </build >
31
-
32
37
<dependencies >
33
-
38
+ <!-- Compile -->
34
39
<dependency >
35
40
<groupId >org.springframework.batch</groupId >
36
41
<artifactId >spring-batch-core</artifactId >
37
- <version >${spring-batch.version} </version >
38
42
</dependency >
39
-
40
43
<dependency >
41
44
<groupId >org.springframework.data</groupId >
42
45
<artifactId >spring-data-elasticsearch</artifactId >
43
- <version >${spring-data-elasticsearch.version} </version >
44
46
</dependency >
45
-
47
+ <!-- Test -->
46
48
<dependency >
47
- <groupId >org.mockito</groupId >
48
- <artifactId >mockito-all</artifactId >
49
- <version >${mockito.verion} </version >
49
+ <groupId >junit</groupId >
50
+ <artifactId >junit</artifactId >
50
51
<scope >test</scope >
51
52
</dependency >
52
-
53
53
<dependency >
54
- <groupId >junit</groupId >
55
- <artifactId >junit</artifactId >
56
- <version >${junit.verion} </version >
54
+ <groupId >org.mockito</groupId >
55
+ <artifactId >mockito-core</artifactId >
57
56
<scope >test</scope >
58
57
</dependency >
59
-
60
58
</dependencies >
61
59
62
- </project >
60
+ <build >
61
+ <plugins >
62
+ <plugin >
63
+ <groupId >org.codehaus.mojo</groupId >
64
+ <artifactId >flatten-maven-plugin</artifactId >
65
+ <version >1.6.0</version >
66
+ <executions >
67
+ <execution >
68
+ <id >flatten</id >
69
+ <phase >process-resources</phase >
70
+ <goals >
71
+ <goal >flatten</goal >
72
+ </goals >
73
+ <configuration >
74
+ <flattenMode >ossrh</flattenMode >
75
+ <pomElements >
76
+ <developers >remove</developers > <!-- FIXME remove once the developers are defined -->
77
+ <profiles >remove</profiles >
78
+ </pomElements >
79
+ </configuration >
80
+ </execution >
81
+ <execution >
82
+ <id >flatten-clean</id >
83
+ <phase >clean</phase >
84
+ <goals >
85
+ <goal >clean</goal >
86
+ </goals >
87
+ </execution >
88
+ </executions >
89
+ </plugin >
90
+ </plugins >
91
+ </build >
92
+ </project >
0 commit comments