Jar package is introduced into the local repository Method

1. Place the jar into the Local a location and then to the target position cmd;
2. execute mvn install: install-file -DgroupId = com.alipay -DartifactId = alipay-trade-sdk-20161215-source -Dversion = 1.0 -Dpackaging the Jar-DFILE = alipay = TRADE-SDK-20,161,215 1.0.jar-Source-
POM introduced into 3. item:

<dependency>

  <groupId>com.alipay</groupId>

   <artifactId>alipay-trade-sdk-20161215-source</artifactId>

  <version>1.0</version>

<dependency>

Guess you like

Origin www.cnblogs.com/liujiangping168/p/11720766.html