mirror of https://github.com/apache/archiva.git
Fixing jackson error for properties attribute
This commit is contained in:
parent
d6a63099a1
commit
cbfd3f256f
|
@ -355,7 +355,7 @@ public class Maven2RepositoryStorage
|
|||
metadata.setOrganization(convertOrganization(model.getOrganization()));
|
||||
metadata.setScm(convertScm(model.getScm()));
|
||||
metadata.setUrl(model.getUrl());
|
||||
metadata.setProperties(model.getProperties());
|
||||
metadata.setProperties( new HashMap<String, String>( (Map) model.getProperties( ) ) );
|
||||
|
||||
MavenProjectFacet facet = new MavenProjectFacet();
|
||||
facet.setGroupId(model.getGroupId() != null ? model.getGroupId() : model.getParent().getGroupId());
|
||||
|
|
|
@ -199,12 +199,6 @@ public class ProjectVersionMetadata
|
|||
this.properties = properties;
|
||||
}
|
||||
|
||||
@SuppressWarnings( { "unchecked", "rawtypes" } )
|
||||
public void setProperties( Properties properties )
|
||||
{
|
||||
setProperties( new HashMap<String, String>((Map) properties ) );
|
||||
}
|
||||
|
||||
public boolean isIncomplete()
|
||||
{
|
||||
return incomplete;
|
||||
|
|
Loading…
Reference in New Issue