Re: Which maven provided dependencies to target Tomcat ?

2018-05-09 Thread Xavier Dupont
Hi Luis, I'm sorry to say that if you use javaee-web-api on Tomcat, you will pull, among others, javax.transaction:javax.transaction-api:1.2 which contains, for example, javax.transaction.HeuristicCommitException and if you try to put

Re: Which maven provided dependencies to target Tomcat ?

2018-05-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Xavier, On 5/9/18 10:35 AM, Xavier Dupont wrote: > Hi guys. > > If I want to target the Java EE full profile, I use go here > https://mvnrepository.com/artifact/javax/javaee-api/8.0 and get > the following XML snippet. > > javax > javaee-api

Re: Which maven provided dependencies to target Tomcat ?

2018-05-09 Thread Luis Rodríguez Fernández
Hello Xavier, Perhaps you can have a look here: https://wiki.apache.org/tomcat/Specifications. Me, I have: javax javaee-web-api 7.0 provided Hope it helps, Luis 2018-05-09 16:35 GMT+02:00 Xavier Dupont : > Hi

Which maven provided dependencies to target Tomcat ?

2018-05-09 Thread Xavier Dupont
Hi guys. If I want to target the Java EE full profile, I use go here https://mvnrepository.com/artifact/javax/javaee-api/8.0 and get the following XML snippet. javax javaee-api 8.0 provided If I want to target the Java EE web profile, I use this url instead