Skip to content

add-module-info assumes current project artifact path #151

@dwhitla

Description

@dwhitla

AddModuleInfoMojo attempts to add module-info to the JAR at buildDirectory.toPath().resolve( artifactId + "-" + version + ".jar" );. This assumes the value of ${project.build.finalName} and is very often not correct.
Please use ${project.build.finalName} instead. It also assumes that this artifact is found in ${project.build.directory} regardless of the value of outputDirectory supplied to the maven-jar-plugin. This path should be exposed as a configuration parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    releasedIssue has been released

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions