Is there a way to use ear plugin to create an ear file without deploymant descriptor, i. e. not containing application.xml in META-INF?
Yes, you can simply exclude it from the EAR if you want.
ear {
exclude ‘application.xml’
}
Thanks! Sometimes it’s so simple…!