{"action":"created","issue":{"url":"https://api.github.com/repos/messapix/jfxmobile-maven-plugin/issues/1","labels_url":"https://api.github.com/repos/messapix/jfxmobile-maven-plugin/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/messapix/jfxmobile-maven-plugin/issues/1/comments","events_url":"https://api.github.com/repos/messapix/jfxmobile-maven-plugin/issues/1/events","html_url":"https://github.com/messapix/jfxmobile-maven-plugin/issues/1","id":126707869,"number":1,"title":"build failure","user":{"login":"aminabs","id":13463511,"avatar_url":"https://avatars.githubusercontent.com/u/13463511?v=3","gravatar_id":"","url":"https://api.github.com/users/aminabs","html_url":"https://github.com/aminabs","followers_url":"https://api.github.com/users/aminabs/followers","following_url":"https://api.github.com/users/aminabs/following{/other_user}","gists_url":"https://api.github.com/users/aminabs/gists{/gist_id}","starred_url":"https://api.github.com/users/aminabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aminabs/subscriptions","organizations_url":"https://api.github.com/users/aminabs/orgs","repos_url":"https://api.github.com/users/aminabs/repos","events_url":"https://api.github.com/users/aminabs/events{/privacy}","received_events_url":"https://api.github.com/users/aminabs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-14T17:38:02Z","updated_at":"2016-01-15T10:29:26Z","closed_at":null,"body":"Hi there,\r\nI'm trying to compile a simple fx application for android. Up to now, I've found two different plugins and want to know what the difference is. The first one is the jfxmobile-maven-plugin (from this website) and the second one is jfxmobile-plugin as follows:\r\n```\r\n<plugin>\r\n                <groupId>org.javafxports</groupId>\r\n               <artifactId>jfxmobile-plugin</artifactId>\r\n                <version>1.0.7</version>\r\n....\r\n</plugin>\r\n```\r\nAnother question I have is about the usage of the two plugins. I've followed the example for the jfxmobile-maven-plugin and created a pom exactly as mentioned there. However, I've faced the following error while executing 'mvn package':\r\n```\r\nError injecting: com.messapix.ftatr.jfxmobile.maven.plugin.android.lifecycle.ApkMojo\r\ncom.google.inject.ProvisionException: Guice provision errors:\r\n\r\n1) No implementation for org.apache.maven.execution.MavenSession was bound.\r\n  at ClassRealm[plugin>com.messapix.ftatr.jfxmobile:jfxmobile-maven-plugin:1.0.0-b2, parent: sun.misc.Launcher$AppClassLoader@70dea4e]\r\n  while locating com.messapix.ftatr.jfxmobile.maven.plugin.MobileExpressionEvaluator\r\n  at ClassRealm[plugin>com.messapix.ftatr.jfxmobile:jfxmobile-maven-plugin:1.0.0-b2, parent: sun.misc.Launcher$AppClassLoader@70dea4e]\r\n  while locating com.messapix.ftatr.jfxmobile.maven.plugin.MobileConf\r\n  while locating com.messapix.ftatr.jfxmobile.maven.plugin.android.lifecycle.ApkMojo\r\n\r\n1 error\r\n\tat com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1006)\r\n\tat com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1032)\r\n\tat org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)\r\n\tat com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)\r\n\tat com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)\r\n\tat com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)\r\n\tat com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)\r\n\tat org.eclipse.sisu.plexus.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:133)\r\n\tat com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)\r\n\tat com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)\r\n\tat com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)\r\n\tat com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)\r\n\tat com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047)\r\n\tat com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)\r\n\tat com.google.inject.Scopes$1$1.get(Scopes.java:59)\r\n\tat org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)\r\n\tat org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)\r\n\tat org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260)\r\n\tat org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:252)\r\n\tat org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:459)\r\n\tat org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:97)\r\n\tat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)\r\n\tat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)\r\n\tat org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)\r\n\tat org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)\r\n\tat org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)\r\n\tat org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)\r\n\tat org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)\r\n\tat org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)\r\n\tat org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)\r\n\tat org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)\r\n\tat org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)\r\n\tat org.apache.maven.cli.MavenCli.main(MavenCli.java:158)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)\r\n\tat org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)\r\n```\r\nand here is the pom's:\r\n```\r\n...\r\n<packaging>jar</packaging>\r\n...\r\n<plugin>\r\n                <groupId>com.messapix.ftatr.jfxmobile</groupId>\r\n                <artifactId>jfxmobile-maven-plugin</artifactId>\r\n                <version>1.0.0-b2</version>\r\n                <extensions>true</extensions>\r\n                <configuration>\r\n                    <mainClass>com.rayanova.test.Main</mainClass>\r\n                    <android>\r\n                        <manifest>src/android/AndroidManifest.xml</manifest>\r\n                        <dependencies>\r\n                            <dependency>\r\n                                <groupId>com.gluonhq</groupId>\r\n                                <artifactId>charm-down-android</artifactId>\r\n                                <version>1.0.0</version>\r\n                                <scope>runtime</scope>\r\n                            </dependency>\r\n                        </dependencies>\r\n                    </android>\r\n                    <desktop>\r\n                    </desktop>\r\n                </configuration>\r\n                <executions>\r\n                    <execution>\r\n                        <id>someid</id>\r\n                        <phase>package</phase>\r\n                        <goals>\r\n                            <goal>android-apk</goal>\r\n                        </goals>\r\n                    </execution>\r\n                </executions>\r\n            </plugin>\r\n```"},"comment":{"url":"https://api.github.com/repos/messapix/jfxmobile-maven-plugin/issues/comments/171927936","html_url":"https://github.com/messapix/jfxmobile-maven-plugin/issues/1#issuecomment-171927936","issue_url":"https://api.github.com/repos/messapix/jfxmobile-maven-plugin/issues/1","id":171927936,"user":{"login":"agloria","id":12968677,"avatar_url":"https://avatars.githubusercontent.com/u/12968677?v=3","gravatar_id":"","url":"https://api.github.com/users/agloria","html_url":"https://github.com/agloria","followers_url":"https://api.github.com/users/agloria/followers","following_url":"https://api.github.com/users/agloria/following{/other_user}","gists_url":"https://api.github.com/users/agloria/gists{/gist_id}","starred_url":"https://api.github.com/users/agloria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agloria/subscriptions","organizations_url":"https://api.github.com/users/agloria/orgs","repos_url":"https://api.github.com/users/agloria/repos","events_url":"https://api.github.com/users/agloria/events{/privacy}","received_events_url":"https://api.github.com/users/agloria/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T10:29:26Z","updated_at":"2016-01-15T10:29:26Z","body":"If you want to use maven the correct plugin is:\r\n    <plugin>\r\n        <groupId>com.messapix.ftatr.jfxmobile</groupId>\r\n        <artifactId>jfxmobile-maven-plugin</artifactId>\r\n        <version>1.0.0-b2</version>\r\n        ...\r\n    </plugin>\r\n\r\nwhich version of maver are you using? The error is mostly due to wrong maven version."}}