Closed josemariavillar closed 2 years ago
Thanks again @josemariavillar for the report, we'll take a look!
Not fixed yet, but we have a lead now.
This failure occurs when there is an empty <activation/>
tag in the pom
@josemariavillar We finally tracked this down and have fixed it! Thanks for reporting!
Great, @tkvangorder thank you very much for your great work. I validate it and let you know
@tkvangorder unfortunately the problem is not fixed, I have validated the solution with version 4.21.0-SNAPSHOT of the rewrite-maven-plugin and it still gives the same error :(
I have opened a new issue (https://github.com/openrewrite/rewrite/issues/1487) so you can check it.
Thank you very much for your help.
Good afternoon,
With version 7.19.0 a failure is occurring when you try to parse the project POM.
Debugging, I have seen that the problem occurs when using the RedHat infinispan library. When trying to parse the parent POM of the infinispan dependency the exception occurs. Attached is the POM that is failing:
https://maven.repository.redhat.com/ga/org/infinispan/infinispan-parent/9.4.21.Final-redhat-00002/infinispan-parent-9.4.21.Final-redhat-00002.pom
The exception occurs in the "parse" method of the RawPom class.
https://github.com/openrewrite/rewrite/blob/c6cc7bd0aa18af515ce2e9658f7e3e1daba9b956/rewrite-maven/src/main/java/org/openrewrite/maven/internal/RawPom.java#L101-L109
With version 7.17.3 it works without problems.
I attach a test project where this failure is reproduced: https://github.com/josemariavillar/test_project/tree/failed_parse_pom