I also tried to use multiple compiler execution with various includes/excludes, but I'm using JDBC code, which API changed between Java 1.3 and 1.4. I can't have all my code compile in my IDE when using a single project for all classes. Using 2 maven modules with different JDK configured make it possible.
I'm looking for an assembly-based solution to this issue. Thanks anyway for the link. Nico. 2006/12/14, Jörg Schaible <[EMAIL PROTECTED]>:
nicolas de loof wrote on Thursday, December 14, 2006 2:53 PM: > Hello, > > I'd like to create a JAR containing both Java 1.3 and Java5 > classes (think > about Spring jars) > > I have created 2 modules, one for java 1.3 core features, and one for > "tiger" extensions. The parent POM contains all dependencies, > child poms > only contains maven compiler plugin configuration. > In my parent POM, I'm using assembly to jar all classes in a > single JAR. > > I now want to deploy the assembly to my maven repository, > with a custom POM > with same content my parent POM but was JAR packaging (and if > possible without <modules> section). > > Is this possible ? We do this all in one artifact: http://fisheye.codehaus.org/browse/xstream/trunk/xstream/pom.xml - Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
