Skip to content

maven-model and maven-artifact leaked into compile scope in 5.0.0 #1124

Description

@sepe81

Hello,

I was wondering if it would be possible to add <scope>test</scope> to the maven-model and maven-artifact dependencies introduced in commit eeae78a.

It looks as though both dependencies were intended to be test-scoped — they are only used in ExternalTest.java and are placed between other test-scoped Jetty dependencies in the POM. However, as they are currently declared without an explicit scope, they default to compile and leak transitively into downstream projects (together with plexus-utils as a transitive dep of maven-model).

A patch release addressing this would be much appreciated, as consumers of htmlunit 5.0.0 currently have to exclude these three artifacts manually to avoid polluting their compile classpath with Maven internals.

Thank you very much for your great work on this project!

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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