编译打包

mvn clean package -DskipTestsr

省略....

[INFO] 
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ wechat-wxpay ---
[INFO] Tests are skipped.
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ wechat-wxpay ---
[INFO] Building jar: /Users/pro/zi/2017/pays/wxpay/target/wechat-wxpay-1.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Pay Parent ......................................... SUCCESS [  0.161 s]
[INFO] wechat-common ...................................... SUCCESS [  3.040 s]
[INFO] WechatPay .......................................... SUCCESS [  0.635 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.960 s
[INFO] Finished at: 2017-08-10T09:53:19+08:00
[INFO] Final Memory: 24M/261M
[INFO] ------------------------------------------------------------------------

上传jar到nexus,安装pom文件里面的信息填写配置

    <parent>
        <artifactId>pays</artifactId>
        <groupId>com.xxx.base</groupId>
        <version>1.0</version>
    </parent>

clipboard.png


asoren
404 声望15 粉丝