You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/05/05 21:37:00 UTC

[jira] [Commented] (MASSEMBLY-874) maven-assembly plugin always downloads dependencies from net

    [ https://issues.apache.org/jira/browse/MASSEMBLY-874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17720006#comment-17720006 ] 

ASF GitHub Bot commented on MASSEMBLY-874:
------------------------------------------

slawekjaranowski closed pull request #16: [MASSEMBLY-874] maven-assembly plugin always downloads dependencies from net
URL: https://github.com/apache/maven-assembly-plugin/pull/16




> 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.10#820010)