3) Maven 目录结构

进入maven根目录

cmd 命令 tree

E:.
│  LICENSE.txt
│  NOTICE.txt
│  README.txt
│
├─bin
│      m2.conf
│      mvn
│      mvn.bat
│      mvnDebug
│      mvnDebug.bat
│      mvnyjp
│
├─boot
│      plexus-classworlds-2.4.jar
│
├─conf
│      settings.xml
│
└─lib
    │  aether-api-1.13.1.jar
    │  aether-connector-wagon-1.13.1.jar
    │  aether-impl-1.13.1.jar
    │  aether-spi-1.13.1.jar
    │  aether-util-1.13.1.jar
    │  commons-cli-1.2.jar
    │  maven-aether-provider-3.0.5.jar
    │  maven-artifact-3.0.5.jar
    │  maven-compat-3.0.5.jar
    │  maven-core-3.0.5.jar
    │  maven-embedder-3.0.5.jar
    │  maven-model-3.0.5.jar
    │  maven-model-builder-3.0.5.jar
    │  maven-plugin-api-3.0.5.jar
    │  maven-repository-metadata-3.0.5.jar
    │  maven-settings-3.0.5.jar
    │  maven-settings-builder-3.0.5.jar
    │  plexus-cipher-1.7.jar
    │  plexus-component-annotations-1.5.5.jar
    │  plexus-interpolation-1.14.jar
    │  plexus-sec-dispatcher-1.3.jar
    │  plexus-utils-2.0.6.jar
    │  sisu-guava-0.9.9.jar
    │  sisu-guice-3.1.0-no_aop.jar
    │  sisu-inject-bean-2.3.0.jar
    │  sisu-inject-plexus-2.3.0.jar
    │  wagon-file-2.4.jar
    │  wagon-http-2.4-shaded.jar
    │  wagon-provider-api-2.4.jar
    │
    └─ext
            README.txt

1. bin

  • Maven2 Start Up Batch script
  • windows
  • linux

2. boot

3. conf

<!--
| This is the configuration file for Maven. It can be specified at two levels:
|
| 1. User Level. This settings.xml file provides configuration for a single user,
| and is normally provided in ${user.home}/.m2/settings.xml.
|
| NOTE: This location can be overridden with the CLI option:
|
| -s /path/to/user/settings.xml
|
| 2. Global Level. This settings.xml file provides configuration for all Maven
| users on a machine (assuming they're all using the same Maven
| installation). It's normally provided in
| ${maven.home}/conf/settings.xml.
|
| NOTE: This location can be overridden with the CLI option:
|
| -gs /path/to/global/settings.xml
|
| The sections in this sample file are intended to give you a running start at
| getting the most out of your Maven installation. Where appropriate, the default
| values (values used when the setting is not specified) are provided.
|
|-->

4.lib

原文地址:https://www.cnblogs.com/zno2/p/4496652.html