KIE EAP - Maven plugin 6.1.0.Final

org.kie.integration.eap.maven.eap
Class EAPFileSystemBaseModulesScanner

java.lang.Object
  extended by 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.


Nested Class Summary
static class EAPFileSystemBaseModulesScanner.EAPBaseModule
           
 
Constructor Summary
EAPFileSystemBaseModulesScanner(String eapRoot, String eapName, String mavenModulesVersion, String outputPath)
           
 
Method Summary
 void generate()
           
 String getEapRoot()
           
 org.apache.maven.plugin.logging.Log getLogger()
           
 String getTempPath()
           
 void setLogger(org.apache.maven.plugin.logging.Log logger)
           
 void setTempPath(String tempPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EAPFileSystemBaseModulesScanner

public EAPFileSystemBaseModulesScanner(String eapRoot,
                                       String eapName,
                                       String mavenModulesVersion,
                                       String outputPath)
Method Detail

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()

KIE EAP - Maven plugin 6.1.0.Final

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.