org.kie.integration.eap.maven.eap
Class EAPFileSystemBaseModulesScanner
java.lang.Object
org.kie.integration.eap.maven.eap.EAPFileSystemBaseModulesScanner
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EAPFileSystemBaseModulesScanner
public EAPFileSystemBaseModulesScanner(String eapRoot,
String eapName,
String mavenModulesVersion,
String outputPath)
generate
public void generate()
throws Exception
- Throws:
Exception
getTempPath
public String getTempPath()
setTempPath
public void setTempPath(String tempPath)
setLogger
public void setLogger(org.apache.maven.plugin.logging.Log logger)
getEapRoot
public String getEapRoot()
getLogger
public org.apache.maven.plugin.logging.Log getLogger()
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.