[Enhancement Goal Proposal]: add-dep to specific profile #20
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
proposal
Idea proposal
question
Further information is requested
Milestone
What is the purpose of the new goal?
Today, the
add-dep
add or update dependencies into the default profile, which means, into theproject/dependencies
XML node.Many projects are using profiles for many purposes, but such profiles are allowed to manage their own dependencies.
With that, it's needed to enhance the
add-dep
to add or update dependencies into a specific profile.What is the expected behavior and output of the new goal?
Goal syntax:
New inputs:
This execution causes a side-effect into the target POM, then the backup process must keeping working.
Expected behavior and outcomes:
Scenario 01:
add-dep
goal is executed with a given dependency info plus the-Dprofile=profileA
propertyadd-dep
goal should add or update the given dependency into the dependencies XML node from the target profile;Scenario 02:
add-dep
goal is executed with a given dependency info plus the-Dprofile=profileA
onlyScenario 03:
add-dep
goal is executed with a given dependency info plus the-Dprofile=profileA
property, and-Dforce=true
propertyThe text was updated successfully, but these errors were encountered: