{"id":1679,"date":"2020-01-30T20:04:57","date_gmt":"2020-01-30T11:04:57","guid":{"rendered":"https:\/\/esoro.jp\/?p=1679"},"modified":"2020-02-03T23:22:30","modified_gmt":"2020-02-03T14:22:30","slug":"maven%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%8c%e5%a4%b1%e6%95%97%e3%81%99%e3%82%8b%e3%82%88%e3%81%86%e3%81%ab%e3%81%aa%e3%81%a3%e3%81%9f","status":"publish","type":"post","link":"https:\/\/esoro.jp\/?p=1679","title":{"rendered":"Maven\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5931\u6557\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f"},"content":{"rendered":"<p>SpiringBoot\u3067\u4f5c\u6210\u4e2d\u306e\u30c4\u30fc\u30eb\u306b\u3061\u3087\u3063\u3068\u6a5f\u80fd\u304c\u6f0f\u308c\u3066\u3044\u305f\u306e\u3067\u3001pom.xml\u306b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u8ffd\u52a0\u3057\u305f\u3068\u3053\u308d\u3001\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u51fa\u6765\u307e\u305b\u3093\u3068\u306e\u4e8b\u3002<\/p>\n<pre>\r\n[INFO] Scanning for projects...\r\n[INFO] \r\n[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1\r\n[INFO]                                                                         \r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Building api-tool 0.0.1-SNAPSHOT\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Downloading: http:\/\/repo.maven.apache.org\/maven2\/org\/springframework\/boot\/spring-boot-starter-security\/2.0.1.RELEASE\/spring-boot-starter-security-2.0.1.RELEASE.pom\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] BUILD FAILURE\r\n[INFO] ------------------------------------------------------------------------\r\n[INFO] Total time: 3.814 s\r\n[INFO] Finished at: 2020-01-29T10:56:41+09:00\r\n[INFO] Final Memory: 15M\/159M\r\n[INFO] ------------------------------------------------------------------------\r\n[ERROR] Failed to execute goal on project api-tool: Could not resolve dependencies for project api-tool:api-tool:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at org.springframework.boot:spring-boot-starter-security:jar:2.0.1.RELEASE: Failed to read artifact descriptor for org.springframework.boot:spring-boot-starter-security:jar:2.0.1.RELEASE: Could not transfer artifact org.springframework.boot:spring-boot-starter-security:pom:2.0.1.RELEASE from\/to central (http:\/\/repo.maven.apache.org\/maven2): Failed to transfer http:\/\/repo.maven.apache.org\/maven2\/org\/springframework\/boot\/spring-boot-starter-security\/2.0.1.RELEASE\/spring-boot-starter-security-2.0.1.RELEASE.pom. Error code 501, HTTPS Required -> [Help 1]\r\n[ERROR] \r\n[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.\r\n[ERROR] Re-run Maven using the -X switch to enable full debug logging.\r\n[ERROR] \r\n[ERROR] For more information about the errors and possible solutions, please read the following articles:\r\n[ERROR] [Help 1] http:\/\/cwiki.apache.org\/confluence\/display\/MAVEN\/DependencyResolutionException\r\n<\/pre>\n<p>maven\u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089501\u304c\u5fdc\u7b54\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u4f55\u304b\u5909\u308f\u3063\u305f\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<br \/>\n\u8a66\u3057\u306b\u3001\u30d6\u30e9\u30a6\u30b6\u8d8a\u3057\u306b\u4e0a\u8a18\u306eDownload URL\u3092\u305f\u305f\u304f\u3068\u4e0b\u8a18\u306e\u5fdc\u7b54<\/p>\n<p>501 HTTPS Required.<br \/>\nUse https:\/\/repo.maven.apache.org\/maven2\/<br \/>\nMore information at https:\/\/links.sonatype.com\/central\/501-https-required<\/p>\n<p>https\u306b\u3057\u306a\u304f\u3061\u3083\u3044\u3051\u306a\u3044\u3063\u3066\u4e8b\uff1f<\/p>\n<p>\u3061\u3087\u3063\u3068\u8abf\u3079\u308b\u3068\u4e0b\u8a18\u3092\u767a\u898b\u3002<br \/>\n[blogcard url=&#8221;https:\/\/arimodoki.mydns.jp\/promenade\/s_mavenpom.html&#8221;]<\/p>\n<p>\u4eca\u6642\u5f53\u305f\u308a\u524d\u306a\u306e\u3067\u3059\u304c\u3001Maven\u30ea\u30dd\u30b8\u30c8\u30ea\u304chttps\u306e\u307f\u306b\u5909\u308f\u3063\u305f\u3088\u3046\u3067\u3059\u3002<\/p>\n<p>Maven\u30c4\u30fc\u30eb\u304c\u53e4\u3044\u304b\u3089\u304b\u306a\uff1f\u3068\u307e\u305aeclipse\uff08mars\u3092\u4eca\u3067\u3082\u4f7f\u7528\u4e2d\uff09\u304b\u3089\u66f4\u65b0\u306e\u78ba\u8a8d\u3092\u5b9f\u884c\u3057\u3066\u3082\u30c0\u30e1\u3002<br \/>\n\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u8a73\u7d30\u304b\u3089m2e Eclipse\u7528Maven\u7d71\u5408 \u3092\u66f4\u65b0\u3057\u3066\u3082\u30c0\u30e1\u3067\u3057\u305f\u3002<\/p>\n<p>\u4e0a\u8a18\u30ea\u30f3\u30af\u306b\u3001pom.xml\u3067\u8a2d\u5b9a\u3059\u308b\u306e\u306f\u4f8b\u304c\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u6709\u96e3\u304f\u3053\u308c\u3067\u4e00\u65e6\u89e3\u6c7a\u306b\u306f\u51fa\u6765\u307e\u3059\u304c\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u500b\u5225\u8a2d\u5b9a\u3067\u306a\u304f\u3066\u5168\u4f53\u7684\u306b\u3069\u3046\u306b\u304b\u306a\u3089\u306a\u3044\u306e\uff1f\u3068\u3001.m2\u306b\u7f6e\u3044\u3066\u3042\u308bsetting.xml\u306e\u8a2d\u5b9a\u3067\u5bfe\u5fdc\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u7d50\u679c\u3001\u30ea\u30dd\u30b8\u30c8\u30ea\u8a2d\u5b9a\u3067\u306f\u3046\u307e\u304f\u3044\u304b\u305a\u3001\u30df\u30e9\u30fc\u306e\u8a2d\u5b9a\u3092\u3057\u3066\u307f\u308b\u3068\u3001\u3061\u3083\u3093\u3068\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u304c\u3001<br \/>\n\u521d\u56de\u306f\u30df\u30e9\u30fc\u304b\u3089\u5168\u3066\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3088\u3046\u3068\u3059\u308b\u3088\u3046\u306a\u306e\u3067\u3001\u3068\u308a\u3042\u3048\u305a\u306fpom.xml\u3067\u500b\u5225\u306b\u5bfe\u5fdc\u3057\u305f\u65b9\u304c\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<pre class=\"lang:xhtml decode:true \" title=\"setting.xml\" >&lt;settings xmlns=\"http:\/\/maven.apache.org\/SETTINGS\/1.0.0\"\r\n\txmlns:xsi=\"http:\/\/www.w3.org\/2001\/XMLSchema-instance\"\r\n\txsi:schemaLocation=\"http:\/\/maven.apache.org\/SETTINGS\/1.0.0 http:\/\/maven.apache.org\/xsd\/settings-1.0.0.xsd\"&gt;\r\n  &lt;mirrors&gt;\r\n    &lt;mirror&gt;\r\n      &lt;id&gt;repo.maven.apache.org&lt;\/id&gt;\r\n      &lt;name&gt;https maven2 &lt;\/name&gt;\r\n      &lt;url&gt;https:\/\/repo.maven.apache.org\/maven2&lt;\/url&gt;\r\n      &lt;mirrorOf&gt;central&lt;\/mirrorOf&gt;\r\n    &lt;\/mirror&gt;\r\n  &lt;\/mirrors&gt; \r\n&lt;\/settings&gt;<\/pre>\n<p>\u5f8c\u65e5\u3001\u5225\u74b0\u5883\u3067\u4f7f\u3063\u3066\u3044\u308beclipse\u3067\u78ba\u8a8d\u3057\u305f\u3068\u3053\u308d\u3001\u6bd4\u8f03\u7684\u65b0\u3057\u3044eclipse\u3067\u306f\u7279\u306b\u554f\u984c\u304c\u7121\u304b\u3063\u305f\u3088\u3046\u3067\u3059\u3002\u3069\u3046\u3084\u3089\u3001\u53e4\u3044\u30d0\u30fc\u30b8\u30e7\u30f3\u306eeclipse\u3060\u3051\u5bfe\u5fdc\u51fa\u6765\u306a\u3044\u3088\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SpiringBoot\u3067\u4f5c\u6210\u4e2d\u306e\u30c4\u30fc\u30eb\u306b\u3061\u3087\u3063\u3068\u6a5f\u80fd\u304c\u6f0f\u308c\u3066\u3044\u305f\u306e\u3067\u3001pom.x &hellip; <a href=\"https:\/\/esoro.jp\/?p=1679\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/esoro.jp\/index.php?rest_route=\/wp\/v2\/posts\/1679"}],"collection":[{"href":"https:\/\/esoro.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/esoro.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/esoro.jp\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/esoro.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1679"}],"version-history":[{"count":0,"href":"https:\/\/esoro.jp\/index.php?rest_route=\/wp\/v2\/posts\/1679\/revisions"}],"wp:attachment":[{"href":"https:\/\/esoro.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/esoro.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1679"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/esoro.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}