public class CompcMojo extends AbstractFlexCompilerMojo<ICompcConfiguration,CompcMojo> implements ICompcConfiguration, org.apache.maven.plugin.Mojo
Goal which compiles the Flex sources into a library for either Flex or AIR depending.
The Flex Compiler plugin compiles all ActionScript sources. It can compile the source into 'swc' files. The plugin supports the 'swc' packaging.
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
computeDigest
Writes a digest to the catalog.xml of a library.
|
protected SimplifiablePattern |
includeFiles
Inclusion/exclusion patterns used to filter resources to be include in the output SWC
|
benchmark, classifier, compiler, compilerName, debugPassword, finalName, includeResourceBundles, loadExterns, localesSourcePath, PROJECT_TYPE, resourceBundleNames, toolsLocaleAIR_GLOBAL, AIR_GROUP_ID, airVersion, archiverManager, cache, configDirectory, DATE_FORMAT, DEFAULT_RSL_URLS, DEFAULT_RUNTIME_LOCALE_OUTPUT_PATH, FLASH_GROUP_ID, flashVersion, fullSynchronization, GLOBAL_MATCHER, localRepository, packaging, PLAYER_GLOBAL, pluginArtifacts, project, projectHelper, quick, remoteRepositories, repositorySystem, resources, RETURNS_NULL, session, skip, TARGET_DIRECTORY, targetDirectoryBENCHMARK, BENCHMARK_COMPILER_DETAILS, BENCHMARK_TIME_FILTER, COMPUTE_DIGEST, DEBUG_PASSWORD, DEFAULT_BACKGROUND_COLOR, DEFAULT_FRAME_RATE, DEFAULT_SCRIPT_LIMITS, DEFAULT_SIZE, DIRECTORY, DUMP_CONFIG, EXTERNS, FRAMEWORK, GENERATE_FRAME_LOADER, HELP, INCLUDE_CLASSES, INCLUDE_FILE, INCLUDE_INHERITANCE_DEPENDENCIES_ONLY, INCLUDE_LOOKUP_ONLY, INCLUDE_NAMESPACES, INCLUDE_RESOURCE_BUNDLES, INCLUDE_SOURCES, INCLUDE_STYLESHEET, INCLUDES, LAZY_INIT, LINK_REPORT, LOAD_CONFIG, LOAD_EXTERNS, OUTPUT, RAW_METADATA, REMOVE_UNUSED_RSLS, RESOURCE_BUNDLE_LIST, ROOT, RUNTIME_SHARED_LIBRARIES, RUNTIME_SHARED_LIBRARY_PATH, SIZE_REPORT, STATIC_LINK_RUNTIME_SHARED_LIBRARIES, SWC_CHECKSUM, SWF_VERSION, TARGET_PLAYER, TOOLS_LOCALE, USE_DIRECT_BLIT, USE_GPU, USE_NETWORK, VERIFY_DIGESTS, VERSION, WARNINGSACCESSIBLE, ACTIONSCRIPT_FILE_ENCODING, ADJUST_OPDEBUGLINE, ADVANCED_TELEMETRY, ALLOW_DUPLICATE_DEFAULT_STYLE_DECLARATIONS, ALLOW_SOURCE_PATH_OVERLAP, ARCHIVE_CLASSES_AND_ASSETS, AS3, COMPRESS, CONSERVATIVE, CONTEXT_ROOT, DEBUG, DEFAULTS_CSS_FILES, DEFAULTS_CSS_URL, DEFINE, DISABLE_INCREMENTAL_OPTIMIZATIONS, DOC, ENABLE_RUNTIME_DESIGN_LAYERS, ENABLE_SWC_VERSION_FILTERING, ES, EXTERNAL_LIBRARY_PATH, GENERATE_ABSTRACT_SYNTAX_TREE, HEADLESS_SERVER, INCLUDE_LIBRARIES, INCREMENTAL, ISOLATE_STYLES, JAVA_PROFILER_CLASS, KEEP_ALL_TYPE_SELECTORS, KEEP_AS3_METADATA, KEEP_GENERATED_ACTIONSCRIPT, KEEP_GENERATED_SIGNATURES, LIBRARY_PATH, LOCALE, MEMORY_USAGE_FACTOR, MINIMUM_SUPPORTED_VERSION, MOBILE, OMIT_TRACE_STATEMENTS, OPTIMIZE, PRELOADER, REPORT_INVALID_STYLES_AS_WARNINGS, REPORT_MISSING_REQUIRED_SKIN_PARTS_AS_WARNINGS, RESOURCE_HACK, SERVICES, SHOW_ACTIONSCRIPT_WARNINGS, SHOW_BINDING_WARNINGS, SHOW_DEPENDENCY_WARNINGS, SHOW_DEPRECATION_WARNINGS, SHOW_INVALID_CSS_PROPERTY_WARNINGS, SHOW_SHADOWED_DEVICE_FONT_WARNINGS, SHOW_UNUSED_TYPE_SELECTOR_WARNINGS, SIGNATURE_DIRECTORY, SOURCE_PATH, STRICT, THEME, TRANSLATION_FORMAT, USE_RESOURCE_BUNDLE_METADATA, VERBOSE_STACKTRACES, WARN_ARRAY_TOSTRING_CHANGES, WARN_ASSIGNMENT_WITHIN_CONDITIONAL, WARN_BAD_ARRAY_CAST, WARN_BAD_BOOL_ASSIGNMENT, WARN_BAD_DATE_CAST, WARN_BAD_ES3_TYPE_METHOD, WARN_BAD_ES3_TYPE_PROP, WARN_BAD_NAN_COMPARISON, WARN_BAD_NULL_ASSIGNMENT, WARN_BAD_NULL_COMPARISON, WARN_BAD_UNDEFINED_COMPARISON, WARN_BOOLEAN_CONSTRUCTOR_WITH_NO_ARGS, WARN_CHANGES_IN_RESOLVE, WARN_CLASS_IS_SEALED, WARN_CONST_NOT_INITIALIZED, WARN_CONSTRUCTOR_RETURNS_VALUE, WARN_DEPRECATED_EVENT_HANDLER_ERROR, WARN_DEPRECATED_FUNCTION_ERROR, WARN_DEPRECATED_PROPERTY_ERROR, WARN_DUPLICATE_ARGUMENT_NAMES, WARN_DUPLICATE_VARIABLE_DEF, WARN_FOR_VAR_IN_CHANGES, WARN_IMPORT_HIDES_CLASS, WARN_INSTANCE_OF_CHANGES, WARN_INTERNAL_ERROR, WARN_LEVEL_NOT_SUPPORTED, WARN_MISSING_NAMESPACE_DECL, WARN_NEGATIVE_UINT_LITERAL, WARN_NO_CONSTRUCTOR, WARN_NO_EXPLICIT_SUPER_CALL_IN_CONSTRUCTOR, WARN_NO_TYPE_DECL, WARN_NUMBER_FROM_STRING_CHANGES, WARN_SCOPING_CHANGE_IN_THIS, WARN_SLOW_TEXT_FIELD_ADDITION, WARN_UNLIKELY_FUNCTION_VALUE, WARN_XML_CLASS_HAS_CHANGEDFRAMELICENSECONTRIBUTOR, CREATOR, DATE, DESCRIPTION, LANGUAGE, LOCALIZED_DESCRIPTION, LOCALIZED_TITLE, PUBLISHER, TITLECOMPATIBILITY_VERSION, MINIMUM_SUPPORTED_VERSION, QUALIFIED_TYPE_SELECTORSNAMESPACEEXTENSIONAPPLICATION_DOMAIN, FORCE_RSLS| Constructor and Description |
|---|
CompcMojo() |
| Modifier and Type | Method and Description |
|---|---|
Result |
doCompile(ICompcConfiguration cfg,
boolean synchronize) |
void |
fmExecute() |
Boolean |
getComputeDigest() |
Boolean |
getDirectory() |
List<String> |
getIncludeClasses() |
IIncludeFile[] |
getIncludeFile() |
Boolean |
getIncludeLookupOnly() |
List<String> |
getIncludeNamespaces() |
List<String> |
getIncludeResourceBundles() |
File[] |
getIncludeSources() |
IIncludeStylesheet[] |
getIncludeStylesheet() |
String[] |
getLocale() |
String |
getProjectType() |
String |
getRoot() |
adaptResourceBundle, calculateRuntimeLibraryPath, clone, configureResourceBundle, executeCompiler, getAccessible, getActionscriptFileEncoding, getAdjustOpdebugline, getAdvancedTelemetry, getAllowDuplicateDefaultStyleDeclarations, getAllowSourcePathOverlap, getApplicationDomain, getArchiveClassesAndAssets, getAs3, getBenchmark, getBenchmarkCompilerDetails, getBenchmarkTimeFilter, getClassifier, getCompatibilityVersion, getCompiledResouceBundles, getCompilerConfiguration, getCompilerOutput, getCompilerWarnings, getCompress, getConservative, getContextRoot, getContributor, getCreator, getDate, getDebug, getDebugPassword, getDefaultBackgroundColor, getDefaultFrameRate, getDefaultScriptLimits, getDefaultsCssFiles, getDefaultsCssUrl, getDefaultSize, getDefine, getDescription, getDisableIncrementalOptimizations, getDoc, getDumpConfig, getEnableRuntimeDesignLayers, getEnableSwcVersionFiltering, getEs, getExtension, getExtensionsConfiguration, getExternalLibraryPath, getExterns, getFinalName, getFontsConfiguration, getForceRsls, getFrame, getFramesConfiguration, getFramework, getGenerateAbstractSyntaxTree, getGenerateFrameLoader, getGlobalArtifactCollection, getHeadlessServer, getHelp, getIncludeInheritanceDependenciesOnly, getIncludeLibraries, getIncludes, getIncremental, getIsolateStyles, getJavaProfilerClass, getKeepAllTypeSelectors, getKeepAs3Metadata, getKeepGeneratedActionscript, getKeepGeneratedSignatures, getLanguage, getLazyInit, getLibraryPath, getLicense, getLicensesConfiguration, getLinkReport, getLoadConfig, getLoadExterns, getLocalesRuntime, getLocalizedDescription, getLocalizedTitle, getMemoryUsageFactor, getMetadataConfiguration, getMinimumSupportedVersion, getMobile, getMxmlConfiguration, getNamespace, getNamespacesConfiguration, getNamespacesUri, getOmitTraceStatements, getOptimize, getOutput, getPolicyFileUrls, getPreloader, getPublisher, getQualifiedTypeSelectors, getRawMetadata, getRemoveUnusedRsls, getReportInvalidStylesAsWarnings, getReportMissingRequiredSkinPartsAsWarnings, getResourceBundleList, getResourceBundleListContent, getResourceBundleListFile, getResourceHack, getRslUrls, getRuntimeSharedLibraries, getRuntimeSharedLibraryPath, getRuntimeSharedLibrarySettingsConfiguration, getServices, getShowActionscriptWarnings, getShowBindingWarnings, getShowDependencyWarnings, getShowDeprecationWarnings, getShowInvalidCssPropertyWarnings, getShowShadowedDeviceFontWarnings, getShowUnusedTypeSelectorWarnings, getSignatureDirectory, getSizeReport, getSourcePath, getStaticLinkRuntimeSharedLibraries, getStrict, getSwcChecksum, getSwfVersion, getTargetPlayer, getTheme, getTitle, getToolsLocale, getTranslationFormat, getUseDirectBlit, getUseGpu, getUseNetwork, getUseResourceBundleMetadata, getVerboseStacktraces, getVerifyDigests, getVersion, getWarnArrayTostringChanges, getWarnAssignmentWithinConditional, getWarnBadArrayCast, getWarnBadBoolAssignment, getWarnBadDateCast, getWarnBadEs3TypeMethod, getWarnBadEs3TypeProp, getWarnBadNanComparison, getWarnBadNullAssignment, getWarnBadNullComparison, getWarnBadUndefinedComparison, getWarnBooleanConstructorWithNoArgs, getWarnChangesInResolve, getWarnClassIsSealed, getWarnConstNotInitialized, getWarnConstructorReturnsValue, getWarnDeprecatedEventHandlerError, getWarnDeprecatedFunctionError, getWarnDeprecatedPropertyError, getWarnDuplicateArgumentNames, getWarnDuplicateVariableDef, getWarnForVarInChanges, getWarnImportHidesClass, getWarnings, getWarnInstanceOfChanges, getWarnInternalError, getWarnLevelNotSupported, getWarnMissingNamespaceDecl, getWarnNegativeUintLiteral, getWarnNoConstructor, getWarnNoExplicitSuperCallInConstructor, getWarnNoTypeDecl, getWarnNumberFromStringChanges, getWarnScopingChangeInThis, getWarnSlowTextFieldAddition, getWarnUnlikelyFunctionValue, getWarnXmlClassHasChanged, isCompilationRequired, versionCheckas3ClassesFileSet, checkResult, createSwfDescriptor, execute, filterClasses, filterFiles, getAirGlobal, getAirTarget, getAirVersion, getBasedir, getBuildDirectory, getCache, getCompilerArtifact, getCompilerGroupId, getCompilerVersion, getDependencies, getDependencies, getDependency, getFdkGroupId, getFlashGlobal, getFlashVersion, getFrameworkArtifact, getFrameworkArtifactVersion, getFrameworkConfig, getFrameworkGroupId, getFrameworkVersion, getFromPluginContext, getGlobalArtifact, getIsAirProject, getIsFlashProject, getLog, getMavenLogger, getMavenPathResolver, getOutputDirectory, getPluginContext, getResourcesTargetDirectories, getSession, getTargetDirectory, getUnpackedArtifact, getUnpackedArtifact, getUnpackedFrameworkConfig, initGlobalMatcher, isSkip, putPluginContext, resolve, scan, scan, scan, setArchiverManager, setLog, setPluginContext, toClass, wait, waitequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBenchmark, getBenchmarkCompilerDetails, getBenchmarkTimeFilter, getCompilerConfiguration, getDebugPassword, getDefaultBackgroundColor, getDefaultFrameRate, getDefaultScriptLimits, getDefaultSize, getDumpConfig, getExterns, getFramesConfiguration, getFramework, getGenerateFrameLoader, getHelp, getIncludeInheritanceDependenciesOnly, getIncludes, getLazyInit, getLicensesConfiguration, getLinkReport, getLoadConfig, getLoadExterns, getMetadataConfiguration, getOutput, getRawMetadata, getRemoveUnusedRsls, getResourceBundleList, getRuntimeSharedLibraries, getRuntimeSharedLibraryPath, getRuntimeSharedLibrarySettingsConfiguration, getSizeReport, getStaticLinkRuntimeSharedLibraries, getSwcChecksum, getSwfVersion, getTargetPlayer, getToolsLocale, getUseDirectBlit, getUseGpu, getUseNetwork, getVerifyDigests, getVersion, getWarningsgetCompilerVersionprotected Boolean computeDigest
Equivalent to -compute-digest
protected SimplifiablePattern includeFiles
Equivalent to -include-file
Usage:
<includeFiles>
<include>afile.xml</include>
<include>b.txt</include>
<scan>
<includes>
<include>**/*.mxml</include>
</includes>
<excludes>
<exclude>private/*</exclude>
</excludes>
</scan>
</includeFiles>
public Result doCompile(ICompcConfiguration cfg, boolean synchronize) throws Exception
doCompile in class AbstractFlexCompilerMojo<ICompcConfiguration,CompcMojo>Exceptionpublic void fmExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
fmExecute in class AbstractMavenMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionpublic Boolean getComputeDigest()
getComputeDigest in interface ICompcConfigurationpublic Boolean getDirectory()
getDirectory in interface ICompcConfigurationpublic List<String> getIncludeClasses()
getIncludeClasses in interface ICompcConfigurationpublic IIncludeFile[] getIncludeFile()
getIncludeFile in interface ICompcConfigurationpublic Boolean getIncludeLookupOnly()
getIncludeLookupOnly in interface ICompcConfigurationpublic List<String> getIncludeNamespaces()
getIncludeNamespaces in interface ICompcConfigurationpublic List<String> getIncludeResourceBundles()
getIncludeResourceBundles in interface ICompcConfigurationpublic File[] getIncludeSources()
getIncludeSources in interface ICompcConfigurationpublic IIncludeStylesheet[] getIncludeStylesheet()
getIncludeStylesheet in interface ICompcConfigurationpublic String[] getLocale()
getLocale in interface ICompilerConfigurationgetLocale in class AbstractFlexCompilerMojo<ICompcConfiguration,CompcMojo>public String getProjectType()
getProjectType in class AbstractFlexCompilerMojo<ICompcConfiguration,CompcMojo>public String getRoot()
getRoot in interface ICompcConfigurationCopyright © 2008–2017 Sonatype, Inc.. All rights reserved.