2、Mavenのプロファイルと設定

1.ダウンロードMavenのapche-のMaven-3,5,2

2、

 

 

 三、Mavenのプロフィール

1、Antベースのビルドツール、AntのMavenは、追加のアドオンその他の機能をいくつかの機能を持っています

2、実行回路図

   2,1ローカルリポジトリ:フォルダ内のコンピュータファイル、どのフォルダの独自の定義

   2,2中央倉庫:インターネットアドレス

          2,2,1遅いダウンロード速度 - 国民ミラーの設定

 

 

  2,3 JDKのバージョンとあなたが1,4 1,5を設定しない場合は、一貫性のある開発環境を確保します

 

   <! - localRepository
   | ローカルリポジトリ達人への道は、成果物を保管するために使用します。
   |
   | デフォルト:$ {のuser.home} / 2 /リポジトリ。
  <localRepository> /パス/に/ローカル/レポ</ localRepository>
  - >
<localRepository> C:\ aweb \ソフト\リポジトリ</ localRepository>

<!-- mirrors
   | This is a list of mirrors to be used in downloading artifacts from remote repositories.
   |
   | It works like this: a POM may declare a repository to use in resolving certain artifacts.
   | However, this repository may have problems with heavy traffic at times, so people have mirrored
   | it to several places.
   |
   | That repository definition will have a unique id, so we can create a mirror reference for that
   | repository, to be used as an alternate download site. The mirror site will be the preferred
   | server for that repository.
   |-->
  <mirrors>
  <mirror>  
 <id>alimaven</id>  
 <mirrorOf>central</mirrorOf>  
 <name>aliyun maven</name>  
 <url>http://maven.aliyun.com/nexus/content/groups/public/</url> 
  </mirror>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

おすすめ

転載: www.cnblogs.com/zwyzwy/p/12004563.html