You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by de...@apache.org on 2010/01/16 12:37:34 UTC

svn commit: r899921 - /maven/shared/trunk/maven-archiver/src/site/apt/examples/classpath.apt

Author: dennisl
Date: Sat Jan 16 11:37:34 2010
New Revision: 899921

URL: http://svn.apache.org/viewvc?rev=899921&view=rev
Log:
[MSHARED-133] Invalid example in maven-archiver documentation

o The example requires Maven JAR Plugin 2.3, so I added a version for the plugin in the documentation

Modified:
    maven/shared/trunk/maven-archiver/src/site/apt/examples/classpath.apt

Modified: maven/shared/trunk/maven-archiver/src/site/apt/examples/classpath.apt
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-archiver/src/site/apt/examples/classpath.apt?rev=899921&r1=899920&r2=899921&view=diff
==============================================================================
--- maven/shared/trunk/maven-archiver/src/site/apt/examples/classpath.apt (original)
+++ maven/shared/trunk/maven-archiver/src/site/apt/examples/classpath.apt Sat Jan 16 11:37:34 2010
@@ -224,20 +224,21 @@
   <build>
     <plugins>
       <plugin>
-         <artifactId>maven-jar-plugin</artifactId>
-         <configuration>
-           <archive>
-             <manifest>
-               <addClasspath>true</addClasspath>
-               <classpathPrefix>lib/</classpathPrefix>
-               <classpathLayoutType>repository</classpathLayoutType>
-               
-               <!-- NOTE: Deprecated in version 2.4. Use 'classpathLayoutType' instead.
-               <classpathMavenRepositoryLayout>true</classpathMavenRepositoryLayout>
-               -->
-             </manifest>
-           </archive>
-         </configuration>
+        <artifactId>maven-jar-plugin</artifactId>
+        <version>2.3</version>
+        <configuration>
+          <archive>
+            <manifest>
+              <addClasspath>true</addClasspath>
+              <classpathPrefix>lib/</classpathPrefix>
+              <classpathLayoutType>repository</classpathLayoutType>
+              
+              <!-- NOTE: Deprecated in version 2.4. Use 'classpathLayoutType' instead.
+              <classpathMavenRepositoryLayout>true</classpathMavenRepositoryLayout>
+              -->
+            </manifest>
+          </archive>
+        </configuration>
       </plugin>
     </plugins>
   </build>
@@ -258,7 +259,7 @@
 </project>
 +-----+
 
-  <<NOTE:>> In version 2.3, this feature was available by setting the <<<\<classpathMavenRepositoryLayout\>>>>
+  <<Note:>> In version 2.3, this feature was available by setting the <<<\<classpathMavenRepositoryLayout\>>>>
   element to the value <<<true>>>. This configuration option has been *deprecated* in version 2.4, 
   in favor of the more general <<<\<classpathLayoutType\>>>> element, where a value of <<<'repository'>>>
   will render the same behavior.