I have an Eclipse Indigo installation with its JBoss 6 server. I have a Maven project with several modules. These modules are all beautifully built from the command line.
One of the modules is EAR. It depends on two JAR modules and several WAR modules. When I pack the EAR from the command line (mvn clean package), the EAR contains all the necessary JAR and WAR files. However, when I deploy it from Eclipse, two module JAR files are missing from JBoss. WAR files are excellent. The Add and Remove ... dialog box also contains JAR files, but not during deployment. I checked the JBoss deployment folder and they are really missing there. The strange thing is, with the same POM and code, all my colleagues with the same (?) Installation do not have this problem.
The two JAR modules are listed in the parent POM dependency management part. They are also listed as dependencies in the EAR POM. However, Eclipse refuses to deploy them with an EAR.
Does anyone know how I can solve this problem? I can manually package and deploy the EAR, but 1) which takes longer, and 2) I cannot use the Eclipse debugging functions in this way.
Note: previously set at http://www.coderanch.com/t/580959/vc/Eclipse-JBoss-some-JAR-files
source share