Skip to content

Commit fcfdd13

Browse files
authored
Merge pull request #103 from Altinity/fix_versioning_pomx
Removed -am -pl for setting versions in Dockerfile.
2 parents dece9d5 + 7959cf7 commit fcfdd13

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

ice-rest-catalog/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ARG VERSION
1818

1919
COPY . .
2020

21-
RUN ./mvnw -am -pl ice-rest-catalog versions:set -DnewVersion=${VERSION}
21+
RUN ./mvnw versions:set -DnewVersion=${VERSION}
2222
RUN ./mvnw -Pno-check -am -pl ice-rest-catalog clean package -Dmaven.test.skip=true
2323

2424
FROM gcr.io/distroless/java21-debian12:${BASE_IMAGE_TAG}

ice-rest-catalog/Dockerfile.debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ARG VERSION
1818

1919
COPY . .
2020

21-
RUN ./mvnw -am -pl ice-rest-catalog versions:set -DnewVersion=${VERSION}
21+
RUN ./mvnw versions:set -DnewVersion=${VERSION}
2222
RUN ./mvnw -Pno-check -am -pl ice-rest-catalog clean package -Dmaven.test.skip=true
2323

2424
FROM gcr.io/distroless/java21-debian12:${BASE_IMAGE_TAG}

ice-rest-catalog/Dockerfile.debug-with-ice

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ARG VERSION
1818

1919
COPY . .
2020

21-
RUN ./mvnw -am -pl ice-rest-catalog versions:set -DnewVersion=${VERSION}
21+
RUN ./mvnw versions:set -DnewVersion=${VERSION}
2222
RUN ./mvnw -Pno-check -am -pl ice-rest-catalog clean package -Dmaven.test.skip=true
2323

2424
FROM gcr.io/distroless/java21-debian12:${BASE_IMAGE_TAG}

ice/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ARG VERSION
1818

1919
COPY . .
2020

21-
RUN ./mvnw -am -pl ice versions:set -DnewVersion=${VERSION}
21+
RUN ./mvnw versions:set -DnewVersion=${VERSION}
2222
RUN ./mvnw -Pno-check -pl ice clean package -Dmaven.test.skip=true
2323

2424
FROM gcr.io/distroless/java21-debian12:${BASE_IMAGE_TAG}

ice/Dockerfile.debug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ARG VERSION
1818

1919
COPY . .
2020

21-
RUN ./mvnw -am -pl ice versions:set -DnewVersion=${VERSION}
21+
RUN ./mvnw versions:set -DnewVersion=${VERSION}
2222
RUN ./mvnw -Pno-check -pl ice clean package -Dmaven.test.skip=true
2323

2424
FROM gcr.io/distroless/java21-debian12:${BASE_IMAGE_TAG}

0 commit comments

Comments
 (0)