Skip to content

Commit 4dcada9

Browse files
Daniel Barcielafmbenhassine
authored andcommitted
Add maven BOM for Spring Batch modules
Resolves #1097
1 parent 9315a3b commit 4dcada9

File tree

3 files changed

+106
-3
lines changed

3 files changed

+106
-3
lines changed

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<module>spring-batch-integration</module>
2020
<module>spring-batch-samples</module>
2121
<module>spring-batch-docs</module>
22+
<module>spring-batch-bom</module>
2223
</modules>
2324

2425
<organization>

spring-batch-bom/pom.xml

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<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">
3+
4+
<modelVersion>4.0.0</modelVersion>
5+
<groupId>org.springframework.batch</groupId>
6+
<artifactId>spring-batch-bom</artifactId>
7+
<version>5.0.0-SNAPSHOT</version>
8+
<packaging>pom</packaging>
9+
10+
<name>Spring Batch BOM</name>
11+
<description>Bill of materials to make sure a consistent set of versions is used for
12+
Spring Batch modules.
13+
</description>
14+
<url>https://github.com/spring-projects/spring-batch</url>
15+
16+
<organization>
17+
<name>Pivotal Software, Inc.</name>
18+
<url>https://www.spring.io</url>
19+
</organization>
20+
21+
<scm>
22+
<url>https://github.com/spring-projects/spring-batch</url>
23+
<connection>scm:git:git://github.com/spring-projects/spring-batch.git</connection>
24+
<developerConnection>scm:git:ssh://[email protected]:spring-projects/spring-batch.git</developerConnection>
25+
</scm>
26+
27+
<issueManagement>
28+
<system>GitHub</system>
29+
<url>https://github.com/spring-projects/spring-batch/issues</url>
30+
</issueManagement>
31+
32+
<licenses>
33+
<license>
34+
<name>Apache License, Version 2.0</name>
35+
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
36+
<comments>
37+
Copyright 2010 the original author or authors.
38+
39+
Licensed under the Apache License, Version 2.0 (the "License");
40+
you may not use this file except in compliance with the License.
41+
You may obtain a copy of the License at
42+
43+
https://www.apache.org/licenses/LICENSE-2.0
44+
45+
Unless required by applicable law or agreed to in writing, software
46+
distributed under the License is distributed on an "AS IS" BASIS,
47+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
48+
implied.
49+
See the License for the specific language governing permissions and
50+
limitations under the License.
51+
</comments>
52+
</license>
53+
</licenses>
54+
55+
56+
<dependencyManagement>
57+
<dependencies>
58+
59+
<dependency>
60+
<groupId>org.springframework.batch</groupId>
61+
<artifactId>spring-batch-core</artifactId>
62+
<version>5.0.0-SNAPSHOT</version>
63+
</dependency>
64+
65+
<dependency>
66+
<groupId>org.springframework.batch</groupId>
67+
<artifactId>spring-batch-infrastructure</artifactId>
68+
<version>5.0.0-SNAPSHOT</version>
69+
</dependency>
70+
71+
<dependency>
72+
<groupId>org.springframework.batch</groupId>
73+
<artifactId>spring-batch-integration</artifactId>
74+
<version>5.0.0-SNAPSHOT</version>
75+
</dependency>
76+
77+
<dependency>
78+
<groupId>org.springframework.batch</groupId>
79+
<artifactId>spring-batch-test</artifactId>
80+
<version>5.0.0-SNAPSHOT</version>
81+
</dependency>
82+
83+
</dependencies>
84+
</dependencyManagement>
85+
86+
<pluginRepositories>
87+
<pluginRepository>
88+
<id>spring-libs-release</id>
89+
<url>https://repo.spring.io/libs-release</url>
90+
</pluginRepository>
91+
</pluginRepositories>
92+
93+
</project>

spring-batch-samples/pom.xml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,26 @@
1515
<environment>hsql</environment>
1616
</properties>
1717

18+
<dependencyManagement>
19+
<dependencies>
20+
<dependency>
21+
<groupId>org.springframework.batch</groupId>
22+
<artifactId>spring-batch-bom</artifactId>
23+
<version>5.0.0-SNAPSHOT</version>
24+
<type>pom</type>
25+
<scope>import</scope>
26+
</dependency>
27+
</dependencies>
28+
</dependencyManagement>
29+
1830
<dependencies>
1931
<dependency>
2032
<groupId>org.springframework.batch</groupId>
2133
<artifactId>spring-batch-core</artifactId>
22-
<version>5.0.0-SNAPSHOT</version>
2334
</dependency>
2435
<dependency>
2536
<groupId>org.springframework.batch</groupId>
2637
<artifactId>spring-batch-integration</artifactId>
27-
<version>5.0.0-SNAPSHOT</version>
2838
</dependency>
2939
<dependency>
3040
<groupId>org.springframework</groupId>
@@ -146,7 +156,6 @@
146156
<dependency>
147157
<groupId>org.springframework.batch</groupId>
148158
<artifactId>spring-batch-test</artifactId>
149-
<version>5.0.0-SNAPSHOT</version>
150159
<scope>test</scope>
151160
</dependency>
152161
<dependency>

0 commit comments

Comments
 (0)