why does netbeans create package for java project
1 Now you can create whatever new packages and source code files you desire for the project. 2  To add a Library to the project or as it is called in Maven nomenclatureâadding a Dependency to your project. 3  You may do this manually, or in the Maven world, you can use the Central Repository to find and download a library. am assuming you are already familiar with setting up a default Java Ant project in NetBeans. Unlike a Java Ant project, when creating a Java Maven project, you will not get a project configuration that is capable of creating an executable JAR when you build the project.