diff options
author | Olivier Lamy <olamy@apache.org> | 2014-04-17 15:09:15 +1000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2014-04-17 15:09:15 +1000 |
commit | 2b0337985265ebda05acbc688aeb192b145561dd (patch) | |
tree | 6ed47c7beedee8df6f63f555cd6b6a5741600d51 /archiva-modules/plugins | |
parent | cc78ad2134dbf4de277acfc3455937683d50e5ca (diff) | |
download | archiva-2b0337985265ebda05acbc688aeb192b145561dd.tar.gz archiva-2b0337985265ebda05acbc688aeb192b145561dd.zip |
[MRM-1210] Dependency tree should include the artifact type
Diffstat (limited to 'archiva-modules/plugins')
-rw-r--r-- | archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/TreeDependencyNodeVisitor.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/TreeDependencyNodeVisitor.java b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/TreeDependencyNodeVisitor.java index bcff976b4..7dda3972d 100644 --- a/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/TreeDependencyNodeVisitor.java +++ b/archiva-modules/plugins/maven2-repository/src/main/java/org/apache/archiva/dependency/tree/maven2/TreeDependencyNodeVisitor.java @@ -52,6 +52,7 @@ public class TreeDependencyNodeVisitor { TreeEntry entry = new TreeEntry( getModelMapper().map( dependencyNode.getDependency().getArtifact(), Artifact.class ) ); + entry.getArtifact().setFileExtension( dependencyNode.getDependency().getArtifact().getExtension() ); entry.getArtifact().setScope( dependencyNode.getDependency().getScope() ); entry.setParent( currentEntry ); currentEntry = entry; |