I have a roo application, but I also need to have access to the entity lifecycle functionality in an environment that can run java classes (matlab, to be specific). I really don't want to have to expose a web service interface that will be consumed by the matlab project since both projects are in their infancy and I don't have things like security or even entity ownership fully implemented yet and it will be much easier to interact directly with java for the time being. There must be a relatively simple mechanism for building a jar file via maven but I'm a maven neophyte and have no clue how to go about doing it. I could just manually package up a jar out of the target directory after building a war package, but I'd prefer to have maven do the work and ensure that the resulting jar adheres to best practices.

I did a few searches, figuring I couldn't be the only one with this requirement, but I couldn't find anything that seemed relevant.