[ https://issues.apache.org/jira/browse/MASSEMBLY-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17016987#comment-17016987 ]
Andrey Turbanov commented on MASSEMBLY-874: ------------------------------------------- As I can in debugger see artifacts are downloaded there - https://github.com/apache/maven-assembly-plugin/blob/master/src/main/java/org/apache/maven/plugins/assembly/archive/task/AddDependencySetsTask.java#L158 Perhaps code should set more parameters in {{ProjectBuildingRequest}} > maven-assembly plugin always downloads dependencies from net > ------------------------------------------------------------ > > Key: MASSEMBLY-874 > URL: https://issues.apache.org/jira/browse/MASSEMBLY-874 > Project: Maven Assembly Plugin > Issue Type: Improvement > Affects Versions: 3.1.0 > Environment: Multi-Module build > Reporter: Roland Schäuble > Assignee: Enrico Olivelli > Priority: Major > Attachments: make.log > > > The maven-assembly-plugin always loads it own dependencies from the internet, > although the required dependencies are available in the local m2 repositiory. > The local repository is updated with the dependencies but during the next > build, the files are downloaded from the internet again instead of getting > them from the local repo. > In the attached log, near the end, the unnecessary downloads begin with > "Downloading from central: > [https://repo.maven.apache.org/maven2/com/lowagie/itext/2.1.7.js5/itext-2.1.7.js5.pom."|https://repo.maven.apache.org/maven2/com/lowagie/itext/2.1.7.js5/itext-2.1.7.js5.pom.] > The files are definitely available in my local repository under > ~/.m2/repository/com/... -- This message was sent by Atlassian Jira (v8.3.4#803005)