Skip to content

Do not pull dependencies for Maven packages

πŸ”­ Context

When pulling maven packages, we currently consider the dependencies of the target package and we download them along with the target package.

We don't need them, so we can instruct the download operation to "skip" downloading the dependencies.

That's [Maven] Don't pull dependencies of the target a... (#36 - closed).

πŸ€” What does this MR do and why?

  • Use the transitive switch in the maven download command.
  • Update the related specs

πŸ“Ί Screenshots or screen recordings

None

🍿 How to set up and validate locally

Use the same instructions as in !19 (merged).

Check the job logs and you will see that the $ mvn dependency:get step will no longer pull all the dependencies of the target package.

Merge request reports