Skip to content

parent/pom.xml artifacts not picking the versions of artifacts correctly due to errors in that pom #3296

@ratnajothy

Description

@ratnajothy

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:

  1. 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>
  1. 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 ....

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions