the reason behind ecj emitting more detailed line information is to enable a better debugging experience, where it's, e.g., easier to step into a method call on the second line of the complex expression.

ecj doesn't have an option to emit simpler line information nor does javac have the opposite option.

so, if you need to make eclipse and maven produce the exact same information, either of the two directions mentioned in comments will help you. see also the jdt faq.

Related Query

More Query from same tag