Skip to content

Commit

Permalink
modify pom.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
slow-groovin committed Aug 15, 2024
1 parent 1355fdf commit b439eba
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image-build-push-spring.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
echo MY_GH_SECRET_TOKEN:${{ secrets.MY_GH_SECRET_TOKEN }}
- name: Build with Maven
run: cd java && mvn -B package -P github
run: cd java && mvn -B package -P github -X

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down
25 changes: 24 additions & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,35 @@
<properties>
<java.version>21</java.version>
</properties>
<!-- <profiles>-->
<!-- <profile>-->
<!-- <id>github</id>-->
<!-- <repositories>-->
<!-- <repository>-->
<!-- <id>github</id>-->
<!-- <name>GitHub OWNER Apache Maven Packages</name>-->
<!-- <url>https://maven.pkg.github.com/slow-groovin/my-gh-action-learn</url>-->
<!-- </repository>-->
<!-- </repositories>-->
<!-- <distributionManagement>-->
<!-- <repository>-->
<!-- <id>github</id>-->
<!-- <name>GitHub OWNER Apache Maven Packages</name>-->
<!-- <url>https://maven.pkg.github.com/slow-groovin/my-gh-action-learn</url>-->
<!-- </repository>-->
<!-- </distributionManagement>-->
<!-- </profile>-->
<!-- </profiles>-->
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>

<dependency>
<groupId>com.github.action.test</groupId>
<artifactId>github-package-upload-config</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
Expand Down

0 comments on commit b439eba

Please sign in to comment.