パスワードを忘れた? アカウント作成
550151 journal

plutoの日記: Maven2

日記 by pluto
Maven2
http://maven.apache.org/

参考サイト
http://www.02.246.ne.jp/~torutk/maven/index2.html

○Proxy経由で使う場合はsetting.xmlの以下を変更する。
  username,passwordはなくてもOK。
  nonProxyHostsにProxy使わないサイトを記述する。
  複数ある場合は「|」で区切る。*が有効。
  --------------------------------------------
  <proxies>
   <proxy>
      <active>true</active>
      <protocol>http</protocol>
      <host>proxy.example.com</host>
      <port>8080</port>
      <username>proxyuser</username>
      <password>somepassword</password>
      <nonProxyHosts>www.google.com|*.example.com</nonProxyHosts>
    </proxy>
  </proxies>
  --------------------------------------------
  ここ参考。
  http://maven.apache.org/guides/mini/guide-proxies.html

○ローカルリポジトリがデフォルトだと${user.home}/.m2になる。
  C:\Documents and Settings\<user名>\.m2という感じ。
  気持ち悪い場合はsetting.xmlのlocalRepositoryを変更。
  こんなかんじ。
  --------------------------------------------
  <localRepository>C:\hoge\repository</localRepository>
  --------------------------------------------
  他の設定は以下参照。
  http://maven.apache.org/guides/mini/guide-configuring-maven.html
この議論は賞味期限が切れたので、アーカイブ化されています。 新たにコメントを付けることはできません。
typodupeerror

人生unstable -- あるハッカー

読み込み中...