Best way to create a maven artifact from existing jar

后端 未结 5 1946
死守一世寂寞
死守一世寂寞 2021-02-02 08:01

I\'m mavenizing some projects.

These projects all depend on a number of libraries, most of them are available in the maven repo. For the other libraries, I\'d like to cr

5条回答
  •  梦如初夏
    2021-02-02 08:56

    You can also create 'system' dependencies on jars that are not in a repository that are in the project. For example,

        
            com.example
            MySpecialLib
            1.2
            system
            ${basedir}/src/main/webapp/WEB-INF/lib/MySpecialLib-1.2.jar
        
    

提交回复
热议问题