Maven中POM文件总体配置说明

POM文件总体配置说明


        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文件单项配置说明

localRepository


 usr/local/maven

interactiveMode


 true

usePluginRegistry


 false

offline


 false

pluginGroups


  org.codehaus.mojo

proxies


   myproxy

   true

   http

   proxy.somewhere.com

   8080

   proxyuser

   somepassword

   *.google.com|ibiblio.org

servers


   server001

   my_login

   my_password

   ${usr.home}/.ssh/id_dsa

   some_passphrase

   664

   775

mirrors


   planetmirror.com

   PlanetMirror Australia

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

   central

profiles


   test

Activation


    false

    1.5

     Windows XP

     Windows

     x86

     5.1.2600

     mavenVersion

     2.0.3

     ${basedir}/file2.properties

     ${basedir}/file1.properties

Repositories


     codehausSnapshots

     Codehaus Snapshots

      false

      always

      warn

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

     default

activeProfiles


    env-test

Original: https://www.cnblogs.com/wren/p/16710701.html
Author: 请叫我阿杰
Title: Maven中POM文件总体配置说明

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/573980/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球