You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following error is generated when we compile a maven module where there is no maven pom parent
Error
Caused by: java.lang.IllegalStateException: Could not read child element: parent
at io.ap4k.project.MavenInfo.lambda$getElement$6 (MavenInfo.java:145)
at java.util.Optional.orElseThrow (Optional.java:290)
at io.ap4k.project.MavenInfo.getElement (MavenInfo.java:145)
at io.ap4k.project.MavenInfo.getParentVersion (MavenInfo.java:109)
at io.ap4k.project.MavenInfo.getVersion (MavenInfo.java:89)
at io.ap4k.project.MavenInfo.<init> (MavenInfo.java:45)
at io.ap4k.project.MavenInfoReader.getInfo (MavenInfoReader.java:45)
at io.ap4k.project.MavenInfoReader.getInfo (MavenInfoReader.java:29)
at io.ap4k.project.FileProjectFactory.lambda$getProjectInfo$2 (FileProjectFactory.java:78)
at java.util.Optional.map (Optional.java:215)
at io.ap4k.project.FileProjectFactory.getProjectInfo (FileProjectFactory.java:78)
at io.ap4k.project.FileProjectFactory.createInternal (FileProjectFactory.java:59)
at io.ap4k.project.FileProjectFactory.create (FileProjectFactory.java:48)
at io.ap4k.project.AptProjectFactory.createInternal (AptProjectFactory.java:52)
at io.ap4k.project.AptProjectFactory.create (AptProjectFactory.java:42)
at io.ap4k.processor.AbstractAnnotationProcessor.init (AbstractAnnotationProcessor.java:54)
The text was updated successfully, but these errors were encountered:
Issue
The following error is generated when we compile a maven module where there is no maven pom parent
Error
The text was updated successfully, but these errors were encountered: