-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Invalid version range in Maven doclint-java8-disable profile with gson 2.6.2 #819
Comments
Submitted fix in #820 |
Hi, i have the same error. My problem is maven-ant-tasks. It is no longer maintained and it works with jdk lower then 1.8 so because of it, it comes to a error. The only solution that i found is to use gson 2.6.1. |
I had the same issue and I think the error comes from <!--JavaDoc profile-->
<profile>
<id>doclint-java8-disable</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
</configuration>
</plugin>
</plugins>
</build>
</profile> It simply disables the doclint for Java8. The difference with the original settings is: - <jdk>[1.8,</jdk>
+ <jdk>[1.8,)</jdk> This error seems fixed since the |
Looks like this was fixed by #820; though the current |
Apparently, I'm running into the same problem that some people had a few versions ago (cf. #588)
Project ID: com.google.code.gson:gson-parent
Reason: Invalid JDK version in profile 'doclint-java8-disable': Unbounded range: [1.8, for project com.google.code.gson:gson-parent
I'm running Maven 2.2.1 but it's the first time I see this kind of problem.
The text was updated successfully, but these errors were encountered: