Re: Building maven project and certain specified dependencies to a certain jdk version

2016-09-08 Thread Johan Iskandar
Yup, it worked! Thanks for the tip! > On Sep 8, 2016, at 7:25 PM, Mark Prins wrote: > > > javax.validation > validation-api > YOUR JAVA 5 VERSION >

Re: Building maven project and certain specified dependencies to a certain jdk version

2016-09-08 Thread Mark Prins
On 08-09-16 14:16, Johan Iskandar wrote: Can you please show me how to do it? in the dependencies section of your pom add a dependency javax.validation validation-api YOUR JAVA 5 VERSION all available versions are at: http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22javax.validation%22

Re: Building maven project and certain specified dependencies to a certain jdk version

2016-09-08 Thread Johan Iskandar
Can you please show me how to do it? > On Sep 8, 2016, at 6:29 PM, Mark Prins wrote: > > You might be able to get away with explicitly declaring a java 5 version of > validation-api in your pom and hope it's api compatible. > -m > > > -- > Disclaimer; > This message is just a reflection of wh

Re: Building maven project and certain specified dependencies to a certain jdk version

2016-09-08 Thread Mark Prins
You might be able to get away with explicitly declaring a java 5 version of validation-api in your pom and hope it's api compatible. -m -- Disclaimer; This message is just a reflection of what I thought at the time of sending. The message may contain information that is not intended for you or t

Building maven project and certain specified dependencies to a certain jdk version

2016-09-07 Thread Johan Iskandar
Hi all, I am currently using weblogic 10.3.6, and wanted to use primefaces 5.x or 4.x whichever possible. AFAIK weblogic requires servlet 2.5. Primefaces 5.x CMIIW uses jsf 2.x. Lets assume that we could theoretically build against jsf 2.0 which requires servlet 2.5 hence theoretically deployable