Loading topic
javac exactly where the source file was and where to put the output. Both Maven and Gradle skip that step by expecting files in fixed places. This shared set of folders is called the standard directory layout. A directory layout2 min readapp.jar by hand. The name app.jar works on your own computer. But thousands of projects share code with each other, and many of them could pick the same name. Build tools need a way to tell every project apart.2 min readpom.xml, and uses it to compile, test, and package your code. POM stands for Project Object Model. A POM is an XML file that describes your project: its name, its Java version, and the libraries it needs.1 min readpom.xml. Now you will use it to build. Maven does not ask you to list every build step yourself. It follows a fixed plan called a lifecycle.2 min readpom.xml or build.gradle.kts are the same everywhere. The build tool itself may not be. One teammate might have Maven 3.6 while another has Maven 3.9. A plugin can then behave differently, or a Gradle scrip2 min read