You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by gs...@apache.org on 2008/02/19 21:38:34 UTC
svn commit: r629217 -
/ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultModuleDescriptor.java
Author: gscokart
Date: Tue Feb 19 12:38:33 2008
New Revision: 629217
URL: http://svn.apache.org/viewvc?rev=629217&view=rev
Log:
FIX: Incorrect ivy from maven pom generation when classifier are user (IVY-714) (thanks to Ruslan Shevchenko)
Modified:
ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultModuleDescriptor.java
Modified: ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultModuleDescriptor.java
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultModuleDescriptor.java?rev=629217&r1=629216&r2=629217&view=diff
==============================================================================
--- ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultModuleDescriptor.java (original)
+++ ant/ivy/core/trunk/src/java/org/apache/ivy/core/module/descriptor/DefaultModuleDescriptor.java Tue Feb 19 12:38:33 2008
@@ -166,6 +166,8 @@
nmd.licenses.addAll(Arrays.asList(md.getLicenses()));
nmd.homePage = md.getHomePage();
nmd.lastModified = md.getLastModified();
+ nmd.extraAttributesNamespaces = md.getExtraAttributesNamespaces();
+ nmd.extraInfo = md.getExtraInfo();
nmd.namespace = ns;
return nmd;
@@ -215,7 +217,7 @@
private Map/*<String,String>*/ extraAttributesNamespaces = new LinkedHashMap();
- private Map/*<String,String>*/ extraDescription = new HashMap();
+ private Map/*<String,String>*/ extraInfo = new HashMap();
public DefaultModuleDescriptor(ModuleRevisionId id, String status, Date pubDate) {
this(id, status, pubDate, false);
@@ -624,10 +626,10 @@
public void addExtraInfo(String infoKey, String value) {
- extraDescription.put(infoKey, value);
+ extraInfo.put(infoKey, value);
}
public Map getExtraInfo() {
- return extraDescription;
+ return extraInfo;
}
}