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" >
42 <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+
511 <groupId >org.springframework.batch.extensions</groupId >
612 <artifactId >spring-batch-elasticsearch</artifactId >
713 <version >0.1.0-SNAPSHOT</version >
814
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+
931 <properties >
10- <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
1132 <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>
1635 </properties >
1736
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-
3237 <dependencies >
33-
38+ <!-- Compile -->
3439 <dependency >
3540 <groupId >org.springframework.batch</groupId >
3641 <artifactId >spring-batch-core</artifactId >
37- <version >${spring-batch.version} </version >
3842 </dependency >
39-
4043 <dependency >
4144 <groupId >org.springframework.data</groupId >
4245 <artifactId >spring-data-elasticsearch</artifactId >
43- <version >${spring-data-elasticsearch.version} </version >
4446 </dependency >
45-
47+ <!-- Test -->
4648 <dependency >
47- <groupId >org.mockito</groupId >
48- <artifactId >mockito-all</artifactId >
49- <version >${mockito.verion} </version >
49+ <groupId >junit</groupId >
50+ <artifactId >junit</artifactId >
5051 <scope >test</scope >
5152 </dependency >
52-
5353 <dependency >
54- <groupId >junit</groupId >
55- <artifactId >junit</artifactId >
56- <version >${junit.verion} </version >
54+ <groupId >org.mockito</groupId >
55+ <artifactId >mockito-core</artifactId >
5756 <scope >test</scope >
5857 </dependency >
59-
6058 </dependencies >
6159
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