Skip to content

Commit bb97379

Browse files
committed
improve version
1 parent 1071ff5 commit bb97379

10 files changed

Lines changed: 38 additions & 32 deletions

File tree

computer-algorithm/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<artifactId>hugegraph-computer</artifactId>
2323
<groupId>org.apache.hugegraph</groupId>
24-
<version>1.0.0</version>
24+
<version>${revision}</version>
2525
</parent>
2626
<modelVersion>4.0.0</modelVersion>
2727

@@ -31,7 +31,7 @@
3131
<dependency>
3232
<groupId>org.apache.hugegraph</groupId>
3333
<artifactId>computer-api</artifactId>
34-
<version>${version}</version>
34+
<version>${revision}</version>
3535
<scope>provided</scope>
3636
</dependency>
3737
<dependency>

computer-api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<artifactId>hugegraph-computer</artifactId>
2323
<groupId>org.apache.hugegraph</groupId>
24-
<version>1.0.0</version>
24+
<version>${revision}</version>
2525
</parent>
2626
<modelVersion>4.0.0</modelVersion>
2727

computer-core/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<artifactId>hugegraph-computer</artifactId>
2323
<groupId>org.apache.hugegraph</groupId>
24-
<version>1.0.0</version>
24+
<version>${revision}</version>
2525
</parent>
2626
<modelVersion>4.0.0</modelVersion>
2727

@@ -31,7 +31,7 @@
3131
<dependency>
3232
<groupId>org.apache.hugegraph</groupId>
3333
<artifactId>computer-api</artifactId>
34-
<version>${version}</version>
34+
<version>${revision}</version>
3535
<exclusions>
3636
<exclusion>
3737
<groupId>org.apache.hugegraph</groupId>

computer-dist/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<parent>
4141
<artifactId>hugegraph-computer</artifactId>
4242
<groupId>org.apache.hugegraph</groupId>
43-
<version>1.0.0</version>
43+
<version>${revision}</version>
4444
</parent>
4545
<modelVersion>4.0.0</modelVersion>
4646

@@ -56,7 +56,7 @@
5656
<dependency>
5757
<groupId>org.apache.hugegraph</groupId>
5858
<artifactId>computer-core</artifactId>
59-
<version>${version}</version>
59+
<version>${revision}</version>
6060
</dependency>
6161
</dependencies>
6262

@@ -117,9 +117,9 @@
117117
<tasks>
118118
<echo file="${top.level.dir}/dist.sh">
119119
mkdir -p ${top.level.dir}/${final.name}/algorithm/
120-
cp ${top.level.dir}/computer-algorithm/target/computer-algorithm-${project.version}.jar ${top.level.dir}/${final.name}/algorithm/builtin-algorithm.jar
120+
cp ${top.level.dir}/computer-algorithm/target/computer-algorithm-${revision}.jar ${top.level.dir}/${final.name}/algorithm/builtin-algorithm.jar
121121
mkdir -p ${top.level.dir}/${final.name}/k8s-operator/
122-
cp ${top.level.dir}/computer-k8s-operator/target/hugegraph-computer-operator-${project.version}.jar ${top.level.dir}/${final.name}/k8s-operator/hugegraph-computer-operator.jar
122+
cp ${top.level.dir}/computer-k8s-operator/target/hugegraph-computer-operator-${revision}.jar ${top.level.dir}/${final.name}/k8s-operator/hugegraph-computer-operator.jar
123123

124124
tar -zcvf \
125125
${top.level.dir}/${final.name}.tar.gz \

computer-driver/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<artifactId>hugegraph-computer</artifactId>
2323
<groupId>org.apache.hugegraph</groupId>
24-
<version>1.0.0</version>
24+
<version>${revision}</version>
2525
</parent>
2626

2727
<modelVersion>4.0.0</modelVersion>
@@ -32,7 +32,7 @@
3232
<dependency>
3333
<groupId>org.apache.hugegraph</groupId>
3434
<artifactId>computer-api</artifactId>
35-
<version>${version}</version>
35+
<version>${revision}</version>
3636
</dependency>
3737
</dependencies>
3838
</project>

computer-k8s-operator/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<artifactId>hugegraph-computer</artifactId>
2323
<groupId>org.apache.hugegraph</groupId>
24-
<version>1.0.0</version>
24+
<version>${revision}</version>
2525
</parent>
2626
<modelVersion>4.0.0</modelVersion>
2727

@@ -31,12 +31,12 @@
3131
<dependency>
3232
<groupId>org.apache.hugegraph</groupId>
3333
<artifactId>computer-k8s</artifactId>
34-
<version>${version}</version>
34+
<version>${revision}</version>
3535
</dependency>
3636
</dependencies>
3737

3838
<build>
39-
<finalName>hugegraph-computer-operator-${project.version}</finalName>
39+
<finalName>hugegraph-computer-operator-${revision}</finalName>
4040
<plugins>
4141
<plugin>
4242
<groupId>org.apache.maven.plugins</groupId>

computer-k8s/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<artifactId>hugegraph-computer</artifactId>
2323
<groupId>org.apache.hugegraph</groupId>
24-
<version>1.0.0</version>
24+
<version>${revision}</version>
2525
</parent>
2626
<modelVersion>4.0.0</modelVersion>
2727

@@ -42,7 +42,7 @@
4242
<dependency>
4343
<groupId>org.apache.hugegraph</groupId>
4444
<artifactId>computer-driver</artifactId>
45-
<version>${version}</version>
45+
<version>${revision}</version>
4646
</dependency>
4747
<dependency>
4848
<groupId>io.fabric8</groupId>

computer-test/pom.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<parent>
4141
<artifactId>hugegraph-computer</artifactId>
4242
<groupId>org.apache.hugegraph</groupId>
43-
<version>1.0.0</version>
43+
<version>${revision}</version>
4444
</parent>
4545
<modelVersion>4.0.0</modelVersion>
4646

@@ -52,7 +52,7 @@
5252
<dependency>
5353
<groupId>org.apache.hugegraph</groupId>
5454
<artifactId>computer-dist</artifactId>
55-
<version>${project.version}</version>
55+
<version>${revision}</version>
5656
</dependency>
5757
<dependency>
5858
<groupId>org.apache.hugegraph</groupId>
@@ -61,12 +61,12 @@
6161
<dependency>
6262
<groupId>org.apache.hugegraph</groupId>
6363
<artifactId>computer-api</artifactId>
64-
<version>${project.version}</version>
64+
<version>${revision}</version>
6565
</dependency>
6666
<dependency>
6767
<groupId>org.apache.hugegraph</groupId>
6868
<artifactId>computer-core</artifactId>
69-
<version>${project.version}</version>
69+
<version>${revision}</version>
7070
<exclusions>
7171
<exclusion>
7272
<artifactId>okhttp</artifactId>
@@ -77,27 +77,27 @@
7777
<dependency>
7878
<groupId>org.apache.hugegraph</groupId>
7979
<artifactId>computer-algorithm</artifactId>
80-
<version>${project.version}</version>
80+
<version>${revision}</version>
8181
</dependency>
8282
<dependency>
8383
<groupId>org.apache.hugegraph</groupId>
8484
<artifactId>computer-driver</artifactId>
85-
<version>${project.version}</version>
85+
<version>${revision}</version>
8686
</dependency>
8787
<dependency>
8888
<groupId>org.apache.hugegraph</groupId>
8989
<artifactId>computer-yarn</artifactId>
90-
<version>${project.version}</version>
90+
<version>${revision}</version>
9191
</dependency>
9292
<dependency>
9393
<groupId>org.apache.hugegraph</groupId>
9494
<artifactId>computer-k8s</artifactId>
95-
<version>${project.version}</version>
95+
<version>${revision}</version>
9696
</dependency>
9797
<dependency>
9898
<groupId>org.apache.hugegraph</groupId>
9999
<artifactId>computer-k8s-operator</artifactId>
100-
<version>${project.version}</version>
100+
<version>${revision}</version>
101101
</dependency>
102102
<dependency>
103103
<groupId>junit</groupId>

computer-yarn/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<artifactId>hugegraph-computer</artifactId>
2323
<groupId>org.apache.hugegraph</groupId>
24-
<version>1.0.0</version>
24+
<version>${revision}</version>
2525
</parent>
2626
<modelVersion>4.0.0</modelVersion>
2727

pom.xml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>org.apache.hugegraph</groupId>
77
<artifactId>hugegraph-computer</artifactId>
8-
<version>1.0.0</version>
8+
<version>${revision}</version>
99
<packaging>pom</packaging>
1010
<prerequisites>
1111
<maven>3.3.9</maven>
@@ -38,6 +38,7 @@
3838
</scm>
3939

4040
<properties>
41+
<revision>1.0.0</revision>
4142
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4243
<top.level.dir>${project.basedir}/..</top.level.dir>
4344
<release.name>hugegraph-computer</release.name>
@@ -47,7 +48,12 @@
4748
<shell-executable>bash</shell-executable>
4849
<etcd.version>0.5.4</etcd.version>
4950
<hadoop-version>3.1.2</hadoop-version>
51+
<netty-version>4.1.42.Final</netty-version>
5052
<commons-lang3-version>3.12.0</commons-lang3-version>
53+
<hugegraph-common-version>1.0.0</hugegraph-common-version>
54+
<hugegraph-client-version>1.0.0</hugegraph-client-version>
55+
<hugegraph-rpc-version>1.0.0</hugegraph-rpc-version>
56+
<hugegraph-loader-version>1.0.0</hugegraph-loader-version>
5157
</properties>
5258

5359
<modules>
@@ -67,12 +73,12 @@
6773
<dependency>
6874
<groupId>org.apache.hugegraph</groupId>
6975
<artifactId>hugegraph-common</artifactId>
70-
<version>1.0.0</version>
76+
<version>${hugegraph-common-version}</version>
7177
</dependency>
7278
<dependency>
7379
<groupId>org.apache.hugegraph</groupId>
7480
<artifactId>hugegraph-rpc</artifactId>
75-
<version>1.0.0</version>
81+
<version>${hugegraph-rpc-version}</version>
7682
<exclusions>
7783
<!-- conflict with etcd -->
7884
<exclusion>
@@ -88,12 +94,12 @@
8894
<dependency>
8995
<groupId>org.apache.hugegraph</groupId>
9096
<artifactId>hugegraph-client</artifactId>
91-
<version>1.0.0</version>
97+
<version>${hugegraph-client-version}</version>
9298
</dependency>
9399
<dependency>
94100
<groupId>io.netty</groupId>
95101
<artifactId>netty-all</artifactId>
96-
<version>4.1.42.Final</version>
102+
<version>${netty-version}</version>
97103
</dependency>
98104
<dependency>
99105
<groupId>io.etcd</groupId>
@@ -160,7 +166,7 @@
160166
<dependency>
161167
<groupId>org.apache.hugegraph</groupId>
162168
<artifactId>hugegraph-loader</artifactId>
163-
<version>1.0.0</version>
169+
<version>${hugegraph-loader-version}</version>
164170
<exclusions>
165171
<exclusion>
166172
<groupId>org.apache.hive</groupId>

0 commit comments

Comments
 (0)