Commented lines are misleading for the contributors for several reasons:
This is code that is no longer used
This is code that is being commented/uncommented from time to time
The contributors don't know what's the case in this current situations, so removing them is the best option. You always have the option to retrieve them from the file history of Git.
https://github.com/nanovche/expense-tracker/blob/62d3f2e5dc3c7f51fe5f968d5518da08cef777ae/expense-tracker-api/pom.xml#L58
Commented lines are misleading for the contributors for several reasons:
The contributors don't know what's the case in this current situations, so removing them is the best option. You always have the option to retrieve them from the file history of Git.