Springboot is unified. Suddenly maintaining the projects in previous years, the download code can't start
There are two main problems
1. The three-party jar is quoted, which is the jar that cannot be downloaded in the warehouse;
2. The referenced jar is not output to the lib under WEB-INF.
First look at the first question
There are several ways
1. Install a local warehouse, but write a bat script, and install it for every development download;
2. It is troublesome to manually transfer to a private warehouse
3. Local jar path reference, convenient for unified management, choose it
Relatively simple to implement
<dependency>
<groupId>com.ckfinder</groupId>
<artifactId>CKFinderPlugin-Watermark</artifactId>
<version>2.6.1</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/webapp/WEB-INF/lib/CKFinderPlugin-Watermark-2.6.1.jar</systemPath>
</dependency>
Other photos gourd painting scoop
Be sure to keep the path consistent. If you define a /doc/lib and put jar by yourself, it is normal
second question
Since the file has been placed in the WEB-INF directory, it is not a problem
But to add a sentence in maven
<!-- Compiler 插件, 设定JDK版本 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<arti