o Adding some notes while I'm making a little interactive UI for updating

POMs.


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@112881 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
jvanzyl 2003-02-10 15:57:06 +00:00
parent b9c4056e1e
commit 2a7d688042
2 changed files with 23 additions and 6 deletions

18
release/NOTES.txt Normal file
View File

@ -0,0 +1,18 @@
o There are N snapshot dependencies, would you like to update them
to use timestamped version?
o Foreach snapshot dependency:
-> display current dependency information
-> show what the updated information would be
-> prompt user to allow update
o Would you like the update POM to be written out for the release?
---
o Add whatever hooks that would allow this in a UI environment. The
POM transformer can be used for anything really. When Jaxen beans
walks we can align inheritance. Console/GUI.
o backing up the old POM
o do we allow it to be flipped back to snapshots?

View File

@ -64,12 +64,11 @@ import org.dom4j.Node;
import java.io.File;
/**
* This is a simple POM manipulator that doesn't take into account any sort of
* POM inheritance. When the interpolation and inheritance is cleaned up in the
* Maven we will be able to serialize a POM directly with greater ease. But we
* may stick with this Jaxen solution anyway because it's so easy. Just turn the
* POM in memory into a Dom4j document and perform the same operation as we are
* here.
*
*
* @author <a href="mailto:jason@zenplex.com">Jason van Zyl</a>
*
* @version $Id: SnapshotResolver.java,v 1.3 2003/02/10 15:57:06 jvanzyl Exp $
*/
public class SnapshotResolver
extends AbstractPomTransformer