Hi Suresh,
I’m looking more into this, but wanted to report what I found thus far. I’m taking the route of creating an ant script to generate the asdocs. Do you think that may help what you are trying to do? Since the asdoc.jar is included in the flex SDK, I didn’t think it needed to be part of the pom.xml, but I could be wrong.
For example, something like:
<?xml version="1.0" encoding="UTF-8"?>
<project name="asdocFlex" default="doc">
<property name="SDK_HOME" value="C:/Users/Dave/.myeclipse/flex4Sdk"/>
<property name="ASDOC_JAR" value="${SDK_HOME}/lib/asdoc.jar"/>
<property name="SOURCE_PATH" value="../flex_src"/>
<property name="DOC_SOURCE" value="../flex_src"/>
<property file="build.properties" />
<target name="doc">
<java jar="${ASDOC_JAR}" fork="true" failonerror="true">
<arg value="-source-path=${SOURCE_PATH}"/>
<arg value="-doc-sources=${DOC_SOURCE}"/>
</java>
</target>
</project>
Let me know if this helps,
Dave