user663724
user663724

Reputation:

Existing project which is having pom.xml file in it

I have been given an existing project which is consisting of pom.xml file in it . Can we manually run the pom.xml file , to create a war file and deploy it into Tomcat WEB Apps

Please tell me how to do this .

Thank you very much for reading .

(And also in our existing Application , we are having more than one POM.xml files in it )

Upvotes: 0

Views: 384

Answers (1)

DofLeFou
DofLeFou

Reputation: 91

Make sure you have (Maven)[http://maven.apache.org/] installed and set your environment variables for JAVA_HOME and M2_HOME or M3_HOME based on the version of Maven. From the command line, navigate to the location that has the pom.xml file. Type: mvn clean install. This will create a target folder that has the .war in it. Take the .war file and install in Tomcat. Hope this helps. Thanks...

Upvotes: 2

Related Questions