I have a Spring (not Spring Boot) project at https://github.com/poggs/spring-autowire-it-problem.
When running the integration test ExampleComponentIT through IntelliJ IDEA, both tests pass and the code can find the bean ExampleComponent. When running the integration test with mvn verify, it fails as it can't find ExampleComponent.
What I want is for mvn verify to be able to find ExampleComponent as it's executed as part of the CI build process.
Can anyone point out where I'm going wrong?