I have a large Java Web Application project using Maven and I need to start a new project that will share most of the same code (so I don\'t have to repeat work), but not all of
Extract that into its own maven module
2.1. usually web-apps are multi module, so if you are going to share the common library across two web-apps, then separate the common library out into its own group-id
Build and install the jar file into your repository
change the poms of the web-apps to depend on your new library