{"action":"created","issue":{"url":"https://api.github.com/repos/smoope/j2objc-maven-plugin/issues/1","labels_url":"https://api.github.com/repos/smoope/j2objc-maven-plugin/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/smoope/j2objc-maven-plugin/issues/1/comments","events_url":"https://api.github.com/repos/smoope/j2objc-maven-plugin/issues/1/events","html_url":"https://github.com/smoope/j2objc-maven-plugin/issues/1","id":125381364,"number":1,"title":"Works with Maven 3.0.5, but fails with Maven 3.1.1, 3.2.5 and 3.3.3 and maybe others","user":{"login":"dholzenburg","id":16592637,"avatar_url":"https://avatars.githubusercontent.com/u/16592637?v=3","gravatar_id":"","url":"https://api.github.com/users/dholzenburg","html_url":"https://github.com/dholzenburg","followers_url":"https://api.github.com/users/dholzenburg/followers","following_url":"https://api.github.com/users/dholzenburg/following{/other_user}","gists_url":"https://api.github.com/users/dholzenburg/gists{/gist_id}","starred_url":"https://api.github.com/users/dholzenburg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dholzenburg/subscriptions","organizations_url":"https://api.github.com/users/dholzenburg/orgs","repos_url":"https://api.github.com/users/dholzenburg/repos","events_url":"https://api.github.com/users/dholzenburg/events{/privacy}","received_events_url":"https://api.github.com/users/dholzenburg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-07T12:02:43Z","updated_at":"2016-01-07T14:57:21Z","closed_at":null,"body":"Hi,\r\n\r\nfirst of all, thank you for providing this plugin. It's very helpful in my opinion.\r\n\r\nI had problems using it with Maven 3.3.3. It works with Maven 3.0.5 (version bundled with Netbeans). I tried versions 3.1.1 and 3.2.5 and it failed as well. Using versions >= 3.1.x it complains about\r\n\r\njava.lang.ClassNotFoundException: org.sonatype.aether.resolution.DependencyResolutionException\r\n\r\nThis issue seems to be known: https://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound\r\n\r\nWhich version of Maven do you use?\r\n\r\nThis is my full output using Maven 3.2.5:\r\n\r\ncd /Users/blabla/NetBeansProjects/j2objc-test; JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_05.jdk/Contents/Home M2_HOME=/opt/apache-maven-3.2.5 /opt/apache-maven-3.2.5/bin/mvn j2objc:convert\r\nScanning for projects...\r\n                                                                        \r\n------------------------------------------------------------------------\r\nBuilding j2objc-test 0.1\r\n------------------------------------------------------------------------\r\n\r\n--- j2objc-maven-plugin:1.0.0:convert (default-cli) @ j2objc-test ---\r\nError injecting: com.smoope.utils.J2ObjCConverterMojo\r\njava.lang.NoClassDefFoundError: org/sonatype/aether/resolution/DependencyResolutionException\r\n\tat java.lang.Class.getDeclaredConstructors0(Native Method)\r\n\tat java.lang.Class.privateGetDeclaredConstructors(Class.java:2658)\r\n\tat java.lang.Class.getDeclaredConstructors(Class.java:2007)\r\n\tat com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245)\r\n\tat com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99)\r\n\tat com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:657)\r\n\tat com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:875)\r\n\tat com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:798)\r\n\tat com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:281)\r\n\tat com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:213)\r\n\tat com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:998)\r\n\tat com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1031)\r\n\tat com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:994)\r\n\tat com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1044)\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:54)\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:113)\r\n\tat org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)\r\n\tat com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:122)\r\n\tat com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)\r\n\tat com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)\r\n\tat com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:46)\r\n\tat com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1009)\r\n\tat com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1059)\r\n\tat com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1005)\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:263)\r\n\tat org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)\r\n\tat org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:464)\r\n\tat org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:119)\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:116)\r\n\tat org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)\r\n\tat org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)\r\n\tat org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)\r\n\tat org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)\r\n\tat org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)\r\n\tat org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)\r\n\tat org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)\r\n\tat org.apache.maven.cli.MavenCli.main(MavenCli.java:160)\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:483)\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\nCaused by: java.lang.ClassNotFoundException: org.sonatype.aether.resolution.DependencyResolutionException\r\n\tat org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)\r\n\tat org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)\r\n\tat org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)\r\n\tat org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)\r\n\t... 54 more\r\n------------------------------------------------------------------------\r\nBUILD FAILURE\r\n------------------------------------------------------------------------\r\nTotal time: 1.354 s\r\nFinished at: 2016-01-07T12:51:05+01:00\r\nFinal Memory: 9M/176M\r\n------------------------------------------------------------------------\r\nFailed to execute goal com.smoope.utils:j2objc-maven-plugin:1.0.0:convert (default-cli) on project j2objc-test: Execution default-cli of goal com.smoope.utils:j2objc-maven-plugin:1.0.0:convert failed: A required class was missing while executing com.smoope.utils:j2objc-maven-plugin:1.0.0:convert: org/sonatype/aether/resolution/DependencyResolutionException\r\n-----------------------------------------------------\r\nrealm =    plugin>com.smoope.utils:j2objc-maven-plugin:1.0.0\r\nstrategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy\r\nurls[0] = file:/Users/blabla/.m2/repository/com/smoope/utils/j2objc-maven-plugin/1.0.0/j2objc-maven-plugin-1.0.0.jar\r\nurls[1] = file:/Users/blabla/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar\r\nurls[2] = file:/Users/blabla/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar\r\nurls[3] = file:/Users/blabla/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar\r\nurls[4] = file:/Users/blabla/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.2/org.eclipse.sisu.inject-0.3.2.jar\r\nurls[5] = file:/Users/blabla/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar\r\nurls[6] = file:/Users/blabla/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar\r\nurls[7] = file:/Users/blabla/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.11/plexus-interpolation-1.11.jar\r\nurls[8] = file:/Users/blabla/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar\r\nurls[9] = file:/Users/blabla/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar\r\nurls[10] = file:/Users/blabla/.m2/repository/com/jcabi/jcabi-aether/0.10.1/jcabi-aether-0.10.1.jar\r\nurls[11] = file:/Users/blabla/.m2/repository/org/hibernate/hibernate-validator/5.1.2.Final/hibernate-validator-5.1.2.Final.jar\r\nurls[12] = file:/Users/blabla/.m2/repository/org/jboss/logging/jboss-logging/3.1.3.GA/jboss-logging-3.1.3.GA.jar\r\nurls[13] = file:/Users/blabla/.m2/repository/com/fasterxml/classmate/1.0.0/classmate-1.0.0.jar\r\nurls[14] = file:/Users/blabla/.m2/repository/com/jcabi/jcabi-aspects/0.18/jcabi-aspects-0.18.jar\r\nurls[15] = file:/Users/blabla/.m2/repository/com/jcabi/jcabi-log/0.14.3/jcabi-log-0.14.3.jar\r\nurls[16] = file:/Users/blabla/.m2/repository/org/slf4j/slf4j-api/1.7.5/slf4j-api-1.7.5.jar\r\nurls[17] = file:/Users/blabla/.m2/repository/org/aspectj/aspectjrt/1.8.2/aspectjrt-1.8.2.jar\r\nurls[18] = file:/Users/blabla/.m2/repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar\r\nurls[19] = file:/Users/blabla/.m2/repository/org/kuali/maven/wagons/maven-s3-wagon/1.1.20/maven-s3-wagon-1.1.20.jar\r\nurls[20] = file:/Users/blabla/.m2/repository/org/kuali/common/kuali-s3/1.0.1/kuali-s3-1.0.1.jar\r\nurls[21] = file:/Users/blabla/.m2/repository/com/amazonaws/aws-java-sdk/1.4.2/aws-java-sdk-1.4.2.jar\r\nurls[22] = file:/Users/blabla/.m2/repository/org/apache/httpcomponents/httpclient/4.1/httpclient-4.1.jar\r\nurls[23] = file:/Users/blabla/.m2/repository/org/apache/httpcomponents/httpcore/4.1/httpcore-4.1.jar\r\nurls[24] = file:/Users/blabla/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar\r\nurls[25] = file:/Users/blabla/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.8.9/jackson-core-asl-1.8.9.jar\r\nurls[26] = file:/Users/blabla/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.8.9/jackson-mapper-asl-1.8.9.jar\r\nurls[27] = file:/Users/blabla/.m2/repository/org/springframework/spring-core/3.1.2.RELEASE/spring-core-3.1.2.RELEASE.jar\r\nurls[28] = file:/Users/blabla/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar\r\nurls[29] = file:/Users/blabla/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar\r\nurls[30] = file:/Users/blabla/.m2/repository/org/kuali/common/kuali-threads/1.0.9/kuali-threads-1.0.9.jar\r\nurls[31] = file:/Users/blabla/.m2/repository/org/slf4j/jcl-over-slf4j/1.6.4/jcl-over-slf4j-1.6.4.jar\r\nurls[32] = file:/Users/blabla/.m2/repository/org/sonatype/aether/aether-util/1.13.1/aether-util-1.13.1.jar\r\nurls[33] = file:/Users/blabla/.m2/repository/org/sonatype/aether/aether-connector-file/1.13.1/aether-connector-file-1.13.1.jar\r\nurls[34] = file:/Users/blabla/.m2/repository/org/sonatype/aether/aether-connector-asynchttpclient/1.13.1/aether-connector-asynchttpclient-1.13.1.jar\r\nurls[35] = file:/Users/blabla/.m2/repository/com/ning/async-http-client/1.6.5/async-http-client-1.6.5.jar\r\nurls[36] = file:/Users/blabla/.m2/repository/org/jboss/netty/netty/3.2.5.Final/netty-3.2.5.Final.jar\r\nurls[37] = file:/Users/blabla/.m2/repository/org/sonatype/aether/aether-connector-wagon/1.13.1/aether-connector-wagon-1.13.1.jar\r\nurls[38] = file:/Users/blabla/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.2.3/sisu-inject-bean-2.2.3.jar\r\nurls[39] = file:/Users/blabla/.m2/repository/org/sonatype/sisu/sisu-guice/3.0.3/sisu-guice-3.0.3-no_aop.jar\r\nurls[40] = file:/Users/blabla/.m2/repository/org/apache/commons/commons-lang3/3.3.2/commons-lang3-3.3.2.jar\r\nurls[41] = file:/Users/blabla/.m2/repository/org/apache/maven/shared/maven-dependency-tree/2.1/maven-dependency-tree-2.1.jar\r\nurls[42] = file:/Users/blabla/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar\r\nNumber of foreign imports: 1\r\nimport: Entry[import  from realm ClassRealm[maven.api, parent: null]]\r\n\r\n-----------------------------------------------------: org.sonatype.aether.resolution.DependencyResolutionException\r\n-> [Help 1]\r\n\r\nTo see the full stack trace of the errors, re-run Maven with the -e switch.\r\nRe-run Maven using the -X switch to enable full debug logging.\r\n\r\nFor more information about the errors and possible solutions, please read the following articles:\r\n[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound"},"comment":{"url":"https://api.github.com/repos/smoope/j2objc-maven-plugin/issues/comments/169686269","html_url":"https://github.com/smoope/j2objc-maven-plugin/issues/1#issuecomment-169686269","issue_url":"https://api.github.com/repos/smoope/j2objc-maven-plugin/issues/1","id":169686269,"user":{"login":"vicmosin","id":612207,"avatar_url":"https://avatars.githubusercontent.com/u/612207?v=3","gravatar_id":"","url":"https://api.github.com/users/vicmosin","html_url":"https://github.com/vicmosin","followers_url":"https://api.github.com/users/vicmosin/followers","following_url":"https://api.github.com/users/vicmosin/following{/other_user}","gists_url":"https://api.github.com/users/vicmosin/gists{/gist_id}","starred_url":"https://api.github.com/users/vicmosin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vicmosin/subscriptions","organizations_url":"https://api.github.com/users/vicmosin/orgs","repos_url":"https://api.github.com/users/vicmosin/repos","events_url":"https://api.github.com/users/vicmosin/events{/privacy}","received_events_url":"https://api.github.com/users/vicmosin/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T14:57:21Z","updated_at":"2016-01-07T14:57:21Z","body":"Hi, thanks for response.\r\nYes, you are right, it is indeed https://cwiki.apache.org/confluence/display/MAVEN/AetherClassNotFound.\r\n\r\nI released 1.0.1 but it will take some time until you can get it from maven central repo. Meanwhile you can try 1.0.1-SNAPSHOT"}}