Re: Where can find a working plugin test example

2022-06-28 Thread Florent Biville
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.

Re: Where can find a working plugin test example

2022-06-28 Thread Thomas Broyer
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 a écrit : > Hi! Stephan! > > Some years ago I had a similar problem while developing > vdldoc-maven-plugin [1]. I found all the

Re: Where can find a working plugin test example

2022-06-27 Thread Martin Höller
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

Where can find a working plugin test example

2022-06-27 Thread 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