andrewharmellaw / camel-boot

A seed-project for starting new REST-API Camel/Spring Boot projects
1 stars 10 forks source link

Exclude Spring Transaction from build - we don't need it #31

Open andrewharmellaw opened 8 years ago

andrewharmellaw commented 8 years ago

You can see when we startup that Spring Transactions are being brought in.

20:27:00.823 [main] INFO o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker - Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$407dba36] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)

We don't use them by default so should exclude the dependency in build.gradle.