Flex Maven如何从第三方swc库创建rsl

时间:2012-07-09 07:29:37

标签: flex maven flash swc rsl

我的项目中使用了一些swc文件,当我通过maven编译项目时,我必须将swc安装到maven资源库,如:

mvn install:install-file -Dfile=./libs/robotlegs-framework-1.5.1.swc -DgroupId=org.robotlegs -DartifactId=robotlegs-framework -Dversion=1.5.1 -Dpackaging=swc

并使用如:

<dependency>
            <groupId>org.robotlegs</groupId>
            <artifactId>robotlegs-framework</artifactId>
            <version>1.5.1</version>
            <type>swc</type>
        </dependency>

如果我想通过RSL添加库,我必须安装swf:

mvn install:install-file -Dfile=./libs/robotlegs-framework-1.5.1.swf -DgroupId=org.robotlegs -DartifactId=robotlegs-framework -Dversion=1.5.1 -Dpackaging=swf

使用像:

<dependency>
            <groupId>org.robotlegs</groupId>
            <artifactId>robotlegs-framework</artifactId>
            <version>1.5.1</version>
            <type>swc</type>
            <scope>rsl</scope>
        </dependency>

我不想通过shell安装swc和swf,是否有一些解压缩包将swc文件解压缩到swf并创建rsl,然后我只需要使用像

<dependency>
                <groupId>org.robotlegs</groupId>
                <artifactId>robotlegs-framework</artifactId>
                <version>1.5.1</version>
                <type>swc</type>
                <scope>rsl</scope>
            </dependency>

感谢!!!

0 个答案:

没有答案