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
This actually should be return path.endsWith( "/" + scope ); as we are looking for the element named like the scope, not an element ending just with the scope...
The current version causes an exception when a property is ending with something like "-dependency" or "-plugin.
com.ctc.wstx.exc.WstxParsingException: Illegal processing instruction target ("xml"); xml (case insensitive) is reserved by the specs.
at [row,col {unknown-source}]: [15,7]
at com.ctc.wstx.sr.StreamScanner.constructWfcException(StreamScanner.java:621)
at com.ctc.wstx.sr.StreamScanner.throwParseError(StreamScanner.java:491)
at com.ctc.wstx.sr.BasicStreamReader.readPIPrimary(BasicStreamReader.java:4019)
at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2141)
at com.ctc.wstx.sr.BasicStreamReader.closeContentTree(BasicStreamReader.java:2991)
at com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2734)
at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1123)
at org.codehaus.stax2.ri.Stax2EventReaderImpl.nextEvent(Stax2EventReaderImpl.java:255)
at org.codehaus.mojo.tidy.task.EnsureOrderAndIndent$SectionSorter.sortSections(EnsureOrderAndIndent.java:110)
at org.codehaus.mojo.tidy.task.EnsureOrderAndIndent.tidyPom(EnsureOrderAndIndent.java:71)
at org.codehaus.mojo.tidy.task.PomTidy.tidy(PomTidy.java:44)
The text was updated successfully, but these errors were encountered:
fweinhold
added a commit
to fweinhold/tidy-maven-plugin
that referenced
this issue
Jan 31, 2022
Hi guys!
I just found this line...
tidy-maven-plugin/src/main/java/org/codehaus/mojo/tidy/task/EnsureOrderAndIndent.java
Line 138 in 1321712
This actually should be
return path.endsWith( "/" + scope );
as we are looking for the element named like the scope, not an element ending just with the scope...The current version causes an exception when a property is ending with something like "-dependency" or "-plugin.
The text was updated successfully, but these errors were encountered: