Closed GoogleCodeExporter closed 8 years ago
The maven-dependency-plugin is used to unpack the fitnesse jar. This plugin
already has its own file marker system. This marker was being deleted by the
clean() step of SetupMojo.
maven-dependency-plugin has its own 'overWrite' config, which allows it to
honour or ignore the marker file.
So, in handling this, in combination with Issue #22, I think the best thing is
for there to be 2 extra config properties for setup, defaulting to false:
fitnesse.deletePluginsProperties
fitnesse.alwaysUnpackFitnesse
The clean() step would only happen if 'deletePluginsProperties' == true.
The clean() step would no longer remove the marker file, just
plugins.properties.
The unpack() step would pass 'alwaysUnpackFitnesse' through to
maven-dependency-plugin, 'overWrite' config.
The move() step, with its own 'overwrite' set to false (Issue #29) can remain
unchanged, because it's safe to move something that isn't there.
Hopefully this will result in improved usefulness all round.
PS. There was some reason, lost to me now, why we were deleting
plugins.properties and the dependency-plugin marker file. I think may have had
something to do with
some Fitnesse plugin or other I was testing, such as Xebium. However, I've now
tested this new config with the project webapp-example, and it all seems to
work.
Original comment by stewart@javahelp.co.uk
on 23 Jun 2014 at 3:25
Committed to /trunk at r396
Original comment by stewart@javahelp.co.uk
on 23 Jun 2014 at 3:35
Original issue reported on code.google.com by
bjorn.be...@callistaenterprise.se
on 23 Sep 2013 at 3:59Attachments: