{"id":885,"date":"2024-01-12T14:31:17","date_gmt":"2024-01-12T06:31:17","guid":{"rendered":"http:\/\/22pig.com\/?p=885"},"modified":"2024-01-12T14:31:18","modified_gmt":"2024-01-12T06:31:18","slug":"idea-config-maven-connect-to-https-nexus","status":"publish","type":"post","link":"http:\/\/22pig.com\/?p=885","title":{"rendered":"idea config: maven connect to https Nexus"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\" id=\"install-into-a-directory\">install into a directory:<\/h1>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">eg.<br>D:\\app\\maven\\NEXUS.xxx.com_base64.cer<br>D:\\app\\maven\\NEXUS.xxx.com_base64.jks<\/p>\n<\/blockquote>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"change-maven-vm-options\"><a href=\"https:\/\/10.41.76.102\/FPPMON\/~files\/master\/START.md#change-maven-vm-options\"><\/a>Change maven VM Options:<\/h1>\n\n\n\n<ol class=\"wp-block-list\">\n<li>File -&gt; Settings<\/li>\n\n\n\n<li>&#8220;Build, Execution, Deployment&#8221; -&gt; Build Tools<\/li>\n\n\n\n<li>Maven -&gt; Importing -&gt; VM options for importer<\/li>\n\n\n\n<li>Fill The below vm options<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>-Djavax.net.ssl.trustStore=D:\\app\\maven\\NEXUS.xxx.com_base64.jks -Djavax.net.ssl.trustStorePassword=changeit -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true\n<\/code><\/pre>\n\n\n\n<ol class=\"wp-block-list\" start=\"5\">\n<li>Be careful the first option&nbsp;<code>-Djavax.net.ssl.trustStore<\/code>&nbsp;should be your cer location<\/li>\n<\/ol>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"change-setting-and-hidden-server\"><a href=\"https:\/\/10.41.76.102\/FPPMON\/~files\/master\/START.md#change-setting-and-hidden-server\"><\/a>Change setting :<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">You can find the setting.xml under root directory<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>File -&gt; Settings<\/li>\n\n\n\n<li>&#8220;Build, Execution, Deployment&#8221; -&gt; Build Tools<\/li>\n\n\n\n<li>Maven -&gt; User settings file<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>install into a directory: eg.D:\\app\\maven\\NEXUS.xxx.com_base64.cerD:\\app\\maven\\NEXUS.xxx.com_base64.jks Change maven VM Options: Change setting : You can find the setting.xml under root directory<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-885","post","type-post","status-publish","format-standard","hentry","category-java"],"_links":{"self":[{"href":"http:\/\/22pig.com\/index.php?rest_route=\/wp\/v2\/posts\/885","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/22pig.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/22pig.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/22pig.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/22pig.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=885"}],"version-history":[{"count":3,"href":"http:\/\/22pig.com\/index.php?rest_route=\/wp\/v2\/posts\/885\/revisions"}],"predecessor-version":[{"id":908,"href":"http:\/\/22pig.com\/index.php?rest_route=\/wp\/v2\/posts\/885\/revisions\/908"}],"wp:attachment":[{"href":"http:\/\/22pig.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=885"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/22pig.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=885"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/22pig.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=885"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}