public abstract class AbstractSenchaPackageOrAppMojo<T extends SenchaPackageOrAppConfigBuilder> extends AbstractSenchaMojo implements SenchaProfileConfiguration
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.maven.artifact.handler.manager.ArtifactHandlerManager |
artifactHandlerManager |
protected org.apache.maven.project.MavenProject |
project |
protected org.apache.maven.execution.MavenSession |
session |
| Constructor and Description |
|---|
AbstractSenchaPackageOrAppMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
addAdditionalResources(SenchaPackageOrAppConfigBuilder configBuilder,
String resourceType,
List<String> resourcesNonBundle,
List<String> resourcesIncludeInBundle) |
protected void |
configure(SenchaPackageOrAppConfigBuilder configBuilder) |
protected void |
configureMetadata(SenchaPackageOrAppConfigBuilder configBuilder) |
protected void |
configureModule(SenchaPackageOrAppConfigBuilder configBuilder) |
protected void |
configureProfile(SenchaPackageOrAppConfigBuilder configBuilder,
String profileName,
SenchaProfileConfiguration senchaProfileConfiguration) |
protected static void |
configureProfile(SenchaProfileConfiguration senchaProfileConfiguration,
SenchaPackageOrAppConfigBuilder configBuilder) |
protected void |
configureRequires(SenchaPackageOrAppConfigBuilder configBuilder) |
protected void |
configureResourcesEntry(SenchaPackageOrAppConfigBuilder configBuilder) |
protected abstract T |
createSenchaConfigBuilder() |
List<String> |
getAdditionalCssIncludeInBundle()
A list of paths to CSS files to include that are not loaded via the class loader (usually in resources folder).
|
List<String> |
getAdditionalCssNonBundle()
A list of paths to CSS files to include that are not loaded via the class loader (usually in resources folder).
|
List<String> |
getAdditionalJsIncludeInBundle()
A list of paths to JS files to include that are not loaded via the class loader (usually in resources folder).
|
List<String> |
getAdditionalJsNonBundle()
A list of paths to JS files to include that are not loaded via the class loader (usually in resources folder).
|
SenchaProfileConfiguration |
getDevelopment() |
abstract String |
getJsonConfigFileName() |
SenchaProfileConfiguration |
getProduction() |
List<String> |
getRequiredClasses()
Specifies the required classes.
|
File |
getSenchaSrcDir() |
SenchaProfileConfiguration |
getTesting() |
String |
getTheme() |
abstract String |
getType() |
configureDefaults, getExtFrameworkArtifactPattern, getExtFrameworkArtifactRegexp, getExtFrameworkDir, getPackagesDir, getRemotePackagesArtifact, getSenchaLogLevel, getToolkit, isExtFrameworkArtifact, isExtFrameworkDependency, setExtFrameworkDir, setPackagesDir, writeFilegetLog, getPluginContext, setLog, setPluginContext@Parameter(defaultValue="${project}",
required=true,
readonly=true)
protected org.apache.maven.project.MavenProject project
@Parameter(defaultValue="${session}",
required=true,
readonly=true)
protected org.apache.maven.execution.MavenSession session
@Component protected org.apache.maven.artifact.handler.manager.ArtifactHandlerManager artifactHandlerManager
public abstract String getType()
public abstract String getJsonConfigFileName()
protected void configure(SenchaPackageOrAppConfigBuilder configBuilder) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void configureMetadata(SenchaPackageOrAppConfigBuilder configBuilder) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void configureProfile(SenchaPackageOrAppConfigBuilder configBuilder, String profileName, SenchaProfileConfiguration senchaProfileConfiguration) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected static void configureProfile(SenchaProfileConfiguration senchaProfileConfiguration, SenchaPackageOrAppConfigBuilder configBuilder) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void configureRequires(SenchaPackageOrAppConfigBuilder configBuilder) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void configureModule(SenchaPackageOrAppConfigBuilder configBuilder) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected void configureResourcesEntry(SenchaPackageOrAppConfigBuilder configBuilder)
protected static void addAdditionalResources(SenchaPackageOrAppConfigBuilder configBuilder, String resourceType, List<String> resourcesNonBundle, List<String> resourcesIncludeInBundle)
protected abstract T createSenchaConfigBuilder()
public File getSenchaSrcDir()
public SenchaProfileConfiguration getProduction()
public SenchaProfileConfiguration getDevelopment()
public SenchaProfileConfiguration getTesting()
@Nonnull public List<String> getRequiredClasses()
SenchaProfileConfigurationgetRequiredClasses in interface SenchaProfileConfigurationpublic String getTheme()
@Nonnull public List<String> getAdditionalCssNonBundle()
SenchaProfileConfigurationgetAdditionalCssNonBundle in interface SenchaProfileConfiguration@Nonnull public List<String> getAdditionalJsNonBundle()
SenchaProfileConfigurationgetAdditionalJsNonBundle in interface SenchaProfileConfiguration@Nonnull public List<String> getAdditionalCssIncludeInBundle()
SenchaProfileConfigurationgetAdditionalCssIncludeInBundle in interface SenchaProfileConfiguration@Nonnull public List<String> getAdditionalJsIncludeInBundle()
SenchaProfileConfigurationgetAdditionalJsIncludeInBundle in interface SenchaProfileConfigurationCopyright © 2002–2017 CoreMedia AG. All rights reserved.