[英]Building a Maven Spring Boot project vs building from Intellij?
I'm working on Java projects with Spring Boot and Maven and I'm using Intellij and I want to know if building aa project from Intellij menu: Build -> Build Project is the same thing with building a project with Maven: mvn clean install
.我正在使用 Spring Boot 和 Maven 处理 Java 项目,我正在使用 Intellij,我想知道是否从 Intellij 菜单构建一个项目:Build -> Build Project 与使用 Maven 构建项目是否相同:
mvn clean install
. If not, what is the difference?如果不是,有什么区别? Thank you
谢谢
If you build/compile from intellij or eclipse it will just compile the source code whereas mvn clean install will build/compile the source and creates the jar file.如果您从 intellij 或 eclipse 构建/编译,它只会编译源代码,而mvn clean install将构建/编译源代码并创建 jar 文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.