>From the same source files, I want to produce two jar files. Here are the requirements:
1. One JAR file would contain all the sources compiled with J2SE 5.0 2. One JAR file is for clients, and must be compiled with J2SE 1.4 Imagine the following packages: org.whatever.common <----- These files are in both jars org.whatever.server <----- These files are only on the server org.whatever.client <----- These files are in both jars too The trick here is that the files in the "common" and "client" packages need to be compiled twice: once for the client JAR (1.4) and once for the server JAR (5.0). However, they are the same sources in either case. The files in the "server" JAR can be compiled with 5.0 exclusively, and hence can use all the new J2SE 5.0 features. Is there a recommended way to do this using Maven 2? Any help would be appreciated. John Wells (Aziz) [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
