-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Classes configured in spring's bean.xml files are not kept as mandatory dependencies.
To Reproduce
Steps to reproduce the behavior:
- Create a Spring project with XML configuration
- Add rightful maven dependencies
- Run depclean
Expected behavior
All spring beans declared in the XML configuration count as rightful dependencies
Additional context
It may be the same with Java Config textual declaration inside annotations (but I don't have a use case in mind ATM)
It fails too for XML namespace imports:
[ERROR] myTest Time elapsed: 0 s <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/data/jpa]
Offending resource: class path resource [my-beans.xml]
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working