bazel_maven_repository icon indicating copy to clipboard operation
bazel_maven_repository copied to clipboard

Check "classifier" and regular artifact assumption and either handle or detect and report

Open cgruber opened this issue 6 years ago • 1 comments

The code makes an assumption that deps sections won't have both the main artifact for a group_id/artifact_id pair AND one of the same pom's classified artifacts. It is possible, and in those cases, the deps will be wrong and the build snippet should be explicitly substituted.

We should detect this and report it, or possibly handle it.

cgruber avatar Jan 29 '19 09:01 cgruber

Partial support has happened, under the hood - the underlying library has been updated to support sub-artifacts. This needs a ocnfiguration DSL - probably "classifiers": ["foo"] but it needs care, because we don't want duplicate specification. Need to look at how dependencies add classifiers, and detect that, in order to make sure everything wires up, and then allow this extra download.

cgruber avatar Jun 02 '20 19:06 cgruber