欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久

打開(kāi)APP
userphoto
未登錄

開(kāi)通VIP,暢享免費電子書(shū)等14項超值服

開(kāi)通VIP
[Maven 2] Repositories
$Revision: 1.9 $ $Name: $ $Date: 2006/04/13 13:54:09 $ Working with maven 2
$Source: /ppw/training/maven/repository/maven2/src/html/repositories.html,v $
Where Do All the Goodies Come From?
  • Things maven needs are downloaded JIT
    • Plugins
    • Dependencies for projects
  • From remote repositories on the ‘net
  • Cached in a local repository
    • ~/.m2/repository/

Remote Repositories

  • Many repositories
    • Central repository
    • 3th party repositories
      • Some providers choose to distribute their artifacts themselves
    • Company-local repositories
      • Own artifacts
      • Private artifacts (access protection)
      • Missing artifacts
        • License issues (access protection)
        • Obscure artifacts
        • Solution to artifact naming problems
  • Repositories can be accessed via any protocol supported by Wagon
    • HTTP, HTTPS, FTP, SFTP, SCP, WebDAV, …
      • In principle …
      • HTTP and HTTPS validated by the author
  • Our artifacts are also deployed to remote repositories for others to use
    • Private company release repository
      • Seperate snapshot repository: don‘t annoy other people with development versions
    • Public company release repository
    • Central repository

Typical setup

In practice, at PeopleWare

Project Server Layout

/
server in DMZ
|-- ppw/            |    |-- projects/
 
|    |   |-- dgt/
directory per client
|    |   |   |-- cvs_repository/
CVS repository root; access via ssh only
|    |   |   |   |-- CVSROOT/...
 
|    |   |   |   |-- OSMOT/...            |    |   |   |   |-- OSMOT2/...            |    |   |   |   |-- expertPoll/...            |    |   |   |   `-- expertPollWebapp/...
module per project
|    |   |   |-- public_html/
project web home
|    |   |   |   |-- .htaccess
access only for PeopleWare staff and client staff
|    |   |   |   |-- index.html            |    |   |   |   |-- installation.html            |    |   |   |   |-- contact.html            |    |   |   |   .            |    |   |   |   .            |    |   |   |   .            
information for the client
|    |   |   |   |-- developer/            |    |   |   |   |   |-- OSMOT/...            |    |   |   |   |   |-- OSMOT2/..            |    |   |   |   |   |-- expertPoll/...            |    |   |   |   |   `-- expertPollWebapp/...
maven generated project sites
|    |   |   |   `-- maven_repository/            |    |   |   |       `-- be/            |    |   |   |           `-- peopleware/            |    |   |   |               `-- dgt/            |    |   |   |                   |-- OSMOT/            |    |   |   |                   |   |-- 1.0.0/...            |    |   |   |                   |   .            |    |   |   |                   |   .            |    |   |   |                   |   .            |    |   |   |                   |            |    |   |   |                   |-- OSMOT2/...            |    |   |   |                   |-- expertPoll/...            |    |   |   |                   `-- expertPollWebapp/...
maven release repository for this client
|    |   |   `-- share/            |    |   |       |-- public/...
smb; non-version controlled, private material
|    |   .       .            |    |   .       .            |    |   .       .            .    |            .    |-- sysadmin/...            .    `-- training/...
 
  • un*x group per client

Configuring Which Repositories to Use

Configuring Mirrors

Configuring HTTP Proxies

Repository Layout

  • Directory structure based on groupId
    • s/\./\//
    • Like Java package structure
    • Suggestion to use reverse domain name of issuing entity as part of groupId
      • Like Java package names
    • E.g., groupId=be.peopleware.training.maven2
      • be/peopleware/training/maven2/
  • artifactId
    • be/peopleware/training/maven2/helloWorld/
  • version
    • be/peopleware/training/maven2/helloWorld/1.2.3/
  • Everything for this artifact/version in this directory
    • Artifact
      • be/peopleware/training/maven2/helloWorld/1.2.3/helloWorld-1.2.3.jar
    • Consolidated POM
      • be/peopleware/training/maven2/helloWorld/1.2.3/pom.xml
    • Potentially other assemblies
      • E.g., source zip
    • Checksums for each file
      • MD5
  • Have a look at central

Abberations

Maven 1 legacy

Standard Sun Specification API‘s

  • Package javax.…
  • Naming convention
    • Legacy issues
  • Some cannot be stored in public repository because of licensing issues
    • Only POM in central
    • Says where to download artifact
    • E.g., javax.mail
      • […]            <distributionManagement>            <downloadUrl>http://java.sun.com/products/javamail/downloads/index.html</downloadUrl>            </distributionManagement>            […]            
  • Company missing-artifacts repository
    • Download artifact from given location
    • Install in company missing-artifacts repository, with POM, checksum

Local Installation

Try-out You‘re Own Stuff Locally First

  • Run mvn install
  • Artifact is added correctly to local repository
    • With POM
    • With checksum

Solve Repository Problems

  • Install artifacts in his local repository directly
  • Do it by hand, or
  • maven-install-plugin:install-file
    • mvn install:install-file -DgroupId=group-id         -DartifactId=artifact-id         -Dversion=version         -Dpackaging=packaging         -Dfile=fileToInstall        
    • Copies the fileToInstall into the local repository, in the directory structure based on group-id, with file name artifcact-id-version.packaging
  • You should provide a POM and checksum too (by hand for now)
  • Bad practice in a group effort
    • The problem you are having, other people will encounter too
    • Better do it in a company repository from the start

本站僅提供存儲服務(wù),所有內容均由用戶(hù)發(fā)布,如發(fā)現有害或侵權內容,請點(diǎn)擊舉報。
打開(kāi)APP,閱讀全文并永久保存 查看更多類(lèi)似文章
猜你喜歡
類(lèi)似文章
Maven學(xué)習筆記2——向repository上傳artifact
Maven系列2--pom.xml 配置詳解
Maven入門(mén)--概念與實(shí)例
Failed to read artifact descriptor for xxx:jar 和Missing artifact有關(guān)問(wèn)題
Maven編譯代碼的相關(guān)命令
Intellij Ant打包reportng報程序包不存在錯誤
更多類(lèi)似文章 >>
生活服務(wù)
分享 收藏 導長(cháng)圖 關(guān)注 下載文章
綁定賬號成功
后續可登錄賬號暢享VIP特權!
如果VIP功能使用有故障,
可點(diǎn)擊這里聯(lián)系客服!

聯(lián)系客服

欧美性猛交XXXX免费看蜜桃,成人网18免费韩国,亚洲国产成人精品区综合,欧美日韩一区二区三区高清不卡,亚洲综合一区二区精品久久