You can always use something like:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-compiler-plugin</artifactId>
  <configuration>
    <source>1.4</source>
    <target>1.4</target>
  </configuration>
</plugin>

to compile code for a specific jvm version. But this will use the jdk maven was started with to compile the code. Don't know if this is good enough for you.

-Tim



[EMAIL PROTECTED] schrieb:
Is anyone aware of a way to compile artifacts or even sub-modules under
different JDKs?  I have an EJB that I compile under 1.5 but I want to
generate the ejb-client compiled under 1.4 (there's nothing in the
interfaces or DTOs that are 1.4-incompatible) so that 1.4-based clients
can call it.  Any thoughts?


Thanks,
Daryl

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to