Use MANIFEST.MF for application class path

JBoss enterprise applications may have .jar file dependencies in the root of the EAR project folder. This rule detects if a given enterprise application module has such a dependency. A quick fix is available in the source scanner. The quick fix adds the corresponding classpath entries into the enterprise application module MANIFEST.MF file.

For example, given the following .jar files in the root of the EAR project folder:

javaEEEARProFolder
jarFile1.jar
jarFile2.jar
jarFile3.jar
jarFile4.jar
jarFile5.jar

Web module MANIFEST.MF file before running the quick fix:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.5.3

Web module MANIFEST.MF file after running the quick fix:

Manifest-Version: 1.0
Class-Path: jarFile1.jar jarFile2.jar jarFile3.jar jarFile4.jar jarFil
 e5.jar
Ant-Version: Apache Ant 1.5.3