[
https://issues.apache.org/jira/browse/POOL-416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nathan Clark updated POOL-416:
------------------------------
Description:
The latest version of commons-pool2 (2.12.0) is set to commons-parent version
62 which seems to have a bug in the JDK Profile for 9 or greater.
{code:xml}
profile>
<id>jdk9-compiler</id>
<activation>
<jdk>[9</jdk>
</activation>
{code}
{code:java}
Unable to read the metadata file for artifact
'org.apache.commons:commons-pool2:jar': Invalid JDK version in profile
'jdk9-compiler': Unbounded range: [9 for project
org.apache.commons:commons-parent org.apache.commons:commons-pool2:jar:2.12.0
{code}
I was pulling in commons-pool2 via commons-dbcp2 into my project so to work
around the issue I explicitly set to the version of commons-pool2 to version
2.11.1
I think solution is that commons-pool2 just needs a new version built. I
checked the repository and I see that the pom.xml has already been updated to a
newer version [https://github.com/apache/commons-pool/blob/POOL_2_X/pom.xml]
was:
The latest version of commons-pool2 (2.12.0) is set to commons-parent version
62 which seems to have a bug in the JDK Profile for 9 or greater.
{code:xml}
profile>
<id>jdk9-compiler</id>
<activation>
<jdk>[9</jdk>
</activation>
{code}
{code:java}
Unable to read the metadata file for artifact
'org.apache.commons:commons-pool2:jar': Invalid JDK version in profile
'jdk9-compiler': Unbounded range: [9 for project
org.apache.commons:commons-parent org.apache.commons:commons-pool2:jar:2.12.0
{code}
I was pulling in commons-pool2 via commons-dbcp2 into my project so to work
around the issue I explicitly set to the version of commons-pool2 to version
2.11.1
I think solution is that commons-pool2 needs the commons-parent version updated
to the latest
> commons-pool2 2.12.0 using commons-parent 62 with invalid JDK Profile
> ---------------------------------------------------------------------
>
> Key: POOL-416
> URL: https://issues.apache.org/jira/browse/POOL-416
> Project: Commons Pool
> Issue Type: Bug
> Reporter: Nathan Clark
> Priority: Major
>
> The latest version of commons-pool2 (2.12.0) is set to commons-parent version
> 62 which seems to have a bug in the JDK Profile for 9 or greater.
> {code:xml}
> profile>
> <id>jdk9-compiler</id>
> <activation>
> <jdk>[9</jdk>
> </activation>
> {code}
>
> {code:java}
> Unable to read the metadata file for artifact
> 'org.apache.commons:commons-pool2:jar': Invalid JDK version in profile
> 'jdk9-compiler': Unbounded range: [9 for project
> org.apache.commons:commons-parent org.apache.commons:commons-pool2:jar:2.12.0
> {code}
> I was pulling in commons-pool2 via commons-dbcp2 into my project so to work
> around the issue I explicitly set to the version of commons-pool2 to version
> 2.11.1
>
> I think solution is that commons-pool2 just needs a new version built. I
> checked the repository and I see that the pom.xml has already been updated to
> a newer version
> [https://github.com/apache/commons-pool/blob/POOL_2_X/pom.xml]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)