Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hinerm opened this issue Jun 27, 2024 · 0 comments
Open

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

hinerm opened this issue Jun 27, 2024 · 0 comments

Comments

@hinerm
Copy link
Member

hinerm commented Jun 27, 2024

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.

@ctrueden ctrueden transferred this issue from scijava/scijava Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant