This is extremely useful just before you want to upload your plugin(s) to your/a update site. If this really is you use case, you might want to check that the parent POM version you are using coincides with the one of the latest Fiji release!
The command for this is:
mvn -Dimagej.app.directory=/Applications/Fiji.app/ -Ddelete.other.versions=true clean install
And in case the enforcer annoys you — it can be turned off like this:
mvn -Dimagej.app.directory=/Applications/Fiji.app/ -Ddelete.other.versions=true -Denforcer.skip=true clean install Enjoy, Florian