Hi
We are trying to build a Maven project that specifies its dependencies with maven ranges.
One of its dependencies is like this:
<dependency>
<groupId>com.oracle.servicebus</groupId>
<artifactId>client</artifactId>
<version>[12.1.3,12.1.4)</version>
<type>pom</type>
</dependency>
which as far as I can tell is a legal version range, however when the request hits nexus it fails with an internal server error
Caused by: java.net.URISyntaxException: Illegal character in path at index 30: /com/oracle/servicebus/client/[12.2.1,12.2.2)/client-[12.2.1,12.2.2).pom
at java.net.URI$Parser.fail(URI.java:2848) [na:1.8.0_112]
at java.net.URI$Parser.checkChars(URI.java:3021) [na:1.8.0_112]
at java.net.URI$Parser.parseHierarchical(URI.java:3105) [na:1.8.0_112]
at java.net.URI$Parser.parse(URI.java:3063) [na:1.8.0_112]
at java.net.URI.<init>(URI.java:588) [na:1.8.0_112]
at java.net.URI.create(URI.java:850) [na:1.8.0_112]
This is despite the URL being requested has URL encoded [ to %5B
I am not sure if this is a bug in Maven, Nexus or the pom.xml as I don't know which part actually does the resolving of version range
Can someone help with clues
Best regards
Henrik Lynggaard