Closed chpengzh closed 5 years ago
Could not create a runnable jar according to README manual
服务器端代码编译: all-in-one模式: ./boot/all-ine-one-bootstrap/build.sh 打包结果在boot/all-in-one-bootstrap/target/xxx-executable-ark.jar metrics-server: mvn clean install -DskipTests -am -pl boot/metrics-server-bootstrap gateway: mvn clean install -DskipTests -am -pl boot/gateway/bootstrap
服务器端代码编译:
./boot/all-ine-one-bootstrap/build.sh
boot/all-in-one-bootstrap/target/xxx-executable-ark.jar
mvn clean install -DskipTests -am -pl boot/metrics-server-bootstrap
mvn clean install -DskipTests -am -pl boot/gateway/bootstrap
Maybe a spring-boot-maven plugin should be declare to project's build configuration.
Generate a runnable jar as artifact
> java -jar boot/metrics-server-bootstrap/target/lookout-metrics-server-bootstrap-1.6.0.jar boot/metrics-server-bootstrap/target/lookout-metrics-server-bootstrap-1.6.0.jar中没有主清单属性
Build as manual
java -version
uname -a
Describe the bug
Could not create a runnable jar according to README manual
Maybe a spring-boot-maven plugin should be declare to project's build configuration.
Expected behavior
Generate a runnable jar as artifact
Actual behavior
Steps to reproduce
Build as manual
Minimal yet complete reproducer code (or GitHub URL to code)
Environment
java -version
): 1.8uname -a
): none