Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ratnajothy opened this issue May 22, 2022 · 0 comments
Labels

Comments

@ratnajothy
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants