org.apache.maven.shared.release.config
Class ReleaseUtils
java.lang.Object
org.apache.maven.shared.release.config.ReleaseUtils
public class ReleaseUtils
- extends Object
Class providing utility methods used during the release process
- Author:
- Jeremy Whitlock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
merge
public static ReleaseDescriptor merge(ReleaseDescriptor mergeInto,
ReleaseDescriptor toBeMerged)
- Merge two descriptors together. All SCM settings are overridden by the merge descriptor, as is the
workingDirectory
field. The completedPhase
field is used as
a default from the merge descriptor, but not overridden if it exists.
- Parameters:
mergeInto
- the descriptor to be merged intotoBeMerged
- the descriptor to merge into mergeInto
- Returns:
- ReleaseDescriptor the merged descriptor
copyPropertiesToReleaseDescriptor
public static ReleaseDescriptor copyPropertiesToReleaseDescriptor(Properties properties)
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.