Thursday, September 4, 2008

Flex Libraries - SWC and Maven

Handling these dependencies in maven, is just like any other library or jar. For example I'm using mate in my project ,

mvn install:install-file -DgroupId=com.asfusion.mate -DartifactId=mate -Dversion=0.7.8 -Dpackaging=swc -Dfile=<file path>Mate_07_8.swc

and now just add the dependency in your pom file ,


<dependency>
<groupId>com.asfusion.mate</groupId>
<artifactId>mate</artifactId>
<version>0.7.8</version>
<type>swc</type>
</dependency>



for more information refer to this post Adding Libraries to Compilation by velos from the flex-mojos blog

No comments:

Post a Comment