Author: ctubbsii
Date: Mon May 13 17:25:45 2013
New Revision: 1481979

URL: http://svn.apache.org/r1481979
Log:
ACCUMULO-935 don't dirty workspace with additional lib directory in examples

Modified:
    accumulo/branches/1.5/examples/   (props changed)
    accumulo/branches/1.5/examples/pom.xml

Propchange: accumulo/branches/1.5/examples/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Mon May 13 17:25:45 2013
@@ -2,5 +2,4 @@ target
 .settings
 .classpath
 .project
-lib
 accumulo-examples.iml

Modified: accumulo/branches/1.5/examples/pom.xml
URL: 
http://svn.apache.org/viewvc/accumulo/branches/1.5/examples/pom.xml?rev=1481979&r1=1481978&r2=1481979&view=diff
==============================================================================
--- accumulo/branches/1.5/examples/pom.xml (original)
+++ accumulo/branches/1.5/examples/pom.xml Mon May 13 17:25:45 2013
@@ -28,4 +28,29 @@
   <modules>
     <module>simple</module>
   </modules>
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>copy-dependencies</id>
+            <goals>
+              <goal>copy-dependencies</goal>
+            </goals>
+            <phase>prepare-package</phase>
+            <configuration>
+              <outputDirectory>../../lib</outputDirectory>
+              <!-- just grab the non-provided runtime dependencies -->
+              <stripVersion>true</stripVersion>
+              <includeScope>runtime</includeScope>
+              <excludeTransitive>true</excludeTransitive>
+              <excludeClassifiers>sources,test-sources</excludeClassifiers>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
 </project>


Reply via email to