Generating a Maven POM from an existing project?

后端 未结 4 1084
眼角桃花
眼角桃花 2020-12-30 03:04

Do any of the IDEs (or any other tool for that matter) have the ability to generate a POM based on an existing project?


I ended up generating the POM with a Ma

4条回答
  •  Happy的楠姐
    2020-12-30 03:42

    Your existing project probably does not use Maven, so creating a POM based on it isn't trivial.

    The simplest way I can think of is to get the Maven plugin for Eclipse, generate a new maven project and then add your code.

    You'll also need to manage external jars using Maven's method. In this case, they would probably be system jars.

提交回复
热议问题