Actually, not all programs think `debian/libandroid-dex-java.poms` has a trailing new line. Inside the text, it is like:
`line1\n` While the version without trailing new line would be: `line1` So some program considers this file has one line regardless the trailing new line. And the bug is, maven-repo-helper misbehaves when the trailing new line is missing. The reason why you failed to build android-platform-libcore is probably because your Git transformed the new lines between `\n` and `\r\n`. The other maintainer Chirayu Desai has solved this problem. Anyway, thanks for your reply!