Skip to content

Passing multiple jars in via wildcard yields unhelpful error message "no POM in this directory" #28

@rondagostino

Description

@rondagostino

I get this error message if I specify multiple jars as input (e.g passing in file: *.jar of some sort that results in myCode-0.0.1.jar and myCode-0.0.1-sources.jar both being picked up):

[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (/tmp/build/put). Please verify you invoked Maven from the correct directory. -> [Help 1]

It would be helpful if the error message were more explicit about the real issue, which is that you need to specify exactly one file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions