Giter VIP home page Giter VIP logo

flexmojos-compatible-model-validator's Introduction

FlexMojos Compatible Model Validator.

FlexMojos provides 6 scopes used as linkages for your dependencies:

merged (Merged Into Code)
This bundles in all classes from the library that are used in the project. It corresponds to the library-path option of mxmlc and compc.
external
This compiles the SWF or SWC against the classes from the library for linkage but does not add them into the resulting file. It corresponds to the external-library-path compiler option.
internal
This compiles all the libraries used into the final SWF, It corresponds to the mxmlc option -include-libraries [library] [...] (a repeatable list of libraries (SWCs) to completely include in the SWF).
rsl (Runtime Shared Library)
Relevant only for Flex and AIR Applications (not SWCs or ActionScript 3 projects), this ensures that the library referenced by the SWF will be loaded once into the user's Flash Player cache at runtime. This is enabled by default on Flex projects for the framework dependencies (you can use static-link-runtime-shared-libraries on mxmlc to disable it).
caching (Adobe Signed Runtime Shared Library)
Like rsl except those libraries are signed.
theme
To indicate that dependency is a theme.

Unfortunately Maven doesn't support those scopes by default, generating warnings at build time.

This Maven extension enhances the default Maven model validation to allow those scopes.

To use it, place the generated jar-file without the version number into ${MAVEN_HOME}/lib/ext or add the extension to your parent project pom.xml (the first build will install the extension, the next ones will use it) or even better, to your corporate pom.xml, doing so, it will be used from the first build.

<build>
    <extensions>
        <extension>
            <groupId>com.doublefx.maven.utils.flexmojos</groupId>
            <artifactId>flexmojos-compatible-model-validator</artifactId>
            <version>1.0.0-SNAPSHOT</version>
        </extension>
    </extensions>
    ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.