scijava / scijava-maven-plugin

A Maven plugin to manage development of SciJava-based software.
BSD 2-Clause "Simplified" License
3 stars 5 forks source link

Allow building SNAPSHOT-coupled submodules #12

Closed hinerm closed 9 years ago

hinerm commented 9 years ago

RequireReproducibleBuilds only allows SNAPSHOT-coupled multi-module reactors when built from the top level. Building a submodule individually fails.

It seems that this is problematic, e.g. with the Eclipse maven plugin building each submodule individually (and thus always failing).

hinerm commented 9 years ago

proposed solution:

  1. Get the base project's parent
  2. Check the modules to see if the base project's artifactId is listed.
    • If so, add the project and all other listed modules managed by that pom to the "reactor" list
    • If not, recurse to the next parent