Build Artifacts on a Java project without Maven or Gradle compiles the
production classes with javac and lays out every Project Structure
artifact: an exploded WAR (the Web facet's web root, the classes in
WEB-INF/classes and the included libraries in WEB-INF/lib) in its output
folder (out/artifacts/<name> by default), a WAR packed from that layout,
and a JAR of the classes with a manifest naming the main class and the
included libraries copied next to it. A layout is rebuilt from scratch and
refuses an output folder that holds its own inputs.
The WAR and exploded WAR artifacts of such a project are offered to Tomcat
run configurations; Build before launch compiles and packs the WAR in the
IDE and records it for deployment like a build tool's archive.
Part of #3571, closes#2875