Skip to content

Commit

Permalink
Merge pull request #971 from eclipse-tractusx/build/ci-friendly-maven
Browse files Browse the repository at this point in the history
build: make pom more CI friendly by using Maven revision property
  • Loading branch information
nicoprow authored Jul 18, 2024
2 parents bedcf07 + bfbc3ab commit c16826f
Show file tree
Hide file tree
Showing 18 changed files with 233 additions and 260 deletions.
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ target
#local database data
/db
#Helm dependencies
/charts/bpdm/Chart.lock
/charts/bpdm/charts/Chart.lock
/charts/bpdm/charts/bpdm-gate/Chart.lock
/charts/bpdm/charts/bpdm-pool/Chart.lock
/charts/bpdm/**/Chart.lock
/charts/bpdm/charts/**/*.tgz
#Developer application properties
application-developer.properties
application-developer.yml
*.drawio.svg.bkp
/docker/compose/**/.env
.flattened-pom.xml
#Mac
**/.DS_Store
223 changes: 111 additions & 112 deletions DEPENDENCIES

Large diffs are not rendered by default.

8 changes: 1 addition & 7 deletions bpdm-cleaning-service-dummy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<parent>
<groupId>org.eclipse.tractusx</groupId>
<artifactId>bpdm-parent</artifactId>
<version>6.1.0</version>
<version>${revision}</version>
</parent>

<dependencies>
Expand Down Expand Up @@ -143,12 +143,6 @@
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>
</dependencies>

<build>
Expand Down
8 changes: 1 addition & 7 deletions bpdm-common-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<parent>
<groupId>org.eclipse.tractusx</groupId>
<artifactId>bpdm-parent</artifactId>
<version>6.1.0</version>
<version>${revision}</version>
</parent>

<dependencies>
Expand Down Expand Up @@ -61,11 +61,6 @@
<artifactId>junit-jupiter</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>postgresql</artifactId>
Expand All @@ -79,7 +74,6 @@
<dependency>
<groupId>jakarta.persistence</groupId>
<artifactId>jakarta.persistence-api</artifactId>
<version>3.2.0</version>
</dependency>
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
Expand Down
2 changes: 1 addition & 1 deletion bpdm-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<parent>
<groupId>org.eclipse.tractusx</groupId>
<artifactId>bpdm-parent</artifactId>
<version>6.1.0</version>
<version>${revision}</version>
</parent>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion bpdm-gate-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<parent>
<artifactId>bpdm-parent</artifactId>
<groupId>org.eclipse.tractusx</groupId>
<version>6.1.0</version>
<version>${revision}</version>
</parent>

<properties>
Expand Down
6 changes: 5 additions & 1 deletion bpdm-gate/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<parent>
<groupId>org.eclipse.tractusx</groupId>
<artifactId>bpdm-parent</artifactId>
<version>6.1.0</version>
<version>${revision}</version>
</parent>

<dependencies>
Expand Down Expand Up @@ -106,6 +106,10 @@
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-database-postgresql</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion bpdm-orchestrator-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<parent>
<groupId>org.eclipse.tractusx</groupId>
<artifactId>bpdm-parent</artifactId>
<version>6.1.0</version>
<version>${revision}</version>
</parent>

<properties>
Expand Down
6 changes: 5 additions & 1 deletion bpdm-orchestrator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<parent>
<groupId>org.eclipse.tractusx</groupId>
<artifactId>bpdm-parent</artifactId>
<version>6.1.0</version>
<version>${revision}</version>
</parent>

<dependencies>
Expand Down Expand Up @@ -123,6 +123,10 @@
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-database-postgresql</artifactId>
</dependency>

<!-- Test -->
<dependency>
Expand Down
7 changes: 5 additions & 2 deletions bpdm-pool-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<parent>
<groupId>org.eclipse.tractusx</groupId>
<artifactId>bpdm-parent</artifactId>
<version>6.1.0</version>
<version>${revision}</version>
</parent>

<properties>
Expand All @@ -51,7 +51,10 @@
<groupId>com.fasterxml.jackson.module</groupId>
<artifactId>jackson-module-kotlin</artifactId>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
</dependency>
</dependencies>

<build>
Expand Down
11 changes: 5 additions & 6 deletions bpdm-pool/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<parent>
<groupId>org.eclipse.tractusx</groupId>
<artifactId>bpdm-parent</artifactId>
<version>6.1.0</version>
<version>${revision}</version>
</parent>

