Use MAVEN to create custom project skeletons and build Java-web projects based on

Source: Internet
Author: User

Create Java-web related files directory and files

pom.xml readme.txt license.txt bin    |- test.txtsrc      |-main        |-java             |-com                 |-arvin                     |-app.java        |- assembly            |-assembly.xml         |-config             |-app-config.properties        |-resources             |-app-resources.properties         |-filters            |-app-filters.properties         |-webapp             |-META-INF            |-WEB-INF                 |-web.xml             |-css             |-img                 |-test        |-java             |-com                 |-arvin                     |-apptest.java        |-filters             |-apptest-filters.properties         |-resources                |-apptest-resources.properties

Execute MVN archetype:create-from-project

Execute MVN archetype:create-from-project under the project root directory

Enter the project skeleton directory generated by Target and execute MVN archetype:crawl

CD TARGET/GENERATED-SOURCES/ARCHETYPE/MVN Archetype:crawl

Build a project with a custom project skeleton

MVN archetype:generate-dgroupid=com.arvin.hr-dartifactid=hr-dversion=1.0.0-snapshot-darchetypegroupid= Com.arvin.webapps.archetype-darchetypeartifactid=arvin-web-archetype-darchetypeversion=1.0.0-snapshot- Dinteractivemode=false-x


Use MAVEN to create custom project skeletons and build Java-web projects based on

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.