Maven dependency exclusion for War file, but inclusion for tests Maven去除依赖影响


I have a maven POM file for a web service. For one of the dependencies I have to specify several exclusions for jar files that are already kept at a higher-level in the web-application server (accessible to all web-applications, not just this particular one). One example of such exclusion is the JAR containing my JDBC driver.




你可能感兴趣的:(dependency)