SSH notes Build a project with Maven

Source: Internet
Author: User
Tags command line ssh

Stumbled in contact with Java also has a large six months, the period has been using Java to develop Web projects, from the beginning of the HelloWorld, to the JDBC link database, to now use struts, hibernate, spring to complete a project, a lot of harvest.

So start writing a series today detailing how to complete a Web project with Maven,struts2, Hibernate3, Spring2, Tiles2, and MySQL. Make a summary of yourself and hope to help those in need. That's all.

Project build Tool: Maven

ide:myeclipse6.5

Database: MYSQL5

Frames: SSH

Other concerns: Powerdesigner12, Tiles2, FCKeditor, jdk1.6

Today's task is to complete a Maven build standard development directory, in myeclipse6.5, right-click-run As-maven Install, the effect is as follows:

Installation of 1.MAVEN2 (abbreviated)

2. Create a standard Web project under MyEclipse with Maven

2.1 At the command line, create a Web project 1MVN archetype:create with maven-

DgroupId=net.selitech.ssim  -DartifactId=ssim  -DarchetypeArtifactId=maven-archetype-webapp

2.2 Complement certain directories (switch to project under command line)

1cd ssh\src
2mkdir main\java
3mkdir test\resources
4mkdir test\java

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.