-
Notifications
You must be signed in to change notification settings - Fork 209
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
TASK: "Calling Groovy script create_cleanup_policies_from_list" - fails with static import failure #408
Comments
Hi, this is a known issue to me, but only when using Postgres as a database. Do you use Postgres as well, or the default OrientDB? I've been rewriting the cleanup policy feature to be compatible with Postgres and OrientDB. I expect to wrap this up somewhere next week. |
Yes, we are using Postgres as database. Thx for your help. |
This started to happen to me too, although I'm not using Postgres. Ansible version:
|
Have you tried it with my fork of this ansible role? You can find it at https://github.com/CloudKrafter/nexus3-pro It has most nexus pro features including database migrator included and most open PRs from this repo are merged back as well. I am keeping my fork in sync with this thoteam role, on top of that I'm adding bug fixes and new features for Nexus Pro users. |
Not yet, but I tried #416 and it worked. Thank you! |
Are you using the H2 database? Coukd be that the H2 database also need the same classes as the postgres implementation. Glad my PR helps :-) |
I have published an ansible collection that includes fixes or alternative solutions for most of the open issues and PRs in this repo. |
When trying to rollout cleanup policies. I got the following error:
Versions:
Nexus: 3.65
Role: v2.5.2
Configuraion:
Ansible Role Log:
Nexus Log:
I also tried smaller configurations with the first entry only. It seems that the script is not able to access the class
org.sonatype.nexus.repository.search.DefaultComponentMetadataProducer
at all.The text was updated successfully, but these errors were encountered: