I need to add some 15 jars in my maven project , and it is not available in both remote and central repository.
however, i have achieved it as below,
- added the jars in my project path(\src\lib)
changed the pom as below,
<dependency> <groupId>XXX</groupId> <artifactId>YYY</artifactId> <scope>system</scope> <version>8.1</version> <systemPath>${basedir}\src\lib\YYY.jar</systemPath> </dependency>
My question:
Do i need to repeat it for all the 15 jars separatly as the above or we have any other way to bind these jars and make it as one dependency path?
The same thing discussed here Maven: System dependency pointing to multiple jars . but i wonder if i could get anything better/new ideas , since it is 5 years old discussion
Maven version: 3.3.9