To enable the plugin, add the following to you project's pom.xml,
<project>
...
<build>
<plugins>
<plugin>
<groupId>uk.co.badgersinfoil.wsdl2as</groupId>
<artifactId>maven-wsdl2as-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>wsdl2as</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
...
</project>You should place your WSDL files in src/main/wsdl
For access to playerglobals.swc, the plugin needs to know the location of your Flex 2 installation. Specify this in an active profile of your settings.xml file, as located in the .m2 subdirectory of your home directory:
<settings>
...
<profiles>
<profile>
<id>flexdev</id>
<properties>
<flex.home>/path/to/flex_2_sdk</flex.home>
</properties>
</profile>
...
</profiles>
<activeProfiles>
<activeProfile>flexdev</activeProfile>
</activeProfiles>
</settings>