maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (Jira)" <j...@apache.org>
Subject [jira] [Updated] (MNG-6793) Sharing local repo for dependencies and a separate local repo for project
Date Fri, 29 Nov 2019 17:10:00 GMT

     [ https://issues.apache.org/jira/browse/MNG-6793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Osipov updated MNG-6793:
--------------------------------
    Fix Version/s: waiting-for-feedback

> Sharing local repo for dependencies and a separate local repo for project
> -------------------------------------------------------------------------
>
>                 Key: MNG-6793
>                 URL: https://issues.apache.org/jira/browse/MNG-6793
>             Project: Maven
>          Issue Type: Wish
>          Components: Bootstrap &amp; Build
>            Reporter: Daniel Qian
>            Priority: Minor
>              Labels: features
>             Fix For: waiting-for-feedback
>
>
> When I use Jenkins to build project I have to make each Job to use its own local repo
(a local dir in the workspace) to prevent concurrent build error:
> {{withMaven(}}
> {{  mavenLocalRepo: '.local-m2-repo'}}
> {{) {}}
> {{ sh 'mvn clean install -P docker,integration-test'}}
> {{ }}}
> Besides, I have to cleanup workspace after build to save disk space.
> So every time the build starts it have to download all the dependencies and that really
cost a lot of time.
> So I think it will be nice If maven could share a local repo for dependencies and a separate
local repo for current built project.
> Then we can save time of download dependencies and also provide isolation to prevent
concurrent build error.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message