public class EAPFileSystemBaseModulesScanner
extends Object
This class is used to scan an JBoss EAP/AS module filesystem structure and generate the module definitions for the base modules.
Behavior:
- Scan /modules directory
- For each module.xml:
- Scan the module properties (name, slot, etc)
- Scan the module resources
- For each resource:
- If resource is type jar, look for a pom.xml maven descriptor inside the jar file to generate the module resource definition.
- If resource is type jar but no pom.xml found inside it, extract an artifactId and version properties by parsing the jar filename.