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

Attila Doroszlai updated HDDS-17211:
------------------------------------
    Summary: Improve Maven dependency caching  (was: Replace actions/cache with 
stash)

> Improve Maven dependency caching
> --------------------------------
>
>                 Key: HDDS-17211
>                 URL: https://issues.apache.org/jira/browse/HDDS-17211
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: CI
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>
> # Replace actions/cache with 
> [apache/infrastructure-actions/stash|https://github.com/apache/infrastructure-actions/tree/main/stash]:
> - No limit for total storage size.
> - No eviction.
> # populate-cache runs a full build to get dependencies, but misses some 
> plugins executed separately.  These can be fetched via {{mvn 
> dependency:go-offline dependency:resolve-plugins}} Partly used before 
> HDDS-10496, which changed to full build, because {{maven-dependency-plugin}} 
> did not apply dependency exclusion, i.e. cached unwanted artifacts.  The 
> [issue|https://github.com/apache/maven-dependency-plugin/issues/1350] was 
> resolved since then, we can try it.
> # Allow {{build}} check in regular CI to store the cache when starting from 
> scratch in non-{{pull_request}} run.  {{populate-cache}} can then run only on 
> schedule.
> https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#ensuring-the-maven-cache-is-complete-plugin-dependencies



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to