Table of contents
2 Configure the maven configuration file
1 install sdk
Put the external sdk in the specified directory of the project, I choose to put it in the directory of resource/sdk
Example:
2 Configure the maven configuration file
Open pom.xml and add the following dependency configuration
Specifically as follows:
<dependency>
<groupId>com.xxxx</groupId>
<artifactId>xx-sdk-core-java</artifactId>
<version>v3.0.0</version>
<scope>system</scope>
<systemPath>${project.basedir}/src/main/resources/sdk/xx-sdk-core-java-v3.0.0.jar</systemPath>
</dependency>
3 Refresh maven
4 Packaging configuration
The key points are in the content of the red box
<includeSystemScope>true</includeSystemScope>
Then pack it normally
END.