I think I need to fix the compiler reference first, as I have this error: 1 required artifact is missing.
for artifact: info.flex-mojos:flex-compiler-mojo:maven-plugin:2.0.1 from the specified remote repositories: central (http://builds.companyname.net/artifactory/repo), local (http://svn.sonatype.org/flexmojos/repository/), snapshots (http://builds.companyname.net/artifactory/repo), flex-mojos-repository (http://svn.sonatype.org/flexmojos/repository/) I have the SDK in a local repository and use that for the framework as follows: <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>flex-framework</artifactId> <version>3.1.0-fb3</version> <type>pom</type> </dependency> What should the beginning of the <build> section look like? Below is what I have now, after removing the items you suggested. <build> <plugins> <plugin> <groupId>info.flex-mojos</groupId> <artifactId>flex-compiler-mojo</artifactId> <dependencies> <dependency> <groupId>com.adobe.flex</groupId> <artifactId>compiler</artifactId> <version>3.1.0</version> <type>pom</type> </dependency> </dependencies> <configuration> <mergeResourceBundle>true</mergeResourceBundle> <includeSources> <path>${basedir}/src/main/flex</path> </includeSources> <compiledLocales> <locale>en_US</locale> <locale>ja_JP</locale> </compiledLocales> </configuration> </plugin> </plugins> </build> On Tue, Jan 20, 2009 at 1:39 PM, Marvin Froeder <[email protected]> wrote: > And if you remove sourcePaths section? What happens? If should keep > working. > > The locales is ignored when you specify compiledLocales, so you are free to > remove it. > > VELO > > > On Tue, Jan 20, 2009 at 7:19 PM, Richard Rodseth <[email protected]>wrote: > >> My simple libraries are building with 2.0.1, so it's on to the big one >> which has resources, locales and a stylesheet. >> >> The project layout (which I believe is the recommended one) is >> src >> ..main >> ....flex >> ......com >> ......styles >> ........stylesheet.css >> ....locales >> ......en_US >> ......ja_JP >> ....resources >> ......assets >> ........images >> >> The old <build> section of the POM is below. I know it's a lot to ask, but >> it would be great if someone could tell me what, if anything, of this is >> still needed. In Flexbuilder, the source path contains: >> >> src/main/flex (main source folder) >> src/test/flex >> src/main/locales/{locale} >> src/main/resources >> >> And additional compiler arguments: >> -locale en_US ja_JP >> >> Thanks! >> >> <build> >> <plugins> >> <plugin> >> <groupId>info.flex-mojos</groupId> >> <artifactId>flex-compiler-mojo</artifactId> >> <dependencies> >> <dependency> >> <groupId>com.adobe.flex</groupId> >> <artifactId>compiler</artifactId> >> <version>3.1.0</version> >> <type>pom</type> >> </dependency> >> </dependencies> >> <configuration> >> <mergeResourceBundle>true</mergeResourceBundle> >> <includeSources> >> <path>${basedir}/src/main/flex</path> >> </includeSources> >> >> <!-- Workaround until M10 - set source paths >> manually--> >> >> <sourcePaths> >> <path>${basedir}/src/main/flex</path> >> <path>src/main/locales/en_US</path> >> <path>src/main/locales/ja_JP</path> >> <path>${basedir}/src/main/resources</path> >> </sourcePaths> >> >> <locales> >> <locale>en_US</locale> >> <locale>ja_JP</locale> >> </locales> >> <compiledLocales> >> <locale>en_US</locale> >> <locale>ja_JP</locale> >> </compiledLocales> >> >> </configuration> >> </plugin> >> </plugins> >> </build> >> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
