Skip to content

Commit

Permalink
Avoid duplicate lifecycle in make deploy
Browse files Browse the repository at this point in the history
Run `mvn package` and `mvn deploy` separatedly, or the
maven-sources-plugin fails (since 3.3.0)
  • Loading branch information
groldan committed Dec 2, 2023
1 parent 25bbc38 commit e212016
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,10 @@ push-image:
docker push $(DOCKER_REPO):$${VERSION}

deploy:
./mvnw clean package deploy \
./mvnw clean package \
-pl :gs-acl-client-plugin -pl :gs-acl-api-client-spring6 -pl :gs-acl-testcontainer \
--also-make -ntp -T2 -fae -Dfmt.skip -U -DskipTests
./mvnw deploy \
-s $$MAVEN_SETTINGS \
-pl :gs-acl-client-plugin -pl :gs-acl-api-client-spring6 -pl :gs-acl-testcontainer \
--also-make -ntp -T2 -fae -Dfmt.skip -U -DskipTests

0 comments on commit e212016

Please sign in to comment.