flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vaibhav Shah <vaibhav.s...@barclays.com>
Subject Re: Configure multiple source mxml files to generate multiple swf files
Date Fri, 09 Feb 2018 09:17:46 GMT
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:
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/

View raw message