You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2015/05/29 13:44:38 UTC

svn commit: r1682429 - /maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-artifacts.apt.vm

Author: olamy
Date: Fri May 29 11:44:37 2015
New Revision: 1682429

URL: http://svn.apache.org/r1682429
Log:
Move plugin configuration outside executions

As described by Ron Wheeler at:
http://mail-archives.apache.org/mod_mbox/maven-users/201505.mbox/%3C554C33D1.3000502%40artifact-software.com%3E

Modified:
    maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-artifacts.apt.vm

Modified: maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-artifacts.apt.vm
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-artifacts.apt.vm?rev=1682429&r1=1682428&r2=1682429&view=diff
==============================================================================
--- maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-artifacts.apt.vm (original)
+++ maven/plugins/trunk/maven-dependency-plugin/src/site/apt/examples/copying-artifacts.apt.vm Fri May 29 11:44:37 2015
@@ -47,24 +47,24 @@ Copying specific artifacts
             <goals>
               <goal>copy</goal>
             </goals>
-            <configuration>
-              <artifactItems>
-                <artifactItem>
-                  <groupId>junit</groupId>
-                  <artifactId>junit</artifactId>
-                  <version>3.8.1</version>
-                  <type>jar</type>
-                  <overWrite>false</overWrite>
-                  <outputDirectory>\${project.build.directory}/alternateLocation</outputDirectory>
-                  <destFileName>optional-new-name.jar</destFileName>
-                </artifactItem>
-              </artifactItems>
-              <outputDirectory>\${project.build.directory}/wars</outputDirectory>
-              <overWriteReleases>false</overWriteReleases>
-              <overWriteSnapshots>true</overWriteSnapshots>
-            </configuration>
           </execution>
         </executions>
+        <configuration>
+          <artifactItems>
+            <artifactItem>
+              <groupId>junit</groupId>
+              <artifactId>junit</artifactId>
+              <version>3.8.1</version>
+              <type>jar</type>
+              <overWrite>false</overWrite>
+              <outputDirectory>\${project.build.directory}/alternateLocation</outputDirectory>
+              <destFileName>optional-new-name.jar</destFileName>
+            </artifactItem>
+          </artifactItems>
+          <outputDirectory>\${project.build.directory}/wars</outputDirectory>
+          <overWriteReleases>false</overWriteReleases>
+          <overWriteSnapshots>true</overWriteSnapshots>
+        </configuration>
       </plugin>
     </plugins>
   </build>