You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by st...@apache.org on 2010/09/23 16:27:24 UTC

svn commit: r1000480 - in /maven/shared/trunk/maven-plugin-enforcer: pom.xml src/site/apt/index.apt.vm src/site/apt/usage.apt.vm

Author: stephenc
Date: Thu Sep 23 14:27:24 2010
New Revision: 1000480

URL: http://svn.apache.org/viewvc?rev=1000480&view=rev
Log:
velocity has issues with .'s in property names

Modified:
    maven/shared/trunk/maven-plugin-enforcer/pom.xml
    maven/shared/trunk/maven-plugin-enforcer/src/site/apt/index.apt.vm
    maven/shared/trunk/maven-plugin-enforcer/src/site/apt/usage.apt.vm

Modified: maven/shared/trunk/maven-plugin-enforcer/pom.xml
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-plugin-enforcer/pom.xml?rev=1000480&r1=1000479&r2=1000480&view=diff
==============================================================================
--- maven/shared/trunk/maven-plugin-enforcer/pom.xml (original)
+++ maven/shared/trunk/maven-plugin-enforcer/pom.xml Thu Sep 23 14:27:24 2010
@@ -23,7 +23,7 @@
   <artifactId>maven-plugin-enforcer</artifactId>
   <version>3.0-SNAPSHOT</version>
 
-  <name>Apache Maven ${target.maven.version} Plugin Enforcer</name>
+  <name>Apache Maven ${targetMavenVersion} Plugin Enforcer</name>
   <description>
     A build extension that allows to enforce specific versions for build plugins. The primary purpose is to easily
     test new plugin versions without actually changing the POMs.
@@ -40,14 +40,14 @@
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
     <project.build.outputEncoding>UTF-8</project.build.outputEncoding>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <target.maven.version>3.0-beta-3</target.maven.version>
+    <targetMavenVersion>3.0-beta-3</targetMavenVersion>
   </properties>
 
   <dependencies>
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-core</artifactId>
-      <version>${target.maven.version}</version>
+      <version>${targetMavenVersion}</version>
     </dependency>
     <dependency>
       <groupId>junit</groupId>

Modified: maven/shared/trunk/maven-plugin-enforcer/src/site/apt/index.apt.vm
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-plugin-enforcer/src/site/apt/index.apt.vm?rev=1000480&r1=1000479&r2=1000480&view=diff
==============================================================================
--- maven/shared/trunk/maven-plugin-enforcer/src/site/apt/index.apt.vm (original)
+++ maven/shared/trunk/maven-plugin-enforcer/src/site/apt/index.apt.vm Thu Sep 23 14:27:24 2010
@@ -26,20 +26,20 @@
  ~~ NOTE: For help with the syntax of this file, see:
  ~~ http://maven.apache.org/doxia/references/apt-format.html
 
-Maven ${target.maven.version} Plugin Enforcer
+Maven ${targetMavenVersion} Plugin Enforcer
 
   When testing new versions of Maven plugins, it can often be useful
   to have a means of forcing a specific maven plugin version be used
-  irrespective of what is defined in the pom.xml. Maven plugin 
-  developers may also want a CI server to test the new version of their 
+  irrespective of what is defined in the pom.xml. Maven plugin
+  developers may also want a CI server to test the new version of their
   plugin against third-party source code bases. If the third-party
   tree has locked down their plugin versions to non-SNAPSHOT versions
   and the CI server is building a -SNAPSHOT version of the plugin,
   it can be hard to automate testing the plugin -SNAPSHOTs.
 
-  The Maven ${target.maven.version} Plugin Enforcer provides a means
+  The Maven ${targetMavenVersion} Plugin Enforcer provides a means
   of forcing maven to use specific versions of plugins that you
-  specify from the command line overriding any specification in the 
+  specify from the command line overriding any specification in the
   pom.xml file.
 
 * Features

Modified: maven/shared/trunk/maven-plugin-enforcer/src/site/apt/usage.apt.vm
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-plugin-enforcer/src/site/apt/usage.apt.vm?rev=1000480&r1=1000479&r2=1000480&view=diff
==============================================================================
--- maven/shared/trunk/maven-plugin-enforcer/src/site/apt/usage.apt.vm (original)
+++ maven/shared/trunk/maven-plugin-enforcer/src/site/apt/usage.apt.vm Thu Sep 23 14:27:24 2010
@@ -28,31 +28,31 @@
 
 Usage
 
-  This page documents how to use the Maven ${target.maven.version} Plugin 
+  This page documents how to use the Maven ${targetMavenVersion} Plugin
   Enforcer.
 
 * Installation
 
-  To install the Maven ${target.maven.version} Plugin Enforcer, you copy
+  To install the Maven ${targetMavenVersion} Plugin Enforcer, you copy
   the <<<${project.artifactId}-${project.version}.jar>>> file into the
-  <<<lib>>> directory of your installation of Maven ${target.maven.version}.
+  <<<lib>>> directory of your installation of Maven ${targetMavenVersion}.
 
-  When the plugin is installed, Maven will print a message on each build after 
+  When the plugin is installed, Maven will print a message on each build after
   it has finished scanning for projects, e.g.
 
 +---+
 $ mvn package
 [INFO] Scanning for projects...
 [INFO] Plugin Enforcer: Nothing to do (i.e. -Dforce.plugins undefined)
-[INFO]       
-...                                                                  
+[INFO]
+...
 +---+
 
 * Uninstallation
 
-  To uninstall the Maven ${target.maven.version} Plugin Enforcer, you delete
+  To uninstall the Maven ${targetMavenVersion} Plugin Enforcer, you delete
   the <<<${project.artifactId}-${project.version}.jar>>> file from the
-  <<<lib>>> directory of your installation of Maven ${target.maven.version}.
+  <<<lib>>> directory of your installation of Maven ${targetMavenVersion}.
 
 * Forcing a specific plugin version
 
@@ -67,7 +67,7 @@ $ mvn -Dforce.plugins=org.codehaus.mojo:
 [INFO] Plugin Enforcer
 [INFO] ------------------------------------------------------------------------
 [INFO] Forcing org.codehaus.mojo:buildhelper-maven-plugin to 1.5
-[INFO] 
+[INFO]
 ...
 +---+
 
@@ -80,7 +80,7 @@ $ mvn -Dforce.plugins=maven-surefire-plu
 [INFO] Plugin Enforcer
 [INFO] ------------------------------------------------------------------------
 [INFO] Forcing org.apache.maven.plugins:maven-surefire-plugin to 2.6
-[INFO] 
+[INFO]
 ...
 +---+
 
@@ -94,16 +94,16 @@ $ mvn -Dforce.plugins=org.codehaus.mojo:
 [INFO] Plugin Enforcer
 [INFO] ------------------------------------------------------------------------
 [INFO] Forcing org.codehaus.mojo:buildhelper-maven-plugin to 1.5
-[INFO] 
+[INFO]
 [WARNING] No replacements Project: XXX
-[INFO] 
+[INFO]
 [INFO] Forcing org.apache.maven.plugins:maven-surefire-plugin to 2.6
-[INFO] 
+[INFO]
 [INFO] Project: XXX
 [INFO] Plugin Management: replacing version 2.4.3 with 2.6
 [INFO] Build Plugins: replacing version 2.6 with 2.6
-[INFO] 
-[INFO]                                                                         
+[INFO]
+[INFO]
 [INFO] ------------------------------------------------------------------------
 [INFO] Building XXX 1.0-SNAPSHOT
 [INFO] ------------------------------------------------------------------------