|
13 | 13 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14 | 14 | ~ See the License for the specific language governing permissions and
|
15 | 15 | ~ limitations under the License.
|
16 |
| - --><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 http://maven.apache.org/maven-v4_0_0.xsd"> |
17 |
| - |
| 16 | + --> |
| 17 | +<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 http://maven.apache.org/maven-v4_0_0.xsd"> |
18 | 18 | <modelVersion>4.0.0</modelVersion>
|
19 | 19 |
|
| 20 | + <parent> |
| 21 | + <groupId>org.springframework.boot</groupId> |
| 22 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 23 | + <version>2.7.18</version> |
| 24 | + <relativePath/> |
| 25 | + </parent> |
| 26 | + |
20 | 27 | <groupId>org.springframework.batch.extensions</groupId>
|
21 | 28 | <artifactId>spring-batch-geode</artifactId>
|
22 | 29 | <version>0.1.0-SNAPSHOT</version>
|
| 30 | + |
23 | 31 | <name>Spring Batch Geode</name>
|
24 | 32 | <description>Spring Batch extension for Apache Geode</description>
|
25 | 33 | <url>https://github.com/spring-projects/spring-batch-extensions/tree/main/spring-batch-geode</url>
|
26 |
| - |
| 34 | + <inceptionYear>2022</inceptionYear> |
27 | 35 | <licenses>
|
28 | 36 | <license>
|
29 | 37 | <name>Apache-2.0</name>
|
|
39 | 47 | </scm>
|
40 | 48 |
|
41 | 49 | <properties>
|
42 |
| - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
43 |
| - <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
44 |
| - <java.version>1.8</java.version> |
45 |
| - |
46 |
| - <!-- Production dependencies--> |
47 |
| - <spring.batch.version>4.3.7</spring.batch.version> |
48 |
| - <spring-data-geode.version>2.7.5</spring-data-geode.version> |
49 |
| - |
50 |
| - <!-- Test Dependencies --> |
51 |
| - <junit-jupiter.version>5.8.2</junit-jupiter.version> |
52 |
| - <mockito.version>4.8.0</mockito.version> |
53 |
| - |
54 |
| - <!-- Maven plugins --> |
55 |
| - <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> |
56 |
| - <maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version> |
57 |
| - <maven-source-plugin.version>3.2.1</maven-source-plugin.version> |
| 50 | + <!-- Plugin versions overriding --> |
| 51 | + <maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version> |
58 | 52 | </properties>
|
59 | 53 |
|
60 | 54 | <dependencies>
|
| 55 | + <!-- Compile --> |
61 | 56 | <dependency>
|
62 | 57 | <groupId>org.springframework.batch</groupId>
|
63 | 58 | <artifactId>spring-batch-core</artifactId>
|
64 |
| - <version>${spring.batch.version}</version> |
65 | 59 | </dependency>
|
66 | 60 | <dependency>
|
67 | 61 | <groupId>org.springframework.data</groupId>
|
68 | 62 | <artifactId>spring-data-geode</artifactId>
|
69 |
| - <version>${spring-data-geode.version}</version> |
70 | 63 | </dependency>
|
71 |
| - |
72 |
| - <!-- Test Dependencies --> |
| 64 | + <!-- Test --> |
73 | 65 | <dependency>
|
74 | 66 | <groupId>org.junit.jupiter</groupId>
|
75 | 67 | <artifactId>junit-jupiter</artifactId>
|
76 |
| - <version>${junit-jupiter.version}</version> |
77 |
| - <scope>test</scope> |
78 |
| - </dependency> |
79 |
| - <dependency> |
80 |
| - <groupId>org.mockito</groupId> |
81 |
| - <artifactId>mockito-core</artifactId> |
82 |
| - <version>${mockito.version}</version> |
83 | 68 | <scope>test</scope>
|
84 | 69 | </dependency>
|
85 | 70 | <dependency>
|
|
95 | 80 | <plugin>
|
96 | 81 | <groupId>org.apache.maven.plugins</groupId>
|
97 | 82 | <artifactId>maven-compiler-plugin</artifactId>
|
98 |
| - <version>${maven-compiler-plugin.version}</version> |
99 | 83 | <configuration>
|
100 |
| - <source>${java.version}</source> |
101 |
| - <target>${java.version}</target> |
102 | 84 | <compilerArgs>
|
103 | 85 | <arg>-Xlint:all,deprecation</arg>
|
104 | 86 | </compilerArgs>
|
|
120 | 102 | <plugin>
|
121 | 103 | <groupId>org.apache.maven.plugins</groupId>
|
122 | 104 | <artifactId>maven-source-plugin</artifactId>
|
123 |
| - <version>${maven-source-plugin.version}</version> |
124 | 105 | <executions>
|
125 | 106 | <execution>
|
126 | 107 | <id>attach-sources</id>
|
|
130 | 111 | </execution>
|
131 | 112 | </executions>
|
132 | 113 | </plugin>
|
| 114 | + <plugin> |
| 115 | + <groupId>org.codehaus.mojo</groupId> |
| 116 | + <artifactId>flatten-maven-plugin</artifactId> |
| 117 | + <version>1.6.0</version> |
| 118 | + <executions> |
| 119 | + <execution> |
| 120 | + <id>flatten</id> |
| 121 | + <phase>process-resources</phase> |
| 122 | + <goals> |
| 123 | + <goal>flatten</goal> |
| 124 | + </goals> |
| 125 | + <configuration> |
| 126 | + <flattenMode>ossrh</flattenMode> |
| 127 | + <pomElements> |
| 128 | + <developers>remove</developers> <!-- FIXME remove once the developers are defined --> |
| 129 | + <profiles>remove</profiles> |
| 130 | + </pomElements> |
| 131 | + </configuration> |
| 132 | + </execution> |
| 133 | + <execution> |
| 134 | + <id>flatten-clean</id> |
| 135 | + <phase>clean</phase> |
| 136 | + <goals> |
| 137 | + <goal>clean</goal> |
| 138 | + </goals> |
| 139 | + </execution> |
| 140 | + </executions> |
| 141 | + </plugin> |
133 | 142 | </plugins>
|
134 | 143 | </build>
|
135 |
| - |
136 | 144 | </project>
|
0 commit comments