use maven-compiler-plugin. see http://maven.apache.org/guides/mini/guide-using-one-source-directory.html
On 2/3/06, Brad O'Hearne <[EMAIL PROTECTED]> wrote: > > I have a single project which I would like the build to result in 2 jars > (actually one jar and one sar). Is it possible to have a project build > two jars? Or do I have to break this project into two projects? The > reason that I ask is that these two jars essentially come from the same > codebase -- they aren't really comprised of different source code -- > mostly just different packaging (for JBoss). > > How would you recommend tackling this situation? > > Thanks for your help. > > Brad > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
