[infinispan-dev] Maven dependency and java runtime
Manik Surtani
manik at jboss.org
Mon Jul 27 07:47:22 EDT 2009
Hmm - I haven't got a clue.
But runtimes aside, when packaging a distribution we need to include
JAXB anyway - since I don't want to create separate .ZIP distributions
for JDK 5 and JDK 6.
So I suggest add a dep on JAXB, and make a note in README-libs.txt to
mention that the JAXB jars are not necessary if the target environment
is JDK 6.
Cheers
Manik
On 24 Jul 2009, at 15:51, Vladimir Blagojevic wrote:
> Hi,
>
> So how do I specify dependency that is triggered only on certain java
> runtimes? Say, jaxb is available in java 6 and not java 5 so if user
> is
> running java 5 we should download jaxb dependencies.
>
> Thanks,
> Vladimir
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Manik Surtani
manik at jboss.org
Lead, Infinispan
Lead, JBoss Cache
http://www.infinispan.org
http://www.jbosscache.org
More information about the infinispan-dev
mailing list