我正在使用intellij
tomcat 服务器来部署我的 spring mvc 应用程序,我有另一个 3 方 jars (10),我想在使用 maven 打包时将它们添加到 war 文件中,有没有办法告诉 maven - > 在这个文件夹中包含所有这些罐子?
2 回答
1
There's no option to include every jar in a folder,if you want to include individual jar's from the file system:
<dependency>
<groupId>sun.jdk</groupId>
<artifactId>tools</artifactId>
<version>1.5.0</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
于 2016-05-20T15:49:05.590 回答
0
ebay SDK 在bintray上
<dependency>
<groupId>com.ebay</groupId>
<artifactId>sdk</artifactId>
<version>883</version>
<type>pom</type>
</dependency>
于 2016-05-20T22:13:03.867 回答