<dependencies>
Expand Down Expand Up @@ -106,6 +106,10 @@
<groupId>org.flywaydb</groupId>
<artifactId>flyway-core</artifactId>
</dependency>
<dependency>
<groupId>org.flywaydb</groupId>
<artifactId>flyway-database-postgresql</artifactId>
</dependency>
<dependency>
<groupId>io.github.microutils</groupId>
<artifactId>kotlin-logging-jvm</artifactId>
Expand Down Expand Up @@ -152,11 +156,6 @@
<artifactId>postgresql</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>1.11.0</version>
</dependency>
</dependencies>

<build>
Expand Down
6 changes: 6 additions & 0 deletions charts/bpdm/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog (https://keepachangelog.com/en/1.0.0/),

## [5.1.0] - tbd

### Changed

- Increase appversion to 6.1.1

## [5.1.0] - 2024-07-15

### Changed
Expand Down
12 changes: 6 additions & 6 deletions charts/bpdm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ apiVersion: v2
name: bpdm
type: application
description: A Helm chart for Kubernetes that deploys the BPDM applications
version: 5.1.0
appVersion: "6.1.0"
version: 5.1.1-SNAPSHOT
appVersion: "6.1.1-SNAPSHOT"
home: https://github.com/eclipse-tractusx/bpdm
sources:
- https://github.com/eclipse-tractusx/bpdm
Expand All @@ -33,19 +33,19 @@ maintainers:

dependencies:
- name: bpdm-gate
version: 6.1.0
version: 6.1.1-SNAPSHOT
alias: bpdm-gate
condition: bpdm-gate.enabled
- name: bpdm-pool
version: 7.1.0
version: 7.1.1-SNAPSHOT
alias: bpdm-pool
condition: bpdm-pool.enabled
- name: bpdm-cleaning-service-dummy
version: 3.1.0
version: 3.1.1-SNAPSHOT
alias: bpdm-cleaning-service-dummy
condition: bpdm-cleaning-service-dummy.enabled
- name: bpdm-orchestrator
version: 3.1.0
version: 3.1.1-SNAPSHOT
alias: bpdm-orchestrator
condition: bpdm-orchestrator.enabled
- name: bpdm-common
Expand Down
4 changes: 2 additions & 2 deletions charts/bpdm/charts/bpdm-cleaning-service-dummy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
apiVersion: v2
type: application
name: bpdm-cleaning-service-dummy
appVersion: "6.1.0"
version: 3.1.0
appVersion: "6.1.1-SNAPSHOT"
version: 3.1.1-SNAPSHOT
description: A Helm chart for deploying the BPDM cleaning service
home: https://eclipse-tractusx.github.io/docs/kits/Business%20Partner%20Kit/Adoption%20View
sources:
Expand Down
4 changes: 2 additions & 2 deletions charts/bpdm/charts/bpdm-gate/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
apiVersion: v2
type: application
name: bpdm-gate
appVersion: "6.1.0"
version: 6.1.0
appVersion: "6.1.1-SNAPSHOT"
version: 6.1.1-SNAPSHOT
description: A Helm chart for deploying the BPDM gate service
home: https://eclipse-tractusx.github.io/docs/kits/Business%20Partner%20Kit/Adoption%20View
sources:
Expand Down
4 changes: 2 additions & 2 deletions charts/bpdm/charts/bpdm-orchestrator/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
apiVersion: v2
type: application
name: bpdm-orchestrator
appVersion: "6.1.0"
version: 3.1.0
appVersion: "6.1.1-SNAPSHOT"
version: 3.1.1-SNAPSHOT
description: A Helm chart for deploying the BPDM Orchestrator service
home: https://eclipse-tractusx.github.io/docs/kits/Business%20Partner%20Kit/Adoption%20View
sources:
Expand Down
4 changes: 2 additions & 2 deletions charts/bpdm/charts/bpdm-pool/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
apiVersion: v2
type: application
name: bpdm-pool
appVersion: "6.1.0"
version: 7.1.0
appVersion: "6.1.1-SNAPSHOT"
version: 7.1.1-SNAPSHOT
description: A Helm chart for deploying the BPDM pool service
home: https://eclipse-tractusx.github.io/docs/kits/Business%20Partner%20Kit/Adoption%20View
sources:
Expand Down
Loading

0 comments on commit c16826f

Please sign in to comment.