It looks like NetBeans is using the Codehaus exec-maven-plugin
under the hood to run the LensKit eval.groovy
file directly as a Groovy script. LensKit eval scripts cannot be run directly as Groovy scripts, they must be run using the LensKit evaluator.
There are two ways to do this:
- Use the evaluator command-line interface, either with the
lenskit-eval
script in the binary distribution or running theorg.grouplens.lenskit.eval.cli.EvalCLI
class from NetBeans. - Use the
lenskit-eval-maven-plugin
. Your POM is set up to do this already; what you will do for this option is to run thelenskit-analyze
Maven goal (NetBeans should have a way to run arbitrary Maven goals/phases).