Class GenerateAppsNoDepsMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.iip_ecosphere.platform.tools.maven.python.AbstractLoggingMojo
de.iip_ecosphere.platform.configuration.maven.AbstractConfigurationMojo
de.iip_ecosphere.platform.configuration.maven.AbstractAppsConfigurationMojo
de.iip_ecosphere.platform.configuration.maven.GenerateAppsNoDepsMojo
- All Implemented Interfaces:
DependencyResolver.Caller,de.iip_ecosphere.platform.tools.maven.python.Logger,org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generateAppsNoDeps",
defaultPhase=GENERATE_SOURCES)
public class GenerateAppsNoDepsMojo
extends AbstractAppsConfigurationMojo
Generates the configured applications without dependencies to the implementing services.
- Author:
- Holger Eichelberger, SSE
-
Field Summary
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanCalled byAbstractConfigurationMojo.execute()to figure out whether the instantiation shall take place.Returns the start rule name.Methods inherited from class de.iip_ecosphere.platform.configuration.maven.AbstractAppsConfigurationMojo
executeMethods inherited from class de.iip_ecosphere.platform.configuration.maven.AbstractConfigurationMojo
adjustOutputDir, checkChanged, findGenParent, getFallbackResourcesDirectory, getMaxLastModified, getMetaModelDirectory, getModel, getModelDirectory, getOutputDirectory, getProject, getProjectBuilder, getRepoSystem, getResourcesDirectory, getSession, getTracingLevel, getUnpackForce, isModelDirectoryValid, modelNewerThanOut, recordExecutionTimeMethods inherited from class de.iip_ecosphere.platform.tools.maven.python.AbstractLoggingMojo
error, error, info, warnMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.iip_ecosphere.platform.configuration.maven.DependencyResolver.Caller
getLog, getRemoteRepos, getRepoSession
-
Constructor Details
-
GenerateAppsNoDepsMojo
public GenerateAppsNoDepsMojo()
-
-
Method Details
-
getStartRule
Description copied from class:AbstractConfigurationMojoReturns the start rule name.- Specified by:
getStartRulein classAbstractConfigurationMojo- Returns:
- the start rule name
-
enableRun
Description copied from class:AbstractConfigurationMojoCalled byAbstractConfigurationMojo.execute()to figure out whether the instantiation shall take place. By default, instantiation will be enabled if IVML files inmodelDirare newer than files inoutput directoryor if output directory is empty or missing.- Overrides:
enableRunin classAbstractConfigurationMojo- Parameters:
metaModelDir- the meta model directorymodelDir- the model directoryoutputDir- the output directory- Returns:
truefor instantiation,falsefor no instantiation
-