Author: rfscholte
Date: Thu Nov 21 20:22:14 2013
New Revision: 1544313

URL: http://svn.apache.org/r1544313
Log:
[MEAR-73] Property to disable transitive dependencies resolving 
Document configuration for excluding transitive dependencies

Modified:
    
maven/plugins/trunk/maven-ear-plugin/src/site/apt/examples/excluding-files-from-ear.apt.vm

Modified: 
maven/plugins/trunk/maven-ear-plugin/src/site/apt/examples/excluding-files-from-ear.apt.vm
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-ear-plugin/src/site/apt/examples/excluding-files-from-ear.apt.vm?rev=1544313&r1=1544312&r2=1544313&view=diff
==============================================================================
--- 
maven/plugins/trunk/maven-ear-plugin/src/site/apt/examples/excluding-files-from-ear.apt.vm
 (original)
+++ 
maven/plugins/trunk/maven-ear-plugin/src/site/apt/examples/excluding-files-from-ear.apt.vm
 Thu Nov 21 20:22:14 2013
@@ -187,3 +187,23 @@ Excluding Files From the EAR
   <<Note:>> You would also need to configure your application server to use
   <<<external-shared-libraries>>> as a shared library. How you do that is
   however out of scope for this example.
+
+* Transitive artifacts
+
+  For those who have good reason to exclude transitive dependencies, they can 
configure their <<<pom.xml>>> like this when using Maven3
+  
++---------------------
+  <dependency>
+    <groupId>GROUPID</groupId>
+    <artifactId>ARTIFACTID</artifactId>
+    <version>VERSION</version>
+    <exclusions>
+      <exclusion>
+        <groupId>*</groupId>
+        <artifactId>*</artifactId>
+      </exclusion>
+    </exclusions>
+  </dependency>
++---------------------
+
+  As you can see <<<exclusions>>> support wildcard expressions, so you can 
have fast and full control over all the dependencies you'd like to exclude.    
\ No newline at end of file


Reply via email to