imagej / tutorials

ImageJ2 programming examples
The Unlicense
177 stars 114 forks source link

Add cc0 license-maven-plugin configuration #22

Open hinerm opened 8 years ago

hinerm commented 8 years ago

Tried running mvn license:update-file-header and got BSD instead of cc0. All the projects should be updated to be cc0

ctrueden commented 8 years ago

This will require either:

We have done the custom license server in the past, and it has some problems. So I put in effort to switch us fully over to built-in options. It is probably worth pursuing the PR option to keep things that way.

ctrueden commented 8 years ago

Note that instead of CC0 we could use the Unlicense; the latter is what choosealicense.org recommends for disclaiming copyright. Either way.

hinerm commented 8 years ago

You can just provide the license in-repo and reference it via the maven config.. see scifio-tutorials

ctrueden commented 8 years ago

There is some reason that doing that caused problems, too. Sorry I can't remember the details now... Generally speaking, you want to avoid in-repo file:// references in the POM (see item 6 of the Playing Tradeoffs with Maven article). But in this case maybe it is OK because the license-maven-plugin config is not required for the normal build lifecycle.

Anyway, if we are using CC0 (or Unlicense) in multiple places, I would still favor submitting a PR upstream, even if we use a local license server in the meantime.