开发者

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 an开发者_如何学Cd 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 )


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...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