Björn Ekryd

Results 13 comments of Björn Ekryd

I am not sure myself of this change. There must be a better way somehow. Firstly, the ids take too much space and secondly, the default behaviour does not feel...

The problem with phases is that the plugin does not analyze the content of the POM. It is basically an xml sorter with custom xml ordering. So the plugin does...

Hi! No parameter for this currently, I can have a look and see how it is handled.

I was not able to reproduce the problem. Used v3.2.0 with the following elements: ```xml org.dom4j dom4j 2.1.3 ``` and the properties ```xml com.github.ekryd.sortpom sortpom-maven-plugin 3.2.0 false custom_1 \n ${project.build.sourceEncoding}...

Glad that it was resolved

There is another goal, `verify` That can check the pom and only reformat it if the elements are in the wrong place. It that doesn’t work, experiment some more and...

My experience with Spotless is very limited, so I will hand this over to the kind folks that maintain spotless. 🎈

Anything special on your wish-list?

I have updated the SortPom plugin with support for `endWithNewline`; whether to ensure that sorted pom ends with a newline or not. I have created a PR in spotless for...

PR is merged now, all seems fine. Thanks for your great job around Spotless!! 👋