Using ASDoc on maven

Since alpha4 flex-mojos has support to asdoc generation.

Is quite easy to get it working.

Who is using the suggested super pom, just need go to console and type:

mvn asdoc:asdoc

That is why I create and insist on the use of super pom. Even for Java maven has a super pom. So I do the same thinking in Flex.

For those who can’t or just don’t wanna use flex-mojos super pom is easy to put asdoc to run. Just add a plugin on pom.xml:

<build>
...
  <plugins>
  ...
    <plugin>
      <groupId>info.rvin.mojo</groupId>
      <artifactId>asdoc</artifactId>
    </plugin>
  </plugins>
</build>

Once is dont, just maven on the same way of who uses super pom.

For who doesn’t wanna, can, like… change pom.xml, there is always a harder way. Type:

mvn info.rvin.mojo:asdoc:1.0-alpha1:asdoc

1.0-alpha1 is the current version of asdoc-mojo.
Check for most updated versions.

With asdoc on first alpha, a lot of problems may be found. On basic tests is working, if someone find problems let me know.

VELO

Discussion Area - Leave a Comment