copy dependencies transitive and not transitive

前端 未结 1 548
失恋的感觉
失恋的感觉 2021-01-22 09:54

In a pom.xml (jar packaging) i want to make use of the maven dependency plugin to download two kinds of dependencies. One kind i want to be downloaded with transitives and one w

1条回答
  •  离开以前
    2021-01-22 10:16

    Just found whats going on...
    includeArtifactIds affects also the transitive dependencies. So if artifact_4 and artifact_5 are transitive dependencies of artifact_1 they are just not copied because i did not include them. I consider this a little unexpected, but well... thats how it was implemented (but not documented). Now i just changed from includeArtifacts to excludeArtifacts and it works.

    0 讨论(0)
提交回复
热议问题