一、POM文件总体配置说明
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd ">



xxx

xxx

xxx

xxx


4.0.0

xxx

xxx

jar

1.0-SNAPSHOT

xxx-maven

http://maven.apache.org

A maven project to study maven.








jira

http://jira.baidu.com/banseon



































Demo

banseon@126.com

banseon@126.com

banseon@126.com

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







HELLO WORLD

banseon

banseon@126.com




Project Manager
Architect


demo

http://hi.baidu.com/xxx


No


-5


















Project Manager
Architect





No








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






















































































true/false











true/false











true/false
















true/false











true/false











true/false














true/false

jdk版本,如:1.7



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/









































true/false





true/false









true/false










true/false





true/false









true/false



































































































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





















true/false











true/false





















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




















value


二、POM文件单项配置说明
2.1 localRepository

usr/local/maven
2.2 interactiveMode

true
2.3 usePluginRegistry

false
2.4 offline

false
2.5 pluginGroups



org.codehaus.mojo

2.6 proxies





myproxy

true

http

proxy.somewhere.com

8080

proxyuser

somepassword

*.google.com|ibiblio.org


2.7 servers





server001

my_login

my_password

${usr.home}/.ssh/id_dsa

some_passphrase

664

775


2.8 mirrors





planetmirror.com

PlanetMirror Australia

http://downloads.planetmirror.com/pub/maven2

central


2.9 profiles





test
2.10Activation



false

1.5



Windows XP

Windows

x86

5.1.2600




mavenVersion

2.0.3




${basedir}/file2.properties

${basedir}/file1.properties


2.11Repositories





codehausSnapshots

Codehaus Snapshots



false

always

warn






http://snapshots.maven.codehaus.org/maven2

default

















2.12activeProfiles


env-test