public class UpdateMuleMavenPlugin extends Object implements PomContribution
| Constructor and Description |
|---|
UpdateMuleMavenPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(PomModel pomModel,
MigrationReport report) |
protected Set<String> |
getDeploymentParameters()
Retrieves set of parameter names that are part of deployment.
|
String |
getDescription() |
protected void |
moveChildWithName(String childName,
org.codehaus.plexus.util.xml.Xpp3Dom from,
org.codehaus.plexus.util.xml.Xpp3Dom to)
Move a child with name from the node to the node in case contains a child with such name.
|
protected void |
updateConfigurationWithNewDeploymentConfiguration(String deploymentConfigurationName,
org.codehaus.plexus.util.xml.Xpp3Dom configuration)
Updates the configuration with a new deployment configuration.
|
protected void |
updateDeploymentConfiguration(org.codehaus.plexus.util.xml.Xpp3Dom configuration)
Removes the copyToAppsDirectory property and updates the
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetApplicationModel, setApplicationModelpublic String getDescription()
getDescription in interface MigrationStep<PomModel>public void execute(PomModel pomModel, MigrationReport report) throws RuntimeException
execute in interface StepExecutable<PomModel>RuntimeExceptionprotected void updateDeploymentConfiguration(org.codehaus.plexus.util.xml.Xpp3Dom configuration)
configuration - protected void updateConfigurationWithNewDeploymentConfiguration(String deploymentConfigurationName, org.codehaus.plexus.util.xml.Xpp3Dom configuration)
deploymentConfigurationName - configuration - protected void moveChildWithName(String childName, org.codehaus.plexus.util.xml.Xpp3Dom from, org.codehaus.plexus.util.xml.Xpp3Dom to)
childName - the name of the child to movefrom - the node that possibly contains the childto - the node that is going to have the child appended to its child listCopyright © 2018 MuleSoft Inc. All rights reserved.