How to run an imported maven based mule project in

2019-08-10 17:28发布

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?

2条回答
叼着烟拽天下
2楼-- · 2019-08-10 18:14

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.

查看更多
叼着烟拽天下
3楼-- · 2019-08-10 18:30

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.

查看更多
登录 后发表回答