{"action":"closed","issue":{"url":"https://api.github.com/repos/apigee/apigee-deploy-maven-plugin/issues/25","labels_url":"https://api.github.com/repos/apigee/apigee-deploy-maven-plugin/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/apigee/apigee-deploy-maven-plugin/issues/25/comments","events_url":"https://api.github.com/repos/apigee/apigee-deploy-maven-plugin/issues/25/events","html_url":"https://github.com/apigee/apigee-deploy-maven-plugin/issues/25","id":55086305,"number":25,"title":"Configure happens twice with recommended pom configuration.","user":{"login":"michaelarusso","id":1696043,"avatar_url":"https://avatars.githubusercontent.com/u/1696043?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelarusso","html_url":"https://github.com/michaelarusso","followers_url":"https://api.github.com/users/michaelarusso/followers","following_url":"https://api.github.com/users/michaelarusso/following{/other_user}","gists_url":"https://api.github.com/users/michaelarusso/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelarusso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelarusso/subscriptions","organizations_url":"https://api.github.com/users/michaelarusso/orgs","repos_url":"https://api.github.com/users/michaelarusso/repos","events_url":"https://api.github.com/users/michaelarusso/events{/privacy}","received_events_url":"https://api.github.com/users/michaelarusso/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-21T22:22:35Z","updated_at":"2015-03-05T08:53:36Z","closed_at":"2015-03-05T08:53:36Z","body":"When you configure the execution in the pom file like the following:\r\n\r\n````\r\n<plugin>\r\n   <groupId>io.apigee.build-tools.enterprise4g</groupId>\r\n   <artifactId>apigee-edge-maven-plugin</artifactId>\r\n   <version>1.0.0</version>\r\n   <executions>\r\n      <execution>\r\n         <id>configure-bundle</id>\r\n         <phase>package</phase>\r\n         <goals>\r\n            <goal>configure</goal>\r\n         </goals>\r\n      </execution>\r\n      <execution>\r\n         <id>deploy-bundle</id>\r\n         <phase>install</phase>\r\n         <goals>\r\n            <goal>deploy</goal>\r\n         </goals>\r\n      </execution>\r\n   </executions>\r\n</plugin>\r\n````  \r\n\r\npackaging occurs twice and you'll see duplicate log statements zipping the app bundle.  The deploy goal executes the package phase again and is also configured for package phase.\r\n"}}