Am Donnerstag, 12. November 2020, 14:13:42 CET schrieb Hohl, Gerrit: > Hello everyone, > > > maybe some additional information will be helpful. > The project structure is like (and also build in this order due to the > dependencies of the modules): > > - XXX-pom > - XXX-ejb > - XXX-web > - XXX-ear
[snip] You should not mix-up both artifacts for Maven. From Mavens PoV they are the same (because they have the same G:A:V). Look at the configuration options for the WAR plugin. You can generate automatically a jar file for the classes with an own classifier which is automatically attached. Use that one to refer in your EAR build. Cheers, Jörg --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org