Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Only add "active-profiles" parameter, if one exists #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leohilbert
Copy link

@leohilbert leohilbert commented Jan 12, 2021

Hi, back in 2020 I created an enhancement-request to allow omitting a maven-profile in the deploy-command
@XDean then went ahead and implemented that, huge thanks for that by the way :)
However, my build-plan still crashes if the maven-profile is omitted, since the '--activate-profiles'-parameter is still present and is missing a value.

To fix this I added a condition that only adds that parameter, if the profile-parameter is not empty.
I am already using that fixed version in my project and it works for me 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant