Saturday, November 22, 2008

How to install flex-mojo

Add repository to ~/.m2/settings.xml:

<settings>
<profiles>
<profile>
<id>flex-mojos</id>
<repositories>
<repository>
<id>flex-mojos-repository</id>
<url>http://svn.sonatype.org/flexmojos/repository/</url>
<snapshots> <enabled>true</enabled> </snapshots>
<releases> <enabled>true</enabled> </releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>local</id>
<url>http://svn.sonatype.org/flexmojos/repository/</url>
<snapshots> <enabled>true</enabled> </snapshots>
<releases> <enabled>true</enabled> </releases>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>flex-mojos</activeProfile>
</activeProfiles>
</settings>


Invoke the following command:

mvn info.flex-mojos:install-mojo:install-sdk -Dflex.sdk.folder="C:\Program Files\Adobe\Flex Builder 3 Plug-in\sdks\3.1.0" -Dversion=3.1.0



You can find additional information on google code site http://code.google.com/p/flex-mojos/ and blog http://blog.flex-mojos.info/

No comments: