{"id":49,"date":"2022-06-06T13:08:44","date_gmt":"2022-06-06T11:08:44","guid":{"rendered":"https:\/\/www.cajondesastres.net\/?p=49"},"modified":"2022-06-06T13:08:44","modified_gmt":"2022-06-06T11:08:44","slug":"compilacion-con-maven-incluyendo-dependencias","status":"publish","type":"post","link":"https:\/\/www.cajondesastres.net\/?p=49","title":{"rendered":"Compilaci\u00f3n con Maven incluyendo dependencias."},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>&lt;build>\n    &lt;plugins>\n        &lt;!-- any other plugins -->\n        &lt;plugin>\n            &lt;artifactId>maven-assembly-plugin&lt;\/artifactId>\n            &lt;executions>\n                &lt;execution>\n                    &lt;phase>package&lt;\/phase>\n                    &lt;goals>\n                        &lt;goal>single&lt;\/goal>\n                    &lt;\/goals>\n                &lt;\/execution>\n            &lt;\/executions>\n            &lt;configuration>\n                &lt;descriptorRefs>\n                    &lt;descriptorRef>jar-with-dependencies&lt;\/descriptorRef>\n                &lt;\/descriptorRefs>\n                &lt;archive>\n                    &lt;manifest>\n                        &lt;mainClass>la.clase.principal&lt;\/mainClass>\n                    &lt;\/manifest>\n                &lt;\/archive>\n            &lt;\/configuration>\n        &lt;\/plugin>\n    &lt;\/plugins>\n&lt;\/build><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[4,11,12],"class_list":["post-49","post","type-post","status-publish","format-standard","hentry","category-sin-categoria","tag-informatica","tag-java","tag-maven"],"_links":{"self":[{"href":"https:\/\/www.cajondesastres.net\/index.php?rest_route=\/wp\/v2\/posts\/49","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cajondesastres.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cajondesastres.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cajondesastres.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cajondesastres.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=49"}],"version-history":[{"count":1,"href":"https:\/\/www.cajondesastres.net\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions"}],"predecessor-version":[{"id":50,"href":"https:\/\/www.cajondesastres.net\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions\/50"}],"wp:attachment":[{"href":"https:\/\/www.cajondesastres.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cajondesastres.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cajondesastres.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}