search

Home  >  Q&A  >  body text

java项目问题。 ant工程怎样转换成maven工程?

java项目问题。 ant工程怎样转换成maven工程?

PHPzPHPz2890 days ago485

reply all(1)I'll reply

  • 黄舟

    黄舟2017-04-17 18:02:26

    There is no direct conversion tool for this, so to put it directly, you need to use your ant project file to build a maven project file, and the core of the maven project file is

    src/main/java
    src/main/resource
    src/test/java
    src/test/resource
    pom.xml
    

    1. First, you configure the jar package dependencies you previously managed using pom.xml.
    2. Then configure some bean configurations or other configuration files in the resource.
    3. Put the business code into java and debug it.

    Hope it’s useful to you.

    reply
    0
  • Cancelreply