maven日记01-简介

Maven日记01-简介

What is Maven?

Maven】-> Java项目构建,管理,包管理工具

配置通过setting.xml进行maven配置,下载的包默认在.m2/repository下,setting配置文件说明

How maven works?

需要通过pom.xml文件,它是maven工程的基本工作单元,包含了项目的基本信息,用于描述项目如何构建,声明项目依赖等。

Pom标签大全详解(From Runoob.com)

xsi:schemaLocation="http://maven.apache.org/POM/4.0.0http://maven.apache.org/maven-v4_0_0.xsd">

4.0.0

asia.banseon

banseon-maven2

jar

1.0-SNAPSHOT

banseon-maven

http://www.baidu.com/banseon

A maven project to study maven.

jira

http://jira.baidu.com/banseon

Demo

[email protected]

[email protected]

[email protected]

http:/hi.baidu.com/banseon/demo/dev/

HELLO WORLD

banseon

[email protected]

Project Manager

Architect

demo

http://hi.baidu.com/banseon

No

-5

Apache 2

http://www.baidu.com/banseon/LICENSE-2.0.txt

repo

A business-friendly OSS license

           scm:svn:http://svn.baidu.com/banseon/maven/banseon/banseon-maven2-trunk(dao-trunk)

           scm:svn:http://svn.baidu.com/banseon/maven/banseon/dao-trunk

http://svn.baidu.com/banseon

demo

http://www.baidu.com/banseon

                           ......

                       ......

Windows XP

Windows

x86

5.1.2600

mavenVersion

2.0.3

/usr/local/hudson/hudson-home/jobs/maven-guide-zh-to-production/workspace/

/usr/local/hudson/hudson-home/jobs/maven-guide-zh-to-production/workspace/

                                   ......

                               ......

                   ......

               ......

                       ......

               ......

banseon-repository-proxy

banseon-repository-proxy

http://192.168.1.169:9999/repository/

default

           ......

org.apache.maven

maven-artifact

3.8.1

jar

test

spring-core

org.springframework

true

               ......

banseon-maven2

banseon maven2

file://${basedir}/target/deploy

banseon-maven2

Banseon-maven2 Snapshot Repository

scp://svn.baidu.com/banseon:/usr/local/maven-snapshot

banseon-site

business api website

               scp://svn.baidu.com/banseon:/var/www/localhost/banseon-web

你可能感兴趣的:(maven日记01-简介)