Skip to content

Commit

Permalink
Replace use of project.version w/ dataflow.version
Browse files Browse the repository at this point in the history
  • Loading branch information
onobc committed Oct 4, 2023
1 parent 95ee6c7 commit 0ce5b02
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 50 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/milestone-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ jobs:
-DnewVersion='${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}-'${BUILD_ZOO_HANDLER_milestone_version} \
-B
echo BUILD_ZOO_HANDLER_spring_cloud_dataflow_version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) >> $GITHUB_ENV
jfrog rt mvn versions:set-property \
-gs .github/settings.xml \
-Pstagingmilestone \
-DgenerateBackupPoms=false \
-Dproperty=dataflow.version \
-DnewVersion=${BUILD_ZOO_HANDLER_spring_cloud_dataflow_version} \
-B
jfrog rt mvn versions:set-property \
-gs .github/settings.xml \
-Pstagingmilestone \
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/next-dev-version-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ jobs:
-DnewVersion='${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.nextIncrementalVersion}-SNAPSHOT' \
-B
echo BUILD_ZOO_HANDLER_spring_cloud_dataflow_version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) >> $GITHUB_ENV
jfrog rt mvn versions:set-property \
-DgenerateBackupPoms=false \
-Dproperty=dataflow.version \
-DnewVersion=${BUILD_ZOO_HANDLER_spring_cloud_dataflow_version} \
-B
jfrog rt mvn versions:set-property \
-DgenerateBackupPoms=false \
-Dproperty=spring-cloud-deployer.version \
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/release-worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ jobs:
-DnewVersion='${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}' \
-B
echo BUILD_ZOO_HANDLER_spring_cloud_dataflow_version=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout) >> $GITHUB_ENV
jfrog rt mvn versions:set-property \
-gs .github/settings.xml \
-Pstagingrelease \
-DgenerateBackupPoms=false \
-Dproperty=dataflow.version \
-DnewVersion=${BUILD_ZOO_HANDLER_spring_cloud_dataflow_version} \
-B
jfrog rt mvn versions:set-property \
-gs .github/settings.xml \
-Pstagingrelease \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
</properties>
<dependencyManagement>
<dependencies>

<dependency>
<groupId>net.minidev</groupId>
<artifactId>json-smart</artifactId>
Expand Down Expand Up @@ -81,7 +80,6 @@
<type>pom</type>
<scope>import</scope>
</dependency>

<dependency>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-client-bom</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
</developers>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- NOTE: this needs to be updated and kept in sync w/ the project.version -->
<dataflow.version>2.11.1-SNAPSHOT</dataflow.version>
</properties>
<profiles>
<profile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-common-flyway</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-common-test-docker</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-common-test-docker-junit5</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
Expand Down
48 changes: 24 additions & 24 deletions spring-cloud-dataflow-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,118 +19,118 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-shell</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-shell-core</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-completion</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-core-dsl</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-core</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-rest-client</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-configuration-metadata</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-rest-resource</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-registry</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-container-registry</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-composed-task-runner</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-server-core</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-server</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-autoconfigure</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-dataflow-server</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-dataflow-server</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
<type>test-jar</type>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-audit</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-platform-kubernetes</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-platform-cloudfoundry</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dataflow-test</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-common-security-config-core</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-common-security-config-web</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-common-security-config-web</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
Expand All @@ -139,7 +139,7 @@
<site>
<id>spring-docs</id>
<url>
scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-cloud/docs/${project.artifactId}/${project.version}
scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-cloud/docs/${project.artifactId}/${dataflow.version}
</url>
</site>
<repository>
Expand Down
17 changes: 4 additions & 13 deletions spring-cloud-dataflow-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,16 @@
<packaging>pom</packaging>
<url>https://cloud.spring.io/spring-cloud-dataflow/</url>
<properties>
<!-- NOTE: this needs to be updated and kept in sync w/ the project.version -->
<dataflow.version>2.11.1-SNAPSHOT</dataflow.version>
<java.version>1.8</java.version>
<javadoc.opts>-Xdoclint:none</javadoc.opts>
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
<spring-boot.version>2.7.16</spring-boot.version>
<spring.version>5.3.30</spring.version>
<spring-cloud-dataflow-ui.version>3.4.1-SNAPSHOT</spring-cloud-dataflow-ui.version>
<dataflow.version>${project.version}</dataflow.version>
<spring-cloud-dataflow-common.version>${project.version}</spring-cloud-dataflow-common.version>
<spring-cloud-skipper.version>${project.version}</spring-cloud-skipper.version>
<spring-cloud-dataflow-common.version>${dataflow.version}</spring-cloud-dataflow-common.version>
<spring-cloud-skipper.version>${dataflow.version}</spring-cloud-skipper.version>
<spring-cloud-deployer.version>2.9.1-SNAPSHOT</spring-cloud-deployer.version>
<spring-cloud-task.version>2.4.6</spring-cloud-task.version>
<spring-cloud-common-security-config.version>${dataflow.version}</spring-cloud-common-security-config.version>
Expand Down Expand Up @@ -212,16 +213,6 @@
<artifactId>spring-cloud-deployer-cloudfoundry</artifactId>
<version>${spring-cloud-deployer.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-common-security-config-web</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-common-security-config-web</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-deployer-kubernetes</artifactId>
Expand Down
16 changes: 8 additions & 8 deletions spring-cloud-skipper/spring-cloud-skipper-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,42 +19,42 @@
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-skipper</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-skipper-server-core</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-skipper-shell-commands</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-skipper-client</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-skipper-platform-kubernetes</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-skipper-platform-cloudfoundry</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-skipper-autoconfigure</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-skipper-server</artifactId>
<version>${project.version}</version>
<version>${dataflow.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
Expand Down

0 comments on commit 0ce5b02

Please sign in to comment.