{"action":"created","issue":{"url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin/issues/237","repository_url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin","labels_url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin/issues/237/comments","events_url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin/issues/237/events","html_url":"https://github.com/javafx-maven-plugin/javafx-maven-plugin/issues/237","id":180913195,"number":237,"title":"Duplicated maven lifecycle","user":{"login":"myron0815","id":1846737,"avatar_url":"https://avatars.githubusercontent.com/u/1846737?v=3","gravatar_id":"","url":"https://api.github.com/users/myron0815","html_url":"https://github.com/myron0815","followers_url":"https://api.github.com/users/myron0815/followers","following_url":"https://api.github.com/users/myron0815/following{/other_user}","gists_url":"https://api.github.com/users/myron0815/gists{/gist_id}","starred_url":"https://api.github.com/users/myron0815/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myron0815/subscriptions","organizations_url":"https://api.github.com/users/myron0815/orgs","repos_url":"https://api.github.com/users/myron0815/repos","events_url":"https://api.github.com/users/myron0815/events{/privacy}","received_events_url":"https://api.github.com/users/myron0815/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin/labels/needs%20investigation","name":"needs investigation","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-04T14:43:45Z","updated_at":"2016-10-04T20:30:16Z","closed_at":null,"body":"\"mvn clean deploy\" works\r\n\"mvn clean install deploy\" is executing a duplicated maven lifecycle when javafx-maven-plugin is there!\r\n\r\n(basically we're using \"clean install javadoc:jar sources:jar deploy\" on buildserver, to get some additional jars; but this short \"install deploy\" already has this issue)\r\n\r\nUsually \"deploy\" skips all phases it has already done - but when adding your plugin, it completely starts over from beginning (Maven behaves immediately correct when commenting out that plugin)\r\nAre you using some special plugin mojo annotations which interfere with the default lifecycle?\r\n\r\nexecution plan for \"clean deploy\":\r\n> [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ myApp ---\r\n> [INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ myApp ---\r\n> [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ myApp ---\r\n> [INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @ myApp ---\r\n> [INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ myApp ---\r\n> [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ myApp ---\r\n> [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ myApp ---\r\n> [INFO] --- maven-source-plugin:2.4:jar-no-fork (attach-sources-nofork) @ myApp ---\r\n> [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ myApp ---\r\n> [INFO] --- javafx-maven-plugin:8.7.0:build-jar (create-jfxjar) @ myApp ---\r\n> [INFO] --- javafx-maven-plugin:8.7.0:build-native (create-native) @ myApp ---\r\n> [INFO] --- maven-assembly-plugin:2.6:single (make-assembly) @ myApp ---\r\n> [INFO] --- maven-jar-plugin:2.6:test-jar (default) @ myApp ---\r\n> [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ myApp ---\r\n> [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ myApp ---\r\n\r\nexecution plan for \"clean install deploy\":\r\n> [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ myApp ---\r\n> [INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ myApp ---\r\n> [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ myApp ---\r\n> [INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @ myApp ---\r\n> [INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ myApp ---\r\n> [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ myApp ---\r\n> [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ myApp ---\r\n> [INFO] --- maven-source-plugin:2.4:jar-no-fork (attach-sources-nofork) @ myApp ---\r\n> [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ myApp ---\r\n> [INFO] --- javafx-maven-plugin:8.7.0:build-jar (create-jfxjar) @ myApp ---\r\n> [INFO] --- javafx-maven-plugin:8.7.0:build-native (create-native) @ myApp ---\r\n> [INFO] --- maven-assembly-plugin:2.6:single (make-assembly) @ myApp ---\r\n> [INFO] --- maven-jar-plugin:2.6:test-jar (default) @ myApp ---\r\n> [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ myApp ---\r\n> [INFO] --- maven-resources-plugin:3.0.1:resources (default-resources) @ myApp --- **<-- deploy restarts here!!**\r\n> [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ myApp ---\r\n> [INFO] --- maven-resources-plugin:3.0.1:testResources (default-testResources) @ myApp ---\r\n> [INFO] --- maven-compiler-plugin:3.2:testCompile (default-testCompile) @ myApp ---\r\n> [INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ myApp ---\r\n> [INFO] --- maven-jar-plugin:2.6:jar (default-jar) @ myApp ---\r\n> [INFO] --- maven-source-plugin:2.4:jar-no-fork (attach-sources-nofork) @ myApp ---\r\n> [INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ myApp ---\r\n> [INFO] --- javafx-maven-plugin:8.7.0:build-jar (create-jfxjar) @ myApp ---\r\n> [INFO] --- javafx-maven-plugin:8.7.0:build-native (create-native) @ myApp ---\r\nException: java.io.IOException: Access is denied\r\n> [INFO] --- maven-assembly-plugin:2.6:single (make-assembly) @ myApp ---\r\n> [INFO] --- maven-jar-plugin:2.6:test-jar (default) @ myApp ---\r\n> [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ myApp ---\r\n> [INFO] --- maven-deploy-plugin:2.8.2:deploy (default-deploy) @ myApp ---\r\n\r\nplugin is configured according to http://javafx-maven-plugin.github.io/ -> windows-native-mavenlifecycle (with the 2 executions)"},"comment":{"url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin/issues/comments/251503760","html_url":"https://github.com/javafx-maven-plugin/javafx-maven-plugin/issues/237#issuecomment-251503760","issue_url":"https://api.github.com/repos/javafx-maven-plugin/javafx-maven-plugin/issues/237","id":251503760,"user":{"login":"FibreFoX","id":1042579,"avatar_url":"https://avatars.githubusercontent.com/u/1042579?v=3","gravatar_id":"","url":"https://api.github.com/users/FibreFoX","html_url":"https://github.com/FibreFoX","followers_url":"https://api.github.com/users/FibreFoX/followers","following_url":"https://api.github.com/users/FibreFoX/following{/other_user}","gists_url":"https://api.github.com/users/FibreFoX/gists{/gist_id}","starred_url":"https://api.github.com/users/FibreFoX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FibreFoX/subscriptions","organizations_url":"https://api.github.com/users/FibreFoX/orgs","repos_url":"https://api.github.com/users/FibreFoX/repos","events_url":"https://api.github.com/users/FibreFoX/events{/privacy}","received_events_url":"https://api.github.com/users/FibreFoX/received_events","type":"User","site_admin":false},"created_at":"2016-10-04T20:30:16Z","updated_at":"2016-10-04T20:30:16Z","body":"To reproduce I used some project where some plugin was added with some execution to the verify-phase, makes me even more to consider this as non-bug. Seems like normal behaviour of maven when calling two phases where one contains the other."}}
{"actor":{"display_login":"FibreFoX"}}