From 0e552fbb22e7061ae472c069d7691d735820616a Mon Sep 17 00:00:00 2001 From: Wang Qing Date: Wed, 26 Sep 2018 18:08:46 +0800 Subject: [PATCH] [Java] Update maven version to 0.1-SNAPSHOT Update the version in maven from 0.1 to 0.1-SNAPSHOT, because SNAPSHOT is the conventional version name in dev process. Non-snapshot versions are only used for release. --- java/api/pom.xml | 5 +- java/cli/pom.xml | 7 +- java/pom.xml | 6 +- java/runtime/pom.xml | 9 ++- java/test/pom.xml | 162 +++++++++++++++++++----------------------- java/tutorial/pom.xml | 5 +- 6 files changed, 89 insertions(+), 105 deletions(-) diff --git a/java/api/pom.xml b/java/api/pom.xml index 84b20360a..04a3d053c 100644 --- a/java/api/pom.xml +++ b/java/api/pom.xml @@ -3,13 +3,12 @@ xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - org.ray.parent + org.ray ray-superpom - 1.0 + 0.1-SNAPSHOT 4.0.0 - org.ray ray-api ray api java api for ray diff --git a/java/cli/pom.xml b/java/cli/pom.xml index 1549a1fb5..36cd32875 100644 --- a/java/cli/pom.xml +++ b/java/cli/pom.xml @@ -4,14 +4,13 @@ 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"> - org.ray.parent + org.ray ray-superpom - 1.0 + 0.1-SNAPSHOT 4.0.0 - org.ray - ray-cli + ray-cli java cli java cli for ray diff --git a/java/pom.xml b/java/pom.xml index 28b745da6..be17781f6 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -5,9 +5,9 @@ 4.0.0 pom - org.ray.parent + org.ray ray-superpom - 1.0 + 0.1-SNAPSHOT api runtime @@ -19,7 +19,7 @@ 1.8 UTF-8 - 1.0 + 0.1-SNAPSHOT 1.7.25 diff --git a/java/runtime/pom.xml b/java/runtime/pom.xml index 6b0c69e7b..34a868d5b 100644 --- a/java/runtime/pom.xml +++ b/java/runtime/pom.xml @@ -3,14 +3,13 @@ xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - org.ray.parent + org.ray ray-superpom - 1.0 + 0.1-SNAPSHOT 4.0.0 - org.ray - ray-runtime + ray-runtime ray runtime ray runtime implementation @@ -74,4 +73,4 @@ test - \ No newline at end of file + diff --git a/java/test/pom.xml b/java/test/pom.xml index db7fcc140..0fde0541b 100644 --- a/java/test/pom.xml +++ b/java/test/pom.xml @@ -1,100 +1,88 @@ - - org.ray.parent - ray-superpom - 1.0 - - 4.0.0 - + xmlns="http://maven.apache.org/POM/4.0.0" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> + org.ray - ray-test + ray-superpom + 0.1-SNAPSHOT + + 4.0.0 - java test cases for ray - java test cases for ray - + ray-test + java test cases for ray + java test cases for ray - jar + jar - - - org.ray - ray-api - ${project.version} - + + + org.ray + ray-api + ${project.version} + - - org.ray - ray-runtime - ${project.version} - + + org.ray + ray-runtime + ${project.version} + - - junit - junit - + + junit + junit + - - - commons-collections - commons-collections - + + commons-collections + commons-collections + - - com.google.guava - guava - - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.21.0 - - - - ${basedir}/../ray.config.ini - - -ea - -Djava.library.path=${basedir}/../../build/src/plasma:${basedir}/../../build/src/local_scheduler - -noverify - -DlogOutput=console - - ${basedir}/src/main/java/ - ${project.build.directory}/classes/ - - - - - org.apache.maven.plugins - maven-dependency-plugin - - - copy-dependencies - package - - copy-dependencies - - - ${basedir}/lib - false - false - true - - - - - - - + + com.google.guava + guava + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.21.0 + + + ${basedir}/../ray.config.ini + + -ea + -Djava.library.path=${basedir}/../../build/src/plasma:${basedir}/../../build/src/local_scheduler + -noverify + -DlogOutput=console + + ${basedir}/src/main/java/ + ${project.build.directory}/classes/ + + + + org.apache.maven.plugins + maven-dependency-plugin + + + copy-dependencies + package + + copy-dependencies + + + ${basedir}/lib + false + false + true + + + + + + diff --git a/java/tutorial/pom.xml b/java/tutorial/pom.xml index 05f2f21a3..198f6f0a3 100644 --- a/java/tutorial/pom.xml +++ b/java/tutorial/pom.xml @@ -4,13 +4,12 @@ xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> - org.ray.parent + org.ray ray-superpom - 1.0 + 0.1-SNAPSHOT 4.0.0 - org.ray ray-tutorial java tutorial