geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ammul...@apache.org
Subject svn commit: r431112 - /geronimo/trunk/m2-plugins/car-maven-plugin/src/main/java/org/apache/geronimo/plugin/car/PlanProcessorMojo.java
Date Sat, 12 Aug 2006 23:36:19 GMT
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(),



Mime
View raw message