ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maart...@apache.org
Subject svn commit: r1374785 - in /ant/ivy/core/trunk: CHANGES.txt src/java/org/apache/ivy/plugins/parser/m2/PomModuleDescriptorBuilder.java
Date Sun, 19 Aug 2012 16:14:15 GMT
Author: maartenc
Date: Sun Aug 19 16:14:14 2012
New Revision: 1374785

URL: http://svn.apache.org/viewvc?rev=1374785&view=rev
Log:
FIX: Maven 'orbit' and 'pear' packaging is now supported (IVY-899)

Modified:
    ant/ivy/core/trunk/CHANGES.txt
    ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/m2/PomModuleDescriptorBuilder.java

Modified: ant/ivy/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/CHANGES.txt?rev=1374785&r1=1374784&r2=1374785&view=diff
==============================================================================
--- ant/ivy/core/trunk/CHANGES.txt (original)
+++ ant/ivy/core/trunk/CHANGES.txt Sun Aug 19 16:14:14 2012
@@ -130,6 +130,7 @@ for detailed view of each issue, please 
 	
    trunk
 =====================================
+- FIX: Maven 'orbit' and 'pear' packaging is now supported (IVY-899)
 - FIX: Memory leak and infinite loop in ModuleId.java (IVY-1362)
 - FIX: Unnecessary warning when parent ivy.xml is not found (IVY-1346)
 - FIX: StackOverflowError when using <extends> and ../ivy.xml is not the parent ivy.xml
(IVY-1437)

Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/m2/PomModuleDescriptorBuilder.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/m2/PomModuleDescriptorBuilder.java?rev=1374785&r1=1374784&r2=1374785&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/m2/PomModuleDescriptorBuilder.java
(original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/m2/PomModuleDescriptorBuilder.java
Sun Aug 19 16:14:14 2012
@@ -116,7 +116,7 @@ public class PomModuleDescriptorBuilder 
     private static final String EXTRA_INFO_DELIMITER = "__";
     private static final Collection/*<String>*/ JAR_PACKAGINGS = Arrays.asList(
                 new String[] {"ejb", "bundle", "maven-plugin", "eclipse-plugin",
-                        "jbi-component", "jbi-shared-library"});
+                        "jbi-component", "jbi-shared-library", "orbit"});
 
     
     static interface ConfMapper {
@@ -266,6 +266,8 @@ public class PomModuleDescriptorBuilder 
             return;
         } else if (JAR_PACKAGINGS.contains(packaging)) {
             ext = "jar";
+        } else if ("pear".equals(packaging)) {
+            ext = "phar";
         } else {
             ext = packaging;
         }



Mime
View raw message