Skip to content

Doing several invocations through exec:java? #388

@jkesselm

Description

@jkesselm

I need to call the same Java program with several different sets of parameters.

I can't replicate the whole <plugin> block because that's a declaration and must be unique.

Maven tells me I can't have multiple <configuration/>s. I can have multiple <executions/>, but your example puts all the <arguments/> in the <configuration/> so that doesn't seem to help me.

Can't imagine that there isn't a standard way to do this, but I'm not sure what it is. Possible it's a standard Maven idiom that I just haven't learned yet... but even so it might be a good thing to explicitly document.

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