Skip to content

[MPLUGINTESTING-70] maven-compat requirement #197

@jira-importer

Description

@jira-importer

Elliotte Rusty Harold opened MPLUGINTESTING-70 and commented

I'm attaching a sample project based on work by Ian Lavallee. Briefly it demos that one can only use AbstractMojoTestCase if the pom.xml also adds a dependency on org.apache.maven:maven-compat and org.apache.maven:maven-plugin-api. The former at least seems like it should not be required.

Furthermore if either of these are required they should probably be at least runtime dependencies of maven-plugin-testing rather than requiring client projects to ad these dependencies explicitly.

Both of these are only required to run tests, not to compile the project.


Attachments:

Issue Links:

  • MNG-8494 Restore Maven 3 compatibility

Remote Links:

Backported to: 3.4.0

0 votes, 5 watchers

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency filepriority:majorMajor loss of function

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions