{"id":74,"date":"2017-09-08T22:46:24","date_gmt":"2017-09-08T13:46:24","guid":{"rendered":"http:\/\/ito-u-oti.com\/?p=74"},"modified":"2018-05-05T19:06:14","modified_gmt":"2018-05-05T10:06:14","slug":"post-74","status":"publish","type":"post","link":"https:\/\/ito-u-oti.com\/?p=74","title":{"rendered":"maven\u306e\u4f9d\u5b58\u95a2\u4fc2\u306e\u9023\u643a\u5148\u3092NEXUS\u306b\u5909\u66f4\u3057\u305f\u6642\u306e\u30a8\u30e9\u30fc"},"content":{"rendered":"<h2 id=\"outline__1\">maven\u306e\u4f9d\u5b58\u95a2\u4fc2\u306e\u9023\u643a\u5148\u3092NEXUS\u306b\u5909\u66f4\u3057\u305f\u6642\u306e\u30a8\u30e9\u30fc<\/h2>\n<p>\u8abf\u3079\u3066\u307f\u305f\u3089\u8d85\u7c21\u5358\u306a\u3053\u3068\u30fb\u30fb\u30fb\u3068\u3044\u3046\u3088\u308a\u77e5\u8b58\u4e0d\u8db3\u304c\u62db\u3044\u305f\u3088\u3046\u306a\u3082\u306e\u3060\u3063\u305f\u306e\u3067\u3059\u3051\u3069\u3001\u30cf\u30de\u3063\u305f\u306e\u3067\u66f8\u3044\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n<h3 id=\"outline__1_1\">\u4e8b\u8c61<\/h3>\n<p>maven\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306epom.xml\u3067\u8a2d\u5b9a\u3057\u305f\u4f9d\u5b58\u95a2\u4fc2\u306e\u9023\u643a\u5148\u3092\u3001\u3044\u3064\u3082\u306e\u30bb\u30f3\u30c8\u30e9\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\uff08<a href=\"http:\/\/repo1.maven.org\/maven2\/\">http:\/\/repo1.maven.org\/maven2\/<\/a>\uff09\u304b\u3089\u3001\u793e\u5185\u7528\u306e\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\uff08NEXUS\u3067\u7ba1\u7406\u3057\u3066\u307e\u3059\uff09\u306b\u5909\u66f4\u3057\u305f\u3002<\/p>\n<div class=\"pointBox\">NEXUS\u3068\u306f\u30fb\u30fb\u30fb<br \/>\nSonatype Nexus\u3002\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u69cb\u7bc9\u30fb\u7ba1\u7406\u3059\u308b\u305f\u3081\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2<br \/>\n\u516c\u5f0f\uff08<a href=\"http:\/\/www.sonatype.org\/nexus\/\">http:\/\/www.sonatype.org\/nexus\/<\/a>\uff09<br \/>\n\u8a73\u3057\u3044\u8a71\u306f\u3053\u3061\u3089\u306e\u65b9\u3092\u898b\u3066\u3082\u3089\u3046\u3068\u5206\u304b\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br \/>\n<a href=\"https:\/\/weblabo.oscasierra.net\/sonatype-nexus-1\/\">Sonatype Nexus \u3067 Maven \u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u69cb\u7bc9\u3057\u3088\u3046 (1.\u6982\u8981\u7de8)<\/a><\/div>\n<p>\u5909\u66f4\u3057\u305f\u306e\u306fmaven\u306esettings.xml\u3060\u3051\u3002<br \/>\n<strong>C:\\Users\\\u3010\u30e6\u30fc\u30b6\u30fc\u3011\\.m2\\settings.xml<\/strong><\/p>\n<p>\u4fee\u6b63\u524d\uff08\u793e\u5185\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306a\u306e\u3067\u30d7\u30ed\u30ad\u30b7\u8a2d\u5b9a\u304c\u5165\u3063\u3066\u307e\u3059\uff09<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;settings xmlns=&quot;http:\/\/maven.apache.org\/SETTINGS\/1.0.0&quot; xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:schemaLocation=&quot;http:\/\/maven.apache.org\/SETTINGS\/1.0.0 https:\/\/maven.apache.org\/xsd\/settings-1.0.0.xsd&quot;&gt;\r\n\r\n~omittied~\r\n\r\n &lt;proxies&gt;\r\n   &lt;proxy&gt;\r\n     &lt;id&gt;myproxy&lt;\/id&gt;\r\n     &lt;active&gt;true&lt;\/active&gt;\r\n      &lt;protocol&gt;http&lt;\/protocol&gt;\r\n      &lt;host&gt;proxy.somewhere.com&lt;\/host&gt;\r\n      &lt;port&gt;8080&lt;\/port&gt;\r\n      &lt;username&gt;proxyuser&lt;\/username&gt;\r\n      &lt;password&gt;somepassword&lt;\/password&gt;\r\n      &lt;nonProxyHosts&gt;*.google.com|ibiblio.org&lt;\/nonProxyHosts&gt;\r\n    &lt;\/proxy&gt;\r\n  &lt;\/proxies&gt;\r\n&lt;\/settings&gt;\r\n<\/pre>\n<p>\u4fee\u6b63\u5f8c<br \/>\nNEXUS\u306e\u30b5\u30fc\u30d0\u30fc\u306e\u30a2\u30af\u30bb\u30b9\u8a2d\u5b9a\u3068\u3001\u30df\u30e9\u30fc\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;settings xmlns=&quot;http:\/\/maven.apache.org\/SETTINGS\/1.0.0&quot; xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:schemaLocation=&quot;http:\/\/maven.apache.org\/SETTINGS\/1.0.0 https:\/\/maven.apache.org\/xsd\/settings-1.0.0.xsd&quot;&gt;\r\n \r\n~omittied~\r\n\r\n &lt;proxies&gt;\r\n   &lt;proxy&gt;\r\n     &lt;id&gt;myproxy&lt;\/id&gt;\r\n     &lt;active&gt;true&lt;\/active&gt;\r\n      &lt;protocol&gt;http&lt;\/protocol&gt;\r\n      &lt;host&gt;proxy.somewhere.com&lt;\/host&gt;\r\n      &lt;port&gt;8080&lt;\/port&gt;\r\n      &lt;username&gt;proxyuser&lt;\/username&gt;\r\n      &lt;password&gt;somepassword&lt;\/password&gt;\r\n      &lt;nonProxyHosts&gt;*.google.com|ibiblio.org&lt;\/nonProxyHosts&gt;\r\n    &lt;\/proxy&gt;\r\n  &lt;\/proxies&gt;\r\n\r\n  &lt;servers&gt;\r\n    &lt;server&gt;\r\n        &lt;id&gt;nexus&lt;\/id&gt;\r\n        &lt;username&gt;username&lt;\/username&gt;\r\n        &lt;password&gt;password&lt;\/password&gt;\r\n    &lt;\/server&gt;\r\n  &lt;\/servers&gt;\r\n\r\n  &lt;mirrors&gt;\r\n    &lt;mirror&gt;        \r\n        &lt;id&gt;nexus&lt;\/id&gt;\r\n        &lt;mirrorOf&gt;*&lt;\/mirrorOf&gt;\r\n        &lt;url&gt;https:\/\/puge.hogehoge.jp\/nexus\/repository\/&lt;\/url&gt;\r\n    &lt;\/mirror&gt;\r\n  &lt;\/mirrors&gt;\r\n&lt;\/settings&gt;\r\n<\/pre>\n<h3 id=\"outline__1_2\">\u30a8\u30e9\u30fc\u5185\u5bb9<\/h3>\n<p>Spring tool suite(eclipse)\u3067maven\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u8d77\u52d5\u3057\u3066\u307f\u308b\u3002<br \/>\n\u3057\u304b\u3057\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089jar\u30d5\u30a1\u30a4\u30eb\u304c\u53d6\u5f97\u3067\u304d\u3066\u3044\u306a\u3044\u3002\u4f55\u6545\u3060\u3002\u3002\u3002<\/p>\n<p>jar\u30d5\u30a1\u30a4\u30eb\u304c\u53d6\u5f97\u3055\u308c\u308b\u306f\u305a\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3044\u3063\u3066\u898b\u3066\u307f\u308b\u3068\u3001jar\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3057\u306a\u3044\u3002<br \/>\n\u4ee3\u308f\u308a\u306b\uff1f\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u3044\u305f\u3002<br \/>\n<strong>hogehoge-puge.pom.lastUpdated<\/strong><br \/>\n\u306a\u3093\u3060\u3053\u3044\u3064\u306f\uff01\u3068\u308a\u3042\u3048\u305a\u4e2d\u8eab\u3092\u898b\u3066\u307f\u308b\u3002<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n#NOTE: This is an Aether internal implementation file, its format can be changed without prior notice.\r\n#Mon Sep 04 15:03:32 JST 2017\r\ncd1ab7e1b294b0fdf3ccfebd1aca8ecb843d92cb@proxy.somewhere.com\\:8080&gt;0fbad087be4a40bcae4645dabbf9387e30d44792@default-nexus-https:\/\/hogehoge.jp\/nexus\/repository\/.lastUpdated=1504505012627\r\nhttps\\:\/\/puge.hogehoge.jp\/nexus\/repository\/.error=Could not transfer artifact jp.hogehoge\\:hogehoge-puge\\:pom\\:1.0.0 from\/to nexus (https\\:\/\/puge.hogehoge.jp\/nexus\/repository\/)\\: Connection reset\r\n<\/pre>\n<p>\u306a\u3093\u304berror\u3063\u3066\u3088\u304f\u898b\u305f\u3089\u66f8\u3044\u3066\u3042\u3063\u305f\uff01<br \/>\n<strong>error=Could not transfer artifact<\/strong><br \/>\n\u3046\u3080\u30fb\u30fb\uff1f\u3068\u308a\u3042\u3048\u305a\u30b0\u30b0\u308b\u3002<\/p>\n<h3 id=\"outline__1_3\">\u539f\u56e0<\/h3>\n<p>\u30d2\u30c3\u30c8\u3057\u305f\u8a18\u4e8b\u304c\u3002<br \/>\n<a href=\"http:\/\/ponkotsusechan.hatenadiary.jp\/entry\/2016\/02\/01\/173000\">pom.xml\u30a8\u30e9\u30fc\u767a\u751f\u6642\u306e\u89e3\u6c7a\u65b9\u6cd5<\/a><br \/>\n\u3053\u306e\u8a18\u4e8b\u306b\u3088\u308b\u3068\u3001<\/p>\n<blockquote><p>\n\u89e3\u6c7a\u65b9\u6cd5<\/p>\n<p>\uff11\uff0eeclipse\u3092\u3044\u3063\u305f\u3093\u843d\u3068\u3059<\/p>\n<p>\uff12\uff0e{\u30e6\u30fc\u30b6\u540d}\/.m2\/repository\/org\/apache \u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u30a8\u30af\u30b9\u30d7\u30ed\u30fc\u30e9\u3067\u958b\u304f<\/p>\n<p>\uff13\uff0emaven \u30d5\u30a9\u30eb\u30c0\u30fc\u3092\u524a\u9664\u3059\u308b\uff08\u4e00\u5fdc\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u7b49\u3068\u3063\u3066\u304a\u3044\u305f\u65b9\u304c\u7121\u96e3\u304b\u3068\uff09<\/p>\n<p>\uff14\uff0eeclipse\u3092\u518d\u8d77\u52d5\u3059\u308b<\/p>\n<p>\uff15\uff0e\u30a8\u30e9\u30fc\u3092\u5410\u3044\u3066\u3044\u305fxml\u3092\u6301\u3064\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u9078\u629e\u3057\u3066\u53f3\u30af\u30ea\u30c3\u30af<br \/>\nMaven&gt;\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u66f4\u65b0 \u3092\u30af\u30ea\u30c3\u30af<\/p><\/blockquote>\n<p>\u306a\u308b\u307b\u3069\uff5e\uff1f<br \/>\n\u3068\u308a\u3042\u3048\u305a\u8a00\u308f\u308c\u305f\u901a\u308a\u306b\u3084\u3063\u3066\u307f\u308b\u304c\u89e3\u6c7a\u305b\u305a\u30fb\u30fb\u30fb<br \/>\n\u8ffd\u8a18\u306b\u306f\u300csettings.xml\u898b\u76f4\u305b\u3084\uff01\u300d\u3068\u3002<br \/>\n\u306f\u3044\u30fb\u30fb\u30fb<\/p>\n<p>\u305d\u3057\u3066\u6570\u65e5\u9593\u30cf\u30de\u308a\u7d9a\u3051\u3001\u3064\u3044\u306b\u89e3\u6c7a\uff01<br \/>\n\u539f\u56e0\u306f\u30d7\u30ed\u30ad\u30b7\u8a2d\u5b9a\u3068NEXUS\u306e\u8a2d\u5b9a\u306e\u7af6\u5408\uff1f\u307d\u3044\u611f\u3058\u3067\u3057\u305f\u3002<\/p>\n<h3 id=\"outline__1_4\">\u89e3\u6c7a\u7b56<\/h3>\n<p>setting.xml\u306e\u8a2d\u5b9a\u3092\u4ee5\u4e0b\u306b\u5909\u66f4<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;settings xmlns=&quot;http:\/\/maven.apache.org\/SETTINGS\/1.0.0&quot;\r\n xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot;\r\n xsi:schemaLocation=&quot;http:\/\/maven.apache.org\/SETTINGS\/1.0.0\r\n                     https:\/\/maven.apache.org\/xsd\/settings-1.0.0.xsd&quot;&gt;\r\n \r\n    &lt;server&gt;\r\n        &lt;id&gt;nexus&lt;\/id&gt;\r\n        &lt;username&gt;username&lt;\/username&gt;\r\n        &lt;password&gt;password&lt;\/password&gt;\r\n    &lt;\/server&gt;\r\n  &lt;\/servers&gt;\r\n\r\n  &lt;mirrors&gt;\r\n    &lt;mirror&gt;        \r\n        &lt;id&gt;nexus&lt;\/id&gt;\r\n        &lt;mirrorOf&gt;*&lt;\/mirrorOf&gt;\r\n        &lt;url&gt;https:\/\/puge.hogehoge.jp\/nexus\/repository\/&lt;\/url&gt;\r\n    &lt;\/mirror&gt;\r\n  &lt;\/mirrors&gt;\r\n&lt;\/settings&gt;\r\n<\/pre>\n<p>\u3064\u307e\u308a\u30d7\u30ed\u30ad\u30b7\u8a2d\u5b9a\u3092\u524a\u9664\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3067\u5b9f\u884c\u3057\u3066\u307f\u308b\u3068\u3001\u7121\u4e8bjar\u30d5\u30a1\u30a4\u30eb\u3092\u53d6\u3063\u3066\u3053\u308c\u307e\u3057\u305f\u3002<br \/>\n\u3057\u304b\u3057\u3001\u30bb\u30f3\u30c8\u30e9\u30eb\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u3082\u7e4b\u304e\u306b\u3044\u304d\u305f\u3044\u3093\u3058\u3083\u30fc\u3002<br \/>\n\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u30d7\u30ed\u30ad\u30b7\u8a2d\u5b9a\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3068\u3057\u3066\u3010nonProxyHosts\u3011\u306a\u308b\u3082\u306e\u304c\u3002<br \/>\n\u305d\u3057\u3066\u4fee\u6b63\u3002<\/p>\n<pre class=\"brush: xml; title: ; notranslate\" title=\"\">\r\n&lt;settings xmlns=&quot;http:\/\/maven.apache.org\/SETTINGS\/1.0.0&quot; xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:schemaLocation=&quot;http:\/\/maven.apache.org\/SETTINGS\/1.0.0 https:\/\/maven.apache.org\/xsd\/settings-1.0.0.xsd&quot;&gt;\r\n \r\n~omittied~\r\n\r\n &lt;proxies&gt;\r\n   &lt;proxy&gt;\r\n     &lt;id&gt;myproxy&lt;\/id&gt;\r\n     &lt;active&gt;true&lt;\/active&gt;\r\n      &lt;protocol&gt;http&lt;\/protocol&gt;\r\n      &lt;host&gt;proxy.somewhere.com&lt;\/host&gt;\r\n      &lt;port&gt;8080&lt;\/port&gt;\r\n      &lt;username&gt;proxyuser&lt;\/username&gt;\r\n      &lt;password&gt;somepassword&lt;\/password&gt;\r\n      &lt;nonProxyHosts&gt;*.google.com|ibiblio.org|*.hogehoge.jp&lt;\/nonProxyHosts&gt;\r\n    &lt;\/proxy&gt;\r\n  &lt;\/proxies&gt;\r\n\r\n  &lt;servers&gt;\r\n    &lt;server&gt;\r\n        &lt;id&gt;nexus&lt;\/id&gt;\r\n        &lt;username&gt;username&lt;\/username&gt;\r\n        &lt;password&gt;password&lt;\/password&gt;\r\n    &lt;\/server&gt;\r\n  &lt;\/servers&gt;\r\n\r\n  &lt;mirrors&gt;\r\n    &lt;mirror&gt;        \r\n        &lt;id&gt;nexus&lt;\/id&gt;\r\n        &lt;mirrorOf&gt;*&lt;\/mirrorOf&gt;\r\n        &lt;url&gt;https:\/\/puge.hogehoge.jp\/nexus\/repository\/&lt;\/url&gt;\r\n    &lt;\/mirror&gt;\r\n  &lt;\/mirrors&gt;\r\n&lt;\/settings&gt;\r\n<\/pre>\n<p>\u7121\u4e8b\u901a\u308a\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>maven\u306e\u4f9d\u5b58\u95a2\u4fc2\u306e\u9023\u643a\u5148\u3092NEXUS\u306b\u5909\u66f4\u3057\u305f\u6642\u306e\u30a8\u30e9\u30fc \u8abf\u3079\u3066\u307f\u305f\u3089\u8d85\u7c21\u5358\u306a\u3053\u3068\u30fb\u30fb\u30fb\u3068\u3044\u3046\u3088 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":94,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,24,7],"tags":[14,39,10],"class_list":["post-74","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-maven","category-spring","category-error-bugs","tag-maven","tag-ploxy","tag-spring"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts\/74","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=74"}],"version-history":[{"count":7,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts\/74\/revisions"}],"predecessor-version":[{"id":90,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts\/74\/revisions\/90"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/media\/94"}],"wp:attachment":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=74"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=74"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=74"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}