By default, Maven only recognizes a limited set of languages. When a language is recognized then Maven performs filtering on files ending in the language suffix (such as *.java). This example demonstrates the filtering difference between Java (recognized) and ActionScript (unrecognized) files:
[DEBUG] Processing fileset src/main/java (Filtered-Packaged) [**/*.java -- ] [DEBUG] Copying fileset src/main/flex (Copied-Flat) [**/*.jpg, **/*.db, **/*.TTF, **/*.png, **/*.flv, **/*.otf, **/*.mxml, **/*.as, **/*.swf, **/*.css -- ] According to http://maven.apache.org/plugins/maven-archetype-plugin/examples/create-with-property-file.html, there are two arguments (archetypeLanguage and archetypeFilteredExtensions) that need to be set to enable the recognization of a language. Although they describe specifying these arguments within a properties file, it also states that these arguments can also be specified on the command line like this: $ mvn -X archetype:generate -DarchetypeCatalog=local -DarchetypeLanguage=actionscript -DarchetypeFilteredExtensions=as Unfortunately this still results in *.as files only being copied and not processed. I have also tried all of the different permutations, such as creating and specifying the values within a project file, but still haven't managed to get ActionScript as files to be filtered by Maven. Thanks, Norman -- View this message in context: http://old.nabble.com/filteredExtensions-doesn%27t-work-tp26779943p26779981.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
