I am using maven cache in my pipeline and I have a question. In my settings.xml I define my privet Jfrog repository for lib_release and lib_snapshot.
definitions:
steps:
- step: &compile
name: compile
caches:
- maven
script:
- mvn -s settings.xml clean compile package
artifacts:
- target/**
I see that in Build stage artifacts are Downloaded from the maven cache:
>Cache "maven": Downloading.
>Cache "maven": Downloaded 103.5 MiB in 4 seconds.
>Cache "maven": Extracting.
>Cache "maven": Extracted in 1 seconds
But during the build I see that some .pom, maven-metadata.xml, and some .jar files still downloading from my privet Jfrog artifactory.
For example:
>Downloaded from snapshots: https://jfrog.com/libs-snapshot/my-data/1.5.1-SNAPSHOT/my-data--1.pom (6.3 kB at 8.7 kB/s)
*So the question is why this data is not cashed?*