ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Jan.Mate...@rzf.fin-nrw.de>
Subject AW: svn commit: r693493 - /ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/m2/PomModuleDescriptorBuilder.java
Date Wed, 10 Sep 2008 04:46:37 GMT
URL: http://svn.apache.org/viewvc?rev=693493&view=rev
Log:
review packaging to ext mapping (related to IVY-899)

Modified:
 
ant/ivy/core/trunk/src/java/org/apache/ivy/plugins/parser/m2/PomModuleDe
scriptorBuilder.java

+    private static final Collection/*<String>*/ JAR_PACKAGINGS =
Arrays.asList(
+                new String[] {"ejb", "bundle", "maven-plugin"});
 
     
         if ("pom".equals(packaging)) {
             // no artifact defined!
             return;
-        } else if ("ejb".equals(packaging)) {
+        } else if (JAR_PACKAGINGS.contains(packaging)) {
             ext = "jar";
         } else {
             ext = packaging;
         }
 

Not sure what JAR_PACKAGINGS should be. But if it lists all possible
packagings, shouldnt "pom" be listed there too?

Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message