我想使用Jmathplot.jar
我尝试将其作为依赖项
<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
请问我该如何解决这个问题?
编辑1:
我无法更改Maven以将所有依赖的jar包合并为一个单独的jar包。因为它需要上传到一个Web项目中。