The "Build" is a process that covers all the steps required to create a "deliverable" of your software. In the Java world, this typically includes:
- Generating sources (sometimes).
- Compiling sources.
- Compiling test sources.
- Executing tests (unit tests, integration tests, etc).
- Packaging (into jar, war, ejb-jar, ear).
- Running health checks (static analyzers like Checkstyle, Findbugs, PMD, test coverage, etc).
- Generating reports.
So as you can see, compiling is only a (small) part of the build (and the best practice is to fully automate all the steps with tools like Maven or Ant and to run the build continuously which is known as Continuous Integration).
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…