maven flexmojos 插件安装配置

收集的相关flexmojo学习资源: php

    flexmojos Available versions  http://mvnrepository.com/artifact/org.sonatype.flexmojos/flexmojos-maven-plugin html


   在flex项目中使用maven  http://www.riadev.com/forum.php?mod=viewthread&tid=152 git

    flexmojos-maven-plugin github https://github.com/justinjmoses/flexmojos-introduction github

    flexmojos介绍 https://docs.sonatype.org/display/FLEXMOJOS/Index app

    flexmojos经典博文 http://www.adobe.com/cn/devnet/flex/articles/flex-maven-flexmojos-pt1.html maven

    onatype的公共仓库 https://repository.sonatype.org/index.html 学习

    maven官方公共仓库 http://search.maven.org/ flex

 使用总结: ui

      一直困扰的问题如下: url

        没法下载flexmojos-maven-plugin、

        flex的framework、

        生成的FLEX工程没法转换为FlexBuilder工程

    正确的使用步骤

        经过MAVEN命令建立FLEX工程

        maven的基本命令就不阐述  DarchetypeRepository  DarchetypeArtifactId DarchetypeVersion

        mvn archetype:generate - DarchetypeRepository=http://repository.sonatype.org/content/groups/flexgroup/ -DarchetypeGroupId=org.sonatype.flexmojos -DarchetypeArtifactId=flexmojos-archetypes-application -DarchetypeVersion=4.0-RC2

        注:DarchetypeVersion=4.0-RC2目前使用多的发布版本

         执行命令,输入groupid artifactid ........略

        修改pom.xml文件,在project标签中添加如下:

         <repositories>
             <repository>
                 <id>flex-mojos-repository</id>
                 <url>http://repository.sonatype.org/content/groups/flexgroup</url>
             </repository>
          </repositories>

        <pluginRepositories>
             <pluginRepository>
             <id>flex-mojos-plugin-repository</id>
             <url>http://repository.sonatype.org/content/groups/flexgroup</url>
             </pluginRepository>
      </pluginRepositories>

         接着输入生成flexBuilder项目 mvn org.sonatype.flexmojos:flexmojos-maven-plugin:3.9:flashbuilder

         试了N多生成FLEX项目的命令

          看到github上介绍 https://github.com/justinjmoses/flexmojos-introduction

           下载相关插件包及依赖framewokr包完成,over

相关文章
相关标签/搜索