Skip to content

bcpkix-jdk18on resolves wrong dependencies using maven #2146

@GaZaTu

Description

@GaZaTu

Since bcpkix-jdk18on v1.80 the dependency of bcutil-jdk18on specifies the following version <version>[1.80,1.81)</version> instead of a static 1.79 like before.
This causes our maven to actually resolve the dependency as 1.80.0.redhat-00001 instead of 1.80. (we're using nexus as our repository proxy)
And this in turn causes our Java9 module loader to not find bcutil-jdk18on because the .jar name is not as expected.

potential fixes:

  • either add Automatic-Module-Name to the MANIFEST.MF so the module loader doesn't need to parse the file name
  • or fix the version field so it resolves the correct dependency (aka: it shouldn't search for the prefix)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions