Re: Code-based exclusions

2018-06-29 Thread Paul Hammant
An example would be using Hibernate - it has code for MySql, Postgres, SqlServer, Oracle (etc). In one particular deployment at one particular time, a so-using compan is pretty sure that it is (say) Postgres for now. Google do leave out (*exclude*) unused packages/classes from deployments. At least

Re: Code-based exclusions

2018-06-29 Thread Tibor Digana
Sorry but this is absolute nonsense. It is only and only a problem with people and not the tools. The tools actually MUST NOT make any assumptions about your code, platform and abstractions. This is a typical issue in the entire project, technologies craftmanship of developers in POM of provided de

Code-based exclusions

2018-06-29 Thread Neacsu Bogdan
Hello, Recently, I was thinking at a pretty nice feature that would make the grat maven tool an awesome one: code-based exclusions. Why should this be needed? Because some libs have dependencies of their own, that are not really used by the final code. In theory, one should be able to create a m