Is possible to import third package in Nexus Script?

I want to write a script to collect the meta data of cached artifacts in Nexus repository and write the results back to our team’s existing mongodb database. Therefore, I need to import a Groovy’s third-party mongodb client library in the script. Can this requirement be achieved? if can what should I do?

I would say no, you’ll need to write a plugin and add it to your nexus instance.

1 Like