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

Enforcer needs to be skipped to build any ops module locally #33

Open hinerm opened 4 months ago

hinerm commented 4 months ago

Attempting to build scijava-ops-image (or any other module of https://github.com/scijava/scijava) on the command line with mvn clean install triggers the enforcer:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.3.0:enforce (enforce-rules) on project scijava-ops-engine:
[ERROR] Rule 8: org.scijava.maven.plugin.enforcer.RequireReproducibleBuilds failed with message:
[ERROR]
[ERROR] The following artifacts either - are SNAPSHOT versions (V), contain
[ERROR] SNAPSHOT parents (P), or contain SNAPSHOT dependencies (D):

Building snapshots from the top-level is fine, and of course we can use -Denforcer.skip. This is just an inconvenience that seems unfriendly, when the default state requires enabling this flag.