![]() ![]() To start you take the package name of your project and convert that to a group and artifactId. The pom files a specific file format called XML which is a lot like YAML. To create a maven project you will make a new empty folder for your project and create a file called pom.xml. A large number of projects use it, including FactionsUUID, ProtocolLib, McMMO, CombatTag and even Bukkit itself. The reason you should use maven is it simplifies building your project and allows you to work together with other developers. In eclipse you would normally add bukkit to the build path to create a plugin, but in maven you add it to a magical file called the pom. You may be thinking what does that mean? It means that maven manages your dependencies.Ī dependency is something your plugin needs to run, like bukkit or protocollib. Maven is a dependency management and build tool.
0 Comments
Leave a Reply. |