----- Original Message ----- From: "Carlos Sanchez" <[EMAIL PROTECTED]>
To: "Maven Developers List" <[email protected]>
Sent: Friday, March 17, 2006 12:58 AM
Subject: Re: Tomcat POMs


I'm not such a fan of classifiers, I'd do a profile triggered by jdk version

<dependencies>
<!-- deps required in all jdk versions -->
</dependencies>
<profiles>
 <profile>
   <activation>
     <jdk>1.4</jdk>
   </activation>
   <!-- add here the dependencies for 1.4 -->
 </profile>
 <profile>
   <activation>
     <jdk>1.3</jdk>
   </activation>
   <!-- add here the dependencies for 1.3 + 1.4 -->
 </profile>
</profiles>

1.4 and 1.5 support are important, 1.3 depends on what level of detail
you want to go, as you said, maven runs on 1.4+


This is the way I have done it.

Greg


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

Reply via email to