Home > database >  Building a Maven Spring Boot project vs building from Intellij?
Building a Maven Spring Boot project vs building from Intellij?

Time:01-28

I'm working on Java projects with Spring Boot and Maven and I'm using Intellij and I want to know if building a a project from Intellij menu: Build -> Build Project is the same thing with building a project with Maven: mvn clean install. If not, what is the difference? Thank youenter image description here

CodePudding user response:

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.

  • Related