Hello,

I recently published a simple Maven example with working tests and a modern
site skin: https://github.com/learning-maven/simple-plugin.

It uses the awesome integration test framework of Karl Heinz Marbaise. It
requires a few dependencies and plugins but the usage is quite
straightforward.

Hope it helps!
Florent



On Tue, Jun 28, 2022, 07:03 Thomas Broyer <t.bro...@gmail.com> wrote:

> TL;DR: it doesn't use the maven-plugin-testing-harness but
> maven-invoker-plugin, and that's what I've been using as well.
>
> Le mar. 28 juin 2022 à 07:59, Martin Höller <mar...@xss.co.at> a écrit :
>
> > Hi! Stephan!
> >
> > Some years ago I had a similar problem while developing
> > vdldoc-maven-plugin [1]. I found all the necessary information, but it
> > was a rather hard search.
> >
> > Have a look at this plugin's source-code at github [2]. It is a very
> > simple plugin which has unit tests, integration-tests, uses checkstyle,
> pmd
> > and findbugs (which should now be replaced by spotbugs). I'd say it could
> > be good starting point for you.
> >
> > hth,
> > - martin
> >
> > [1] http://matinh.github.io/vdldoc-maven-plugin/
> > [2] https://github.com/matinh/vdldoc-maven-plugin
> >
> >
> > Am 28. Jun. 2022 schrieb Stephan Wissel:
> >
> > > Trying to write a plugin following TDD practices.
> > > Tried to follow:
> > >
> >
> https://maven.apache.org/plugin-testing/maven-plugin-testing-harness/getting-started/index.html
> > >
> > > which already fails on maven archetype:create (generate works, but
> > doesn't
> > > create a test case).
> > >
> > > last published version of
> > > org.apache.maven.plugin-testing/maven-plugin-testing-harness
> > > was 2014:
> > >
> >
> https://search.maven.org/artifact/org.apache.maven.plugin-testing/maven-plugin-testing-harness/3.3.0/jar
> > >
> > > However there's a 2021
> > > com.github.codeteapot.maven.plugin-testing:maven-plugin-testing-harness
> > >
> > > Where can I find a working example of a plugin-test with contemporary
> > > dependencies?
> > >
> > > Create a nice day!
> > > Stephan H. Wissel
> > >
> > > Phone: +65 96673269
> > > Blog <https://www.wissel.net/blog> Twitter <
> > http://twitter.com/notessensei>
> > > LinkedIn <http://sg.linkedin.com/in/notessensei> Xing
> > > <https://www.xing.com/profile/StephanH_Wissel>
> >
>

Reply via email to