Skip to content

Support for passing a settings from my test resources #233

Open
@filiphr

Description

@filiphr

I would like to be able to use a custom settings file available in my resources. I found MavenCLIOptions.SETTINGS. However, from what I could deduce, this does not allow me to point to a file in my test resources.

I would like to be able to reference a file from my test resources and use that.

We have made this work for us by adding a new @MavenSettings annotation. However, I think that it would be better if we can expand @MavenOption with a new method resource that would be able to resolve the full path to a test resource and use it in the tests. We are ready to work on this contribution to the project in case you are interested in this functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions