I am attempting to upgrade FlexMojos from 3.7.1 to 3.8.  After
compiling successfully I was having problems at runtime with a missing
style.  I compared the config-report.xml file between 3.7.1 and 3.8
and the only difference was the addition of new libraries to the
external-library-path.  The project I was compiling has a dependency
on our own rsl.  I was able to track down the new external-library-
path libraries as being dependencies of the rsl.

By adding exclusions to the projects pom where the rsl dependency is
defined I was able to get the config-report.xml file to match again.
I just wondered if this was an expected change.  My assumption is that
FlexMojos was improved to follow the "Maven Way" more accurately and
my original configuration was flawed due to transitive dependencies.

Below are some snippets from the poms.  The config-report.xml file for
ProjectA was showing an external-library-path compiler argument for
flexlib.
ProjectA pom.xml snippet prior to exclusions:
<dependency>
            <groupId>com.company.ui</groupId>
            <artifactId>common-library</artifactId>
            <version>1.0-SNAPSHOT</version>
            <type>swc</type>
            <scope>rsl</scope>
</dependency>

RSL project pom.xml
<dependency>
            <groupId>flexlib</groupId>
            <artifactId>flexlib</artifactId>
            <version>2.5</version>
            <type>swc</type>
        </dependency>

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to