Just some comments on your pom, in case you weren't aware:
On Tue, Nov 25, 2008 at 2:51 PM, Garry <[EMAIL PROTECTED]> wrote:
> <parent>
> <groupId>info.flex-mojos</groupId>
> <artifactId>flex-super-pom</artifactId>
> <version>2.0M8</version>
> </parent>
If you are using the flex-mojos parent pom like you are here and are
happy with the default flex SDK version in that pom, you don't need
most of the settings below, since they are already defined in this
parent pom. You can see what is set in the flex-mojos super pom for M8
here:
http://svn.sonatype.org/flexmojos/repository/info/flex-mojos/flex-super-pom/2.0M8/flex-super-pom-2.0M8.pom
> <build>
> <sourceDirectory>src/main/flex</sourceDirectory>
This is defined in the parent pom, so is not needed here unless you
want a different value
> <plugins>
> <plugin>
> <groupId>info.flex-mojos</groupId>
> <artifactId>flex-compiler-mojo</artifactId>
> <configuration>
> <sourceFile>Main.mxml</sourceFile>
This is also defined in the paren
>
> <mergeResourceBundle>true</mergeResourceBundle>
You've requested to merge resource bundles, but you didn't give any
locales, so it will just default to en_US. This means that you need to
have a src/main/locales/en_US folder, even if it's empty. If you're
not localizing your app, you should remove this entry. If you are
localizing, then you will need to add a <locales> section for each
locale (if you are only doing en_US, then this is already in the
parent pom)
> <dependencies>
> <dependency>
> <groupId>com.adobe.flex</groupId>
> <artifactId>compiler</artifactId>
> <version>${flex-compiler.version}</version>
> <type>pom</type>
> </dependency>
This dependency should be inside the flex-compiler-mojo declaration
above. Since you're using the flex-mojos parent pom, this is already
taken care of for you, so it's not necessary and you can remove it (as
long as you use the flex-mojos parent pom and the same version of the
Flex SDK). See the above link to the pom to see where this normally
goes.
> <dependency>
> <groupId>com.adobe.flex.framework</groupId>
> <artifactId>flex-framework</artifactId>
> <version>${flex-compiler.version}</version>
> <type>pom</type>
> </dependency>
This is also declared in the parent pom, so is optional unless you
want to override the version.
Logan
--~--~---------~--~----~------------~-------~--~----~
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?hl=en?hl=en
http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---