Maven learning notes (1) eclipse + Android + Maven

Source: Internet
Author: User

As work needs to begin to get familiar with Java recently, this kind of open-source things is the first touch, and there are too many things to be familiar. Maven is the most famous one. It is said that it can improve the efficiency of the project from compilation to packaging and publishing. However, it is quite troublesome to use, so you have to learn.

Some domestic blogs have descriptions of Maven, but they are too far different from their own needs. They can only learn it step by step. I still believe in the English version. Even though the English version is poor, the original version can get twice the result with half the effort.

Several important websites:

1. http://maven.apache.org/users/index.html. Here are two main examples:

1) pom reference

2) settings reference

 

2. Renewal.

 

3. Renewal.

 

4. Renewal.

 

The objective can be divided into the following points from simple to complex:

1. Create a simple eclipse + Android + Maven project. The project must comply with Maven specifications and can be packaged and compiled into an APK package.

2. Create a complicated eclipse + Android + Maven project, which may be composed of several projects, that is, multiple module projects.

3. Development and release should be treated differently. Development should be as fast as possible, and release should be signed and obfuscated.

4. automatic release and Version Control

5. Consider automatic testing.

6. Write Maven plug-ins as needed to improve development efficiency.

For the local private server, do not consider it for the moment, no effort to study.

Related Article

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.