我想使用 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 中。因为这是上传到一个网络项目。