Include Designer Jar in Client Module

I want to include the “” class in a client scoped scripting function. I’ve written some code to create my own ImageChooser class in the client. It compiles, but the script still only works in the designer. What do I need to do to make maven include this jar in the build output?

You can’t use anything in the designer scope in client-scoped code. You can’t distribute the designer’s jars into client scope with your module!

You’re going to have to try a different approach for what you’re trying to do.

Bummer. I figured that was the answer but it was worth a try!