You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by am...@apache.org on 2006/08/13 01:36:19 UTC
svn commit: r431112 -
/geronimo/trunk/m2-plugins/car-maven-plugin/src/main/java/org/apache/geronimo/plugin/car/PlanProcessorMojo.java
Author: ammulder
Date: Sat Aug 12 16:36:19 2006
New Revision: 431112
URL: http://svn.apache.org/viewvc?rev=431112&view=rev
Log:
Don't include JARs in the output plan if they were scope=provided
Modified:
geronimo/trunk/m2-plugins/car-maven-plugin/src/main/java/org/apache/geronimo/plugin/car/PlanProcessorMojo.java
Modified: geronimo/trunk/m2-plugins/car-maven-plugin/src/main/java/org/apache/geronimo/plugin/car/PlanProcessorMojo.java
URL: http://svn.apache.org/viewvc/geronimo/trunk/m2-plugins/car-maven-plugin/src/main/java/org/apache/geronimo/plugin/car/PlanProcessorMojo.java?rev=431112&r1=431111&r2=431112&view=diff
==============================================================================
--- geronimo/trunk/m2-plugins/car-maven-plugin/src/main/java/org/apache/geronimo/plugin/car/PlanProcessorMojo.java (original)
+++ geronimo/trunk/m2-plugins/car-maven-plugin/src/main/java/org/apache/geronimo/plugin/car/PlanProcessorMojo.java Sat Aug 12 16:36:19 2006
@@ -245,7 +245,7 @@
String groupId = dependency.getGroupId();
//!"org.apache.geronimo.specs".equals(groupId) jacc spec needed in plan.xml
- if ("jar".equalsIgnoreCase(type) && !"junit".equals(groupId)) {
+ if ("jar".equalsIgnoreCase(type) && !"junit".equals(groupId) && (scope == null || !scope.equals("provided"))) {
if (dependency.getVersion() != null) {
artifact = new Artifact(
artifact.getGroupId(),