{"action":"created","issue":{"url":"https://api.github.com/repos/mojohaus/sqlj-maven-plugin/issues/2","labels_url":"https://api.github.com/repos/mojohaus/sqlj-maven-plugin/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mojohaus/sqlj-maven-plugin/issues/2/comments","events_url":"https://api.github.com/repos/mojohaus/sqlj-maven-plugin/issues/2/events","html_url":"https://github.com/mojohaus/sqlj-maven-plugin/pull/2","id":115564693,"number":2,"title":"Recovering SQLJ version in Oracle's translator.jar","user":{"login":"finxster","id":6675310,"avatar_url":"https://avatars.githubusercontent.com/u/6675310?v=3","gravatar_id":"","url":"https://api.github.com/users/finxster","html_url":"https://github.com/finxster","followers_url":"https://api.github.com/users/finxster/followers","following_url":"https://api.github.com/users/finxster/following{/other_user}","gists_url":"https://api.github.com/users/finxster/gists{/gist_id}","starred_url":"https://api.github.com/users/finxster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finxster/subscriptions","organizations_url":"https://api.github.com/users/finxster/orgs","repos_url":"https://api.github.com/users/finxster/repos","events_url":"https://api.github.com/users/finxster/events{/privacy}","received_events_url":"https://api.github.com/users/finxster/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-11-06T18:50:12Z","updated_at":"2015-11-09T20:52:37Z","closed_at":"2015-11-08T12:23:25Z","pull_request":{"url":"https://api.github.com/repos/mojohaus/sqlj-maven-plugin/pulls/2","html_url":"https://github.com/mojohaus/sqlj-maven-plugin/pull/2","diff_url":"https://github.com/mojohaus/sqlj-maven-plugin/pull/2.diff","patch_url":"https://github.com/mojohaus/sqlj-maven-plugin/pull/2.patch"},"body":"Hi!\r\n\r\nUsing Oracle's translator.jar, i'm catching a NoSuchMethodException for sqlj.tools.Sqlj#getVersion() method. This is because sqlj.tools.Sqlj#getVersion() is private.\r\n\r\nThere's a public method to get sqlj's version, i'm calling it if sqlj.tools.Sqlj#getVersion() fails.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/mojohaus/sqlj-maven-plugin/issues/comments/155189737","html_url":"https://github.com/mojohaus/sqlj-maven-plugin/pull/2#issuecomment-155189737","issue_url":"https://api.github.com/repos/mojohaus/sqlj-maven-plugin/issues/2","id":155189737,"user":{"login":"finxster","id":6675310,"avatar_url":"https://avatars.githubusercontent.com/u/6675310?v=3","gravatar_id":"","url":"https://api.github.com/users/finxster","html_url":"https://github.com/finxster","followers_url":"https://api.github.com/users/finxster/followers","following_url":"https://api.github.com/users/finxster/following{/other_user}","gists_url":"https://api.github.com/users/finxster/gists{/gist_id}","starred_url":"https://api.github.com/users/finxster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finxster/subscriptions","organizations_url":"https://api.github.com/users/finxster/orgs","repos_url":"https://api.github.com/users/finxster/repos","events_url":"https://api.github.com/users/finxster/events{/privacy}","received_events_url":"https://api.github.com/users/finxster/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T20:52:37Z","updated_at":"2015-11-09T20:52:37Z","body":"@davidkarlsen no problem :-)\r\n\r\nBut even with this new version, I've got the same error.\r\n\r\nIt's a little strange because seems like 1.3 release was built on jdk7, too...\r\n\r\nThe new error:\r\n```\r\n[WARNING] Error injecting: org.codehaus.mojo.sqlj.SqljMojo\r\njava.lang.TypeNotPresentException: Type org.codehaus.mojo.sqlj.SqljMojo not present\r\n        at org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:115)\r\n        at org.eclipse.sisu.space.NamedClass.load(NamedClass.java:46)\r\n        at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)\r\n        at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)\r\n        at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:55)\r\n        at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)\r\n        at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100)\r\n        at org.eclipse.sisu.plexus.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:133)\r\n        at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:109)\r\n        at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55)\r\n        at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)\r\n        at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:47)\r\n        at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:997)\r\n        at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1047)\r\n        at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:993)\r\n        at com.google.inject.Scopes$1$1.get(Scopes.java:59)\r\n        at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)\r\n        at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)\r\n        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:260)\r\n        at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:252)\r\n        at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:459)\r\n        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:97)\r\n        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)\r\n        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)\r\n        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)\r\n        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)\r\n        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)\r\n        at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)\r\n        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)\r\n        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)\r\n        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)\r\n        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)\r\n        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)\r\n        at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)\r\n        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)\r\n        at java.lang.reflect.Method.invoke(Method.java:597)\r\n        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)\r\n        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)\r\n        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)\r\n        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)\r\nCaused by: java.lang.UnsupportedClassVersionError: org/codehaus/mojo/sqlj/SqljMojo : Unsupported major.minor version 51.0\r\n        at java.lang.ClassLoader.defineClass1(Native Method)\r\n        at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)\r\n        at java.lang.ClassLoader.defineClass(ClassLoader.java:615)\r\n        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)\r\n        at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)\r\n        at java.net.URLClassLoader.access$000(URLClassLoader.java:58)\r\n        at java.net.URLClassLoader$1.run(URLClassLoader.java:197)\r\n        at java.security.AccessController.doPrivileged(Native Method)\r\n        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)\r\n        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:389)\r\n        at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)\r\n        at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:259)\r\n        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:242)\r\n        at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:227)\r\n        at org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:107)\r\n        ... 41 more\r\n```\r\n\r\nMANIFEST.MF for 1.3 version:\r\n```\r\nManifest-Version: 1.0\r\nBuilt-By: anders\r\nBuild-Jdk: 1.7.0_25\r\nCreated-By: Apache Maven 3.0.5\r\nArchiver-Version: Plexus Archiver\r\n```\r\n\r\nMANIFEST.MF for 1.4-SNAPSHOT version:\r\n```\r\nManifest-Version: 1.0\r\nBuilt-By: david\r\nBuild-Jdk: 1.7.0_80\r\nCreated-By: Apache Maven 3.3.3\r\nArchiver-Version: Plexus Archiver\r\n```"}}