Hi Gerrit!
If you search for some examples have a look at
https://github.com/matinh/vdldoc-maven-plugin
I created this project some time ago as a proove of concept for myself
to write a simple maven plugin including integration testing. Use the
"run-its" profile to enable integration-tests and have a look at the
main pom.xml resp. the POMs of the ITs in src/it/*.
hth,
- martin
On Tue, 17 Apr 2018 09:25 wrote :
> With Maven Invoker you create Maven projects like your plugin-users
> do. And then Maven will be called to run this project. It is as close
> as possible to the real world .
> If you want to make unittests, maven-plugin-testing-harness should
> work, but it lacks good documentation.
> Downside of this is that you're testing it with 1 specific version
> of Maven. The takari plugin seems to be able to cover multiple Maven
> versions, but you won't be able to debug issues for a specific Maven
> version.
>
> thanks,
> Robert
>
> On Tue, 17 Apr 2018 09:16:51 +0200, wrote:
>
> > Hi Robert,
> >
> > thanks a lot for your mail.
> > I create 2 issues about this.
> >
> > About that Maven Invoker Plugin:
> > Are there any examples how to use that in a JUnit test?
> >
> > Regards,
> > Gerrit
pgpo1YVvHWSLr.pgp
Description: Digitale Signatur von OpenPGP