From the course: Building RESTful Web Services with DropWizard

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

JAR compilation

JAR compilation

- Once you have completed your application you're ready to package it. But before we do so let's first take a look at which file we're going to use for versioning the application. Versioning is a process of attributing a version to your project. Let's say you have updated the application with specific code or new functions, you need to have a version so everyone involved in building the application is aware of where it is. So where you do that inside of a Dropwizard project is inside the pom file, or the pom.xml so if we go back to our actual folders we'll Dropwizard example, which sits at the Dropwizard route folder, you'll find the pom.xml file inside of the route folder of the application, like so. So if you click on pom.xml you're going to to see a version section on line six. So this is where you add the actual version of your application. So once you have the version number you're good to go. So if you want to…

Contents