-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Closed
Description
According to Maven 3.0.4 (maybe other versions) there is an invalid version
range in the 2.3 POM in the doclint-java8-disable profile.
<activation>
<jdk>[1.8,</jdk>
</activation>
should possibly be
<activation>
<jdk>[1.8,)</jdk>
</activation>
What steps will reproduce the problem?
1. Create a maven project that depends on gson 2.3
2. Try and build
What is the expected output? What do you see instead?
It should build. Instead I get errors like "Invalid JDK version in profile
'doclint-java8-disable': Unbounded range [1.8, for project
com.google.code.gson:gson [etc]"
What version of the product are you using? On what operating system?
gson 2.3 with JDK 7 and Maven 3.0.4
Please provide any additional information below.
Seems to be a common error, I'd guess copy and pasted from Stack Overflow.
https://github.com/junit-team/junit/issues/965
https://github.com/atteo/parent/issues/1
http://maven.apache.org/enforcer/enforcer-rules/versionRanges.html implies it
must have the trailing parenthese.
Original issue reported on code.google.com by [email protected] on 15 Aug 2014 at 9:32
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels