Skip to content

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

Open
@hinerm

Description

@hinerm

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions