Description:
Errors related to versions in parent/pom.xml
- Version of poi-ooxml artifact is not picked correctly.
- Incorrect version property referenced for xmlunit artifact.
Suggestions:
- Include the defined version property orbit.version.poi.ooxml within ${} for poi-ooxml artifact, as it is missing.
- Reference the right version property for xmlunit artifact.
Affected Product Version:
- carbon-parent artifact referenced in all 4.x.x of the versions carbon-kernel are affected.
Steps to reproduce:
- Implement a custom provisioning.listener and use the parent as follows,
<parent>
<groupId>org.wso2.carbon</groupId>
<artifactId>carbon-kernel</artifactId>
<version>4.x.x</version>
</parent>
mvn clean install fails stating the following error as it could not resolve the dependency.
Could not find artifact org.wso2.orbit.org.apache.poi:poi-ooxml:jar:orbit.version.poi.ooxml ....