public abstract class AbstractSenchaMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected static MergeHelper.MergeOptions |
APP_MANIFEST_CROSS_MODULE_MERGE_STRATEGY |
protected static MergeHelper.MergeOptions |
APP_MANIFEST_LOCALIZATION_MERGE_STRATEGY |
protected org.apache.maven.project.MavenProject |
project |
protected org.apache.maven.execution.MavenSession |
session |
| Constructor and Description |
|---|
AbstractSenchaMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected File |
getAppDirOrJar(org.apache.maven.project.MavenProject mavenProject) |
protected String |
getAppManifestFileNameForLocale(String locale) |
protected String |
getAppManifestFragmentFileNameForLocale(String locale) |
protected File |
getArtifactFile(org.apache.maven.project.MavenProject mavenProject) |
Pattern |
getExtFrameworkArtifactPattern() |
String |
getExtFrameworkArtifactRegexp() |
protected InputStream |
getInputStreamForDirOrJar(File dirOrJar,
String relativePathInsideDirOrJar,
String jarPrefixPath) |
protected Map<String,String> |
getManifestEntries() |
org.apache.maven.model.Dependency |
getRootApp() |
protected String |
getSenchaJvmArgs() |
String |
getSenchaLogLevel() |
String |
getToolkit() |
protected boolean |
isExtFrameworkArtifact(org.apache.maven.artifact.Artifact artifact) |
protected boolean |
isExtFrameworkDependency(org.apache.maven.model.Dependency dependency) |
protected Map<String,Map<String,Object>> |
prepareAppManifestByLocale(Set<String> locales,
List<org.apache.maven.artifact.Artifact> artifacts) |
protected File |
prepareFile(File file) |
getLog, getPluginContext, setLog, setPluginContextprotected static final MergeHelper.MergeOptions APP_MANIFEST_CROSS_MODULE_MERGE_STRATEGY
protected static final MergeHelper.MergeOptions APP_MANIFEST_LOCALIZATION_MERGE_STRATEGY
@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
public String getToolkit()
public Pattern getExtFrameworkArtifactPattern()
public String getExtFrameworkArtifactRegexp()
public org.apache.maven.model.Dependency getRootApp()
public String getSenchaLogLevel()
protected String getSenchaJvmArgs()
protected boolean isExtFrameworkArtifact(org.apache.maven.artifact.Artifact artifact)
protected boolean isExtFrameworkDependency(org.apache.maven.model.Dependency dependency)
@Nonnull protected File getArtifactFile(org.apache.maven.project.MavenProject mavenProject) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException@Nonnull protected File getAppDirOrJar(org.apache.maven.project.MavenProject mavenProject) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected InputStream getInputStreamForDirOrJar(File dirOrJar, String relativePathInsideDirOrJar, String jarPrefixPath) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected Map<String,Map<String,Object>> prepareAppManifestByLocale(Set<String> locales, List<org.apache.maven.artifact.Artifact> artifacts) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected File prepareFile(File file) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException@Nonnull protected String getAppManifestFileNameForLocale(String locale)
Copyright © 2002–2021 CoreMedia AG. All rights reserved.