The flexmojos-maven-plugin provides option to define the services via the
configuration node as follows:
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>3.8</version>
<extensions>true</extensions>
<configuration>
<sourceFile>Abc.mxml</sourceFile>
<debug>true</debug>
<storepass></storepass>
<output>${basedir}/target/Abc.swf</output>
<services>../MyProject/WebRoot/WEB-INF/flex/services-config.xml</services>
<contextRoot>/</contextRoot>
</configuration>
<dependencies>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>compiler</artifactId>
<version>3.2.0.3958</version>
<type>pom</type>
</dependency>
</dependencies>
</plugin>
If you specify services, then you have to specify contextRoot as well.
--
Sent from: http://apache-flex-development.2333347.n4.nabble.com/