I have to add some non-maven jars into a Spring boot project (MVC). Those jars are not built by maven or gradle or ..., and the don't have a pom.xml
or build.gradle
or ...
The jars are provided by a company, and they have no plan to host those jars on any maven repositories even their own (actually they don't have a private maven repo).
My project structure is like
my-app/
|-lib
| |-some.jar
| |-other.jar
|
|-src/
|-main/
| |-java/
| |-resources/
|
|-test/
|-java/
I added a folder lib/
to the project root, and put those non-maven jars in it. The problem is how can I configure pom.xml
to include those jars in classpath? Or can I put those jars in some other folder to avoid twisting maven configuration?