I don't think you'll be able to run the Solaris package build on Windows. Most of the Ant and Maven package-building tasks invoke the native OS package-builder utility program, so you'd have to run the maven package goal on a Solaris machine.
If you are set up to run VMs under Windows,
you should be able to boot a copy of Solaris and use that. In addition to the base OS, your Solaris VM will need its own copies of a JDK and Maven installed.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.