Hi,
I have a large Flex project and I'm trying to refactor it to be able
to build it with Maven2. My project structure is;

LibProject
src
assets
css
style.css
img
buttons
components
icons
src_images
skins
de
flex
component.mxml

The POM-Plugin config is this one:
...
<packaging>swc</packaging>
...
<plugins>
            <plugin>
                <groupId>org.sonatype.flexmojos</groupId>
                <artifactId>flexmojos-maven-plugin
                </artifactId>
                <version>3.6.1</version>
                <extensions>true</extensions>
                <configuration>
                    <resourceBundlePath>${basedir}/locale/{locale}</
resourceBundlePath>
                    <compiledLocales>
                        <locale>de_DE</locale>
                        <locale>en_US</locale>
                    </compiledLocales>
                    <debug>false</debug>
                    <strict>true</strict>
                    <licenses>
                        <flexbuilder3>xxxx-xxxx-xxxx-xxxx-xxxx-xxxx</
flexbuilder3>
                    </licenses>
                    <targetPlayer>9.0.115</targetPlayer>
                    <sourcePaths>
                        <path>${basedir}/src</path>
                    </sourcePaths>

                    <configurationReport>true</configurationReport>
                    <mergeResourceBundle>true</mergeResourceBundle>
                    <configurationReport>true</configurationReport>
                    <keepGeneratedActionscript>true</
keepGeneratedActionscript>
                </configuration>
            </plugin>
        </plugins>
...

if I  try to run mvn package, I'm getting a hundrets of errors:
[ERROR] D:\Workspaces\IQweb-4.0.3\iqweb-build\iqweb-client\iqweb-core
\src\assets\css\General.css:[18,-1] Invalid Embed directive in
stylesheet - can't resolve source 'Embed(source = "../img/icons/
rankingStar.png")'.

What am I doing wrong?Compiling the library in FlexBuilder 3 does
work.

Thanks & regards,
bate_g

-- 
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