Skip to content

Commit 11bb4f5

Browse files
committed
Update GitHub action file and pom.xml for Catalog Service
1 parent 95c1387 commit 11bb4f5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/catalog-service.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ jobs:
4141
- if: ${{ github.ref == 'refs/heads/main' }}
4242
name: Build and Publish Docker Image
4343
run: |
44-
./mvnw spring:boot:build-image -DskipTests
44+
./mvnw spring-boot:build-image -DskipTests
4545
docker push ${{ secrets.DOCKERHUB_USERNAME }}/bookstore-catalog-service

catalog-service/pom.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<description>Catalog Service</description>
1616
<properties>
1717
<java.version>21</java.version>
18+
<springdoc-openapi.version>2.5.0</springdoc-openapi.version>
1819
<spotless.version>2.43.0</spotless.version>
1920
<dockerImageName>kavinduperera/bookstore-${project.artifactId}</dockerImageName>
2021
</properties>
@@ -42,7 +43,7 @@
4243
<dependency>
4344
<groupId>org.springdoc</groupId>
4445
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
45-
<version>2.5.0</version>
46+
<version>${springdoc-openapi.version}</version>
4647
</dependency>
4748

4849
<dependency>

0 commit comments

Comments
 (0)