diff --git a/maven-core/pom.xml b/maven-core/pom.xml index 41e2079298..3e18639f15 100644 --- a/maven-core/pom.xml +++ b/maven-core/pom.xml @@ -124,73 +124,33 @@ + + org.codehaus.mojo + buildnumber-maven-plugin + + + create-noncanonicalrev + + create-timestamp + + + 'NON-CANONICAL_'yyyy-MM-dd_HH-mm_'${user.name}' + nonCanonicalRevision + + + + create-buildnumber + + create + + + false + false + ${nonCanonicalRevision} + + + + - - - - svn-buildnumber - - - .svn - - - - - - org.codehaus.mojo - buildnumber-maven-plugin - - - generate-resources - - create - - - - - false - false - - javasvn - - - - - - - - non-canonical-buildnumber - - - .svn - - - - - - org.codehaus.mojo - buildnumber-maven-plugin - - - generate-resources - - create - - - - - false - false - NON-CANONICAL_{0,date,yyyy-MM-dd_HH-mm}_{1} - - timestamp - ${user.name} - - - - - - - diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java b/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java index 8f1ae8e163..6173959a1f 100644 --- a/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java +++ b/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java @@ -83,7 +83,7 @@ public final class CLIReportingUtils if ( rev != null || timestamp != null ) { msg += " ("; - msg += ( rev != null ? "r" + rev : "" ); + msg += ( rev != null ? rev : "" ); if ( timestamp != null ) { SimpleDateFormat fmt = new SimpleDateFormat( "yyyy-MM-dd HH:mm:ssZ" ); diff --git a/pom.xml b/pom.xml index e32d6dc694..d6739391d2 100644 --- a/pom.xml +++ b/pom.xml @@ -398,7 +398,7 @@ org.codehaus.mojo buildnumber-maven-plugin - 1.0 + 1.2 org.apache.maven.plugins