我想用Jmathplot.jar我怎么能告诉Maven的捆绑依赖罐子
我试图把它作为一个依赖
<dependency>
<groupId>jmathplot</groupId>
<artifactId>jmathplot</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/lib/jmathplot.jar</systemPath>
</dependency>
,但安装时我得到这个错误:
Some problems were encountered while building the effective model for com.NResearch:dable-start-tRisk:jar:0.1-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for jmathplot:jmathplot:jar should not point at files within the project directory, ${project.basedir}/lib/jmathplot.jar will be unresolvable by dependent projects @ line 44, column 19
我该如何解决这个问题?
EDIT1:
我不能改变的Maven包括所有相关的罐子到一个单一的罐子。当这被上传到一个web项目。
使用程序集插件 - > http://stackoverflow.com/a/574650 – Abe