OK, Looking at it a little more in detail this morning (warning no
coffee yet!), I see that you have in your EAR pom items like:
# <!-- 4.5.1. Include Java Module. -->
# <javaModule>
# <groupId>myMultiProjectGroupId.myMultiProjectArtifactId</groupId>
# <artifactId>module1</artifactId>
# <artifactId>1.0</artifactId>
#
# <!-- 4.5.1.1. Only if you want different file name inside "ear" file. -->
# <bundleFileName>myBundleJavaModule1FileName</bundleFileName>
# </javaModule>
I assume you're using Maven 2.0.10 or 2.1.0?
* Having <artifactId> twice seems wrong to me, but I wouldn't use javaModule in the first place (see next point)
* Using javaModule is deprecated, use jarModule instead, e.g.:
The dependency is then listed as: