The plugin doesn’t detect other versions of the artifact you are trying to build anymore:
Should contain ‘Possibly incompatible version exists: Example_PlugIn-0.9.0-obsolete.jar’
The integration tests are located in
src/it/. They are small Maven projects that are built with your custom version of imagej-maven-plugin. The
setup.bsh creates a dummy ImageJ.app folder with e.g. some subfolders and empty JAR files. In case of the two failing tests, take a look in Z:\biop\Personel\Olivier\Eclipse-Workspace\imagej-maven-plugin\target\it\copy-jars\target\ImageJ.app\plugins, where you’ll find two files:
➜ plugins git:(copy-jar-sub-oli) ✗ ls -la
drwxrwxr-x 2 stefan stefan 4096 Aug 22 12:47 .
drwxrwxr-x 4 stefan stefan 4096 Aug 22 12:47 ..
-rw-rw-r-- 1 stefan stefan 0 Aug 22 12:47 Example_PlugIn-0.9.0-obsolete.jar
-rw-rw-r-- 1 stefan stefan 4240 Aug 22 12:47 Example_PlugIn-1.0.0-SNAPSHOT.jar
delete.other.versions enabled in the POM of the copy-jars integration test, Example_PlugIn-0.9.0-obsolete.jar should be overwritten by Example_PlugIn-1.0.0-SNAPSHOT.jar which is not the case with your version of the plugin.
Hence, I’d suggest you come up with a new integration test that is similar to delete-others-versions. Copy that folder and take a look at the setup.bsh (setting up the ImageJ.app directory into which the project is installed) and the verify.bsh (which sets up the assumptions what that directory actually should look like).
We can also discuss possible test cases here and I can take a look at your code (thanks for putting it on GitHub!! )