exec-maven-plugin icon indicating copy to clipboard operation
exec-maven-plugin copied to clipboard

Add IT using custom plugin repository

Open Marcono1234 opened this issue 2 months ago • 4 comments

Depends on #496

Adds an integration test which uses a custom plugin repository.

Marcono1234 avatar Oct 04 '25 14:10 Marcono1234

I will try steps as:

  • new module in IT with simple class with Main method and with deploy to local directory - file protocol
  • in invoker.properties we can have many invocation so we can do like:
invoker.goals.1 = deploy
invoker.project.1 = test-module
  • next use remotePlugin point to local directory used in first step
  • do test
invoker.goals.2 = .... 

as idea to check

slawekjaranowski avatar Oct 05 '25 14:10 slawekjaranowski

I will go with release a fix version, we can work on test later

slawekjaranowski avatar Oct 05 '25 14:10 slawekjaranowski

Have changed this IT now to use a custom local repository as you suggested. I hope that is what you had in mind. If not, please let me know, or feel free to close this PR.

To demonstrate that the bug fix on master makes a difference, I have kept it as separate merge commit here (though when merging this PR, feel free to squash of course).

Marcono1234 avatar Oct 07 '25 15:10 Marcono1234

@slawekjaranowski, what do you think about these changes?

Marcono1234 avatar Oct 25 '25 22:10 Marcono1234