通过命令打包 :
mvn package
pom.xml
4.0.0
com.kc.mqtt
MqttServer
0.0.1-SNAPSHOT
jar
1.8
org.springframework.boot
spring-boot-starter-parent
1.3.5.RELEASE
org.springframework.boot
spring-boot-starter-websocket
1.5.4.RELEASE
org.apache.poi
poi
3.14
org.apache.poi
poi-ooxml
3.14
org.springframework.boot
spring-boot-devtools
true
org.apache.commons
commons-lang3
3.6
org.eclipse.paho
org.eclipse.paho.client.mqttv3
1.1.0
com.google.protobuf
protobuf-java
2.6.1
cn.jpush.api
jpush-client
3.2.9
gov.nist.math
jama
1.0.3
org.springframework.boot
spring-boot-starter
org.springframework.integration
spring-integration-core
4.3.0.RELEASE
org.springframework.integration
spring-integration-mqtt
4.3.0.RELEASE
org.springframework.integration
spring-integration-jmx
4.3.0.RELEASE
org.springframework.boot
spring-boot-starter-web
com.jayway.jsonpath
json-path
test
org.springframework.boot
spring-boot-starter-logging
org.springframework.boot
spring-boot-starter-test
junit
junit
4.12
test
org.apache.httpcomponents
httpclient
4.3.5
provided
org.springframework.integration
spring-integration-test
4.3.0.RELEASE
test
com.zaxxer
HikariCP
org.springframework.boot
spring-boot-starter-data-jpa
com.h2database
h2
mysql
mysql-connector-java
org.springframework.boot
spring-boot-starter-actuator
io.netty
netty-all
4.1.6.Final
org.projectlombok
lombok
1.16.8
provided
org.springframework.data
spring-data-redis
1.7.5.RELEASE
redis.clients
jedis
2.9.0
com.notnoop.apns
apns
1.0.0.Beta6
com.github.fernandospr
javapns-jdk16
2.2.1
com.relayrides
pushy
0.9.2
io.netty
netty-tcnative-boringssl-static
1.1.33.Fork24
org.springframework.boot
spring-boot-maven-plugin
除了引用的包之外.我只设置了:
org.springframework.boot
spring-boot-maven-plugin
这是必须的.应该不影响
和 jdk版本配置
为什么每次都要去下载呢 ?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
可能两次依赖包的版本不一致,你可以去本地仓库看一下是否一个包下有多个版本。
首先要先确认idea里的maven和外部的maven用的是不是一个settings.xml