Skip to content

WO Launch configurations generate wrong classpath for maven projects at runtime #153

@hugithordarson

Description

@hugithordarson

The classpath generated when launching a Maven application in Eclipse using a WO Launch configuration vs. when starting it as a regular java application is different. Most notably, when started as a WO application it seems:

  • dependency exclusions are not respected
  • dependency versions are not overridden (i.e. if I have a dependency on a library and there's a transient dependency on an older version of the same library, both versions are present in the generated classpath)
  • the test scope is included in the runtime classpath

This only applies when running from within Eclipse, i.e. the classpath.txt generated by an actual maven build looks like one would expect.

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