How to run an imported maven based mule project in Anypoint Studio

旧街凉风 提交于 2019-12-24 14:58:20

问题


My mule maven based project created in eclipse is checked into svn. I want to run it in Anypoint Studio. So I imported it as Maven based project from SVN. But Studio doesn't recognize it as Mule project. Any pointers?


回答1:


If your project is a Maven project then it should be having a pom.xml file. From anypoint studio do an import of Maven project from pom.xml and point to the location where your project resides. it should automatically find the pom.xml inside and import it successfully.




回答2:


If I have got your scenario correctly here is the solution.

Download the project from svn to a local folder.

From the command prompt run the command mvn studio:studio on this project

Then import the project into the studio from the tab
Import --> General --> Existing Project Into Workspace

Now you can directly run the project as a Mule project.

Hope this helps.



来源:https://stackoverflow.com/questions/31683092/how-to-run-an-imported-maven-based-mule-project-in-anypoint-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!