o removing debug and adding a note

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171368 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2005-05-22 20:26:32 +00:00
parent e52be1da9a
commit 934763d0ad
3 changed files with 4 additions and 7 deletions

View File

@ -43,7 +43,7 @@
<dependency> <dependency>
<groupId>plexus</groupId> <groupId>plexus</groupId>
<artifactId>plexus-input-handler</artifactId> <artifactId>plexus-input-handler</artifactId>
<version>1.0-alpha-1-SNAPSHOT</version> <version>1.0-alpha-2-SNAPSHOT</version>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -337,7 +337,8 @@ public class PrepareReleaseMojo
throws MojoExecutionException throws MojoExecutionException
{ {
// TODO: we will need to incorporate versioning strategies here because it is unlikely // TODO: we will need to incorporate versioning strategies here because it is unlikely
// that everyone will be able to agree on a standard. // that everyone will be able to agree on a standard. This is extremely limited right
// now and really only works for the way maven is versioned.
// releaseVersion = 1.0-beta-4 // releaseVersion = 1.0-beta-4
// snapshotVersion = 1.0-beta-5-SNAPSHOT // snapshotVersion = 1.0-beta-5-SNAPSHOT

View File

@ -64,14 +64,10 @@ public class VersionTransformer
if ( version != null ) if ( version != null )
{ {
System.out.println( ">> We have a version element and we are changing it to " + getUpdatedModel().getVersion() );
version.setText( getUpdatedModel().getVersion() ); version.setText( getUpdatedModel().getVersion() );
} }
else else
{ {
System.out.println( ">> We are adding a version element and we are setting it to " + getUpdatedModel().getVersion() );
project.addElement( "version" ).addText( getUpdatedModel().getVersion() ); project.addElement( "version" ).addText( getUpdatedModel().getVersion() );
} }
} }