Change packaging from Jar to War

I need to repackage an existing project.
The default packaging as defined in the pom.xml is <packaging>jar</packaging>
If I need to package it as war instead, besides modifying this to war in the pom, what all things do I need to consider to make it work?

Currently, besides icons/images in their default location, I also have a how-to.md under resources which I access via getClass().getResourceAsStream("/" + FILE_NAME); and feed it to the Markdown
Will all these need to be repackaged somewhere else?

Also, the application.properties defines server.port=${PORT:8080}
Should I let it stay? Remove it? Will it clash with the tomcat’s server.xml?

Traditional Deployment :: Spring Boot lists at least the steps needed from Spring Boot (which I assume you’re using since you have an application.properties file)