[
https://issues.apache.org/jira/browse/MASSEMBLY-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17474532#comment-17474532
]
Arkadiusz Biczewski edited comment on MASSEMBLY-874 at 1/12/22, 1:42 PM:
-------------------------------------------------------------------------
Hello,
As not only dependencies are always re-downloaded, but they are always
re-downloaded from real central, regardless of whether it's overwritten in the
pom's <pluginRepositories> and <repositories> section, are there any chances,
to finally include [[MASSEMBLY-874] maven-assembly plugin always downloads
dependencies from net by turbanoff · Pull Request #16 ·
apache/maven-assembly-plugin
(github.com)|https://github.com/apache/maven-assembly-plugin/pull/16] in
mainline and next release?
Version 2.6 of assembly plugin starts to have issues with building more
recent/complex projects, so it is no longer a working work-around solution :(
was (Author: axi):
Hello,
As not only dependencies are always re-downloaded, but they are always
re-downloaded from real central, regardless of whether it's overwritten in the
pom's <pluginRepositories> and <repositories> section, are there any chances,
to finally include [[MASSEMBLY-874] maven-assembly plugin always downloads
dependencies from net by turbanoff · Pull Request #16 ·
apache/maven-assembly-plugin
(github.com)|https://github.com/apache/maven-assembly-plugin/pull/16] in
mainline and next release?
> 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,
> maven_assembly_repositories_after_and_before_change.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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.20.1#820001)