diff options
author | Martin Stockhammer <martin_s@apache.org> | 2020-12-30 18:36:42 +0100 |
---|---|---|
committer | Martin Stockhammer <martin_s@apache.org> | 2020-12-30 18:36:42 +0100 |
commit | cbfd3f256f0efd67f56f2654ad105c42f1e27dcf (patch) | |
tree | 7604447dfadee9e05546bccdc83cd32f22d3e4d5 /archiva-modules/archiva-maven/archiva-maven-repository | |
parent | d6a63099a130ed39f9bbec65a821e139411fb31b (diff) | |
download | archiva-cbfd3f256f0efd67f56f2654ad105c42f1e27dcf.tar.gz archiva-cbfd3f256f0efd67f56f2654ad105c42f1e27dcf.zip |
Fixing jackson error for properties attribute
Diffstat (limited to 'archiva-modules/archiva-maven/archiva-maven-repository')
-rw-r--r-- | archiva-modules/archiva-maven/archiva-maven-repository/src/main/java/org/apache/archiva/repository/maven/metadata/storage/Maven2RepositoryStorage.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archiva-modules/archiva-maven/archiva-maven-repository/src/main/java/org/apache/archiva/repository/maven/metadata/storage/Maven2RepositoryStorage.java b/archiva-modules/archiva-maven/archiva-maven-repository/src/main/java/org/apache/archiva/repository/maven/metadata/storage/Maven2RepositoryStorage.java index 32dd9e460..7ebbe93cf 100644 --- a/archiva-modules/archiva-maven/archiva-maven-repository/src/main/java/org/apache/archiva/repository/maven/metadata/storage/Maven2RepositoryStorage.java +++ b/archiva-modules/archiva-maven/archiva-maven-repository/src/main/java/org/apache/archiva/repository/maven/metadata/storage/Maven2RepositoryStorage.java @@ -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()); |