Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not determine java version from '9.0.1' #39

Open
jnorthrup opened this issue Nov 5, 2017 · 2 comments
Open

Could not determine java version from '9.0.1' #39

jnorthrup opened this issue Nov 5, 2017 · 2 comments

Comments

@jnorthrup
Copy link

[ERROR] Failed to execute goal org.fortasoft:gradle-maven-plugin:1.0.8:invoke (default) on project connected: Execution default of goal org.fortasoft:gradle-maven-plugin:1.0.8:invoke failed: Could not determine java version from '9.0.1'. -> [Help 1]

intellij eap latest, maven bundled 3.3.9,
RELEASE jdk9

@mp-loki
Copy link

mp-loki commented Nov 8, 2017

Same issue here. Looks like the gradle-tooling version has to be updated to 4.3, as described here

@raydac
Copy link

raydac commented Jan 8, 2018

underlying gradle tooling api throws the error, as a solution is to override the dependency for the plugin

<plugin>
    <groupId>org.fortasoft</groupId>
    <artifactId>gradle-maven-plugin</artifactId>
    <version>1.0.8</version>
    <dependencies>
       <dependency>
           <groupId>org.gradle</groupId>
           <artifactId>gradle-tooling-api</artifactId>
           <version>4.2.1</version>
       </dependency>
    </dependencies>

    <configuration>
       <gradleVersion>4.2.1</gradleVersion>
            <tasks>
                 <task>clean</task>
                 <task>${gradleGoal}</task>
             </tasks>
    </configuration>
    <executions>
        <execution>
            <phase>compile</phase>
             <goals>
                  <goal>invoke</goal>
              </goals>
        </execution>
   </executions>
</plugin>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants