I am using the ear and acr plugins to build an ear that contains an app-client. It all works well but one thing is always wrong:
The car must use <addClasspath>true</addClasspath> so the client will find the needed libraries. When those libraries are SNAPSHOTs, the created manifest entry contains not "SNAPSHOT" but the latest date (as usual with SNAPSHOTs). But the ear plugin doesn't care for this. It always uses "SNAPSHOT" (the word, not the latest version). As a result, at runtime the client will not find the needed libraries, as it looks for it by date, but it actually is named "SNAPSHOT". For me this looks like a bug in the conception of the EAR plugin: It must not statically build the name from the version string, but it certainly needs to use the actual name of the artifact (here: the date of the snapshot). Is that really a bug or am I too dumb to see the light? ;-) Regards Markus
