Reputation: 2749
I want to divide my dependencies into multiple xml
files for easier management and better readability.
It means that my pom.xml
should be able to reference a external local xml
file (not external jar
!) with dependencies list to include.
I also have to mention that I don;t want multiple pom.xml
files. Just a xml
file with dependencies to include.
It's possible at gradle
build system using: apply from: project.file('gradle/build_default.gradle')
syntax.
Is there something equivalent or similar for maven
?
Upvotes: 0
Views: 145
Reputation: 35843
As khmarbaise already said:
This cannot be done. There is no mechanism for inclusion of XML into a POM.
Upvotes: 2