{"id":14,"date":"2009-07-27T15:47:08","date_gmt":"2009-07-27T14:47:08","guid":{"rendered":"http:\/\/www.flamingpenguin.co.uk\/blog\/?p=14"},"modified":"2009-07-27T17:54:20","modified_gmt":"2009-07-27T16:54:20","slug":"maven-default-execution-ids","status":"publish","type":"post","link":"https:\/\/www.flamingpenguin.co.uk\/blog\/2009\/07\/27\/maven-default-execution-ids\/","title":{"rendered":"Maven Default Execution Ids"},"content":{"rendered":"<p>Maven <a href=\"http:\/\/maven.apache.org\/guides\/mini\/guide-default-execution-ids.html\">execution IDs<\/a> have changed in maven versions greater than 2.2.0.<\/p>\n<p>It seems that you can disable a default a default execution by binding it to the phase &#8220;none&#8221;:<\/p>\n<pre lang=\"xml\">\r\n<plugin>\r\n   <groupId>org.apache.maven.plugins<\/groupId>\r\n   <artifactId>maven-dependency-plugin<\/artifactId>\r\n   <executions>\r\n      <execution>\r\n         <id>default<\/id>\r\n         <goals>\r\n            <goal>unpack<\/goal>\r\n         <\/goals>\r\n         <phase>none<\/phase>\r\n      <\/execution>\r\n      <execution>\r\n         <id>unpack<\/id>\r\n         <phase>process-resources<\/phase>\r\n         <goals>\r\n            <goal>unpack<\/goal>\r\n         <\/goals>\r\n         <configuration>\r\n            <artifactItems>\r\n               <artifactItem>\r\n                  [...]\r\n               <\/artifactItem>\r\n            <\/artifactItems>\r\n         <\/configuration>\r\n      <\/execution>\r\n   <\/executions>\r\n<\/plugin>\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Maven execution IDs have changed in maven versions greater than 2.2.0. It seems that you can disable a default a default execution by binding it to the phase &#8220;none&#8221;: org.apache.maven.plugins maven-dependency-plugin default unpack none unpack process-resources unpack [&#8230;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[37,18],"class_list":["post-14","post","type-post","status-publish","format-standard","hentry","category-java","tag-java","tag-maven"],"_links":{"self":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/posts\/14","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=14"}],"version-history":[{"count":0,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/posts\/14\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flamingpenguin.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}