One more observation and its solution:

Default behaviour: the flexmojos-maven-plugin tries to generate the flex
compiler configuration file via the plugin goal generate-config-swf whenever
the pom.xml changes.

Problematic scenario: if your pom.xml has only the plugin declarations with
'executions' in it, then the above goal fails with following error:
/java.lang.RuntimeException:
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.sonatype.flexmojos:flexmojos-maven-plugin:3.8:generate-config-swf
(default-cli) on project TreasuryAgreements-UI: Source file not expecified
and no default found!/

Solution: need to add one dummy plugin declaration without 'executions' as
mentioned above for similar error. After that, the error no longer appears
and the config file is generated correctly.



--
Sent from: http://apache-flex-development.2333347.n4.nabble.com/

Reply via email to