Skip to content

Commit 56fcdf1

Browse files
authored
Make operator-jet-job-snapshot match style of code-samples (#707)
It should inherit Maven properties to avoid duplication.
1 parent 04cdf63 commit 56fcdf1

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed

jet/operator-jet-job-snapshot/jet-pipelines/pom.xml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,26 @@
33
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
44
<modelVersion>4.0.0</modelVersion>
55

6-
<groupId>org.examples.jet.snapshot</groupId>
76
<artifactId>jet-pipelines</artifactId>
8-
<version>1.0-SNAPSHOT</version>
97

10-
<name>jet-pipelines</name>
8+
<parent>
9+
<artifactId>jet</artifactId>
10+
<groupId>com.hazelcast.samples.jet</groupId>
11+
<version>0.1-SNAPSHOT</version>
12+
<relativePath>../../pom.xml</relativePath>
13+
</parent>
1114

12-
<properties>
13-
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
14-
<maven.compiler.source>17</maven.compiler.source>
15-
<maven.compiler.target>17</maven.compiler.target>
16-
<hazelcast-version>5.4.0</hazelcast-version>
17-
<junit-jupiter-api-version>5.8.2</junit-jupiter-api-version>
18-
<maven-surefire-plugin-version>3.0.0-M7</maven-surefire-plugin-version>
19-
</properties>
15+
<name>jet-pipelines</name>
2016

2117
<dependencies>
2218
<dependency>
2319
<groupId>com.hazelcast</groupId>
2420
<artifactId>hazelcast</artifactId>
25-
<version>${hazelcast-version}</version>
26-
<scope>provided</scope>
21+
<version>${hazelcast.version}</version>
2722
</dependency>
2823
<dependency>
2924
<groupId>org.junit.jupiter</groupId>
3025
<artifactId>junit-jupiter-api</artifactId>
31-
<version>${junit-jupiter-api-version}</version>
3226
<scope>test</scope>
3327
</dependency>
3428
</dependencies>
@@ -38,7 +32,6 @@
3832
<plugin>
3933
<groupId>org.apache.maven.plugins</groupId>
4034
<artifactId>maven-surefire-plugin</artifactId>
41-
<version>${maven-surefire-plugin-version}</version>
4235
</plugin>
4336
</plugins>
4437
</build>

jet/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
<module>wordcount-compute-isolation</module>
6868
<module>cdc</module>
6969
<module>mongodb</module>
70+
<module>operator-jet-job-snapshot/jet-pipelines</module>
7071
</modules>
7172

7273
<properties>

0 commit comments

Comments
 (0)