> Aren't you mixing parent 3.4.0 and plugin 3.4.2 or something like > that, are you?
No. Here is the configuration: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http:// www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http:// maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-flex-super-pom</artifactId> <version>3.4.2</version> </parent> <groupId>org.sonatype.flexmojos.itest</groupId> <artifactId>simple-generation</artifactId> <version>1.0-SNAPSHOT</version> <packaging>swc</packaging> <build> <plugins> <plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>3.4.2</version> <extensions>true</extensions> <executions> <execution> <goals> <goal>generate</goal> </goals> <configuration> <generatorToUse>graniteds2</generatorToUse> <includeJavaClasses> <includeJavaClass>org.sonatype.flexmojos.generator.SimplePojo</ includeJavaClass> </includeJavaClasses> </configuration> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>org.sonatype.flexmojos.itest</groupId> <artifactId>generator-jar</artifactId> <version>1.0-SNAPSHOT</version> <scope>provided</scope> </dependency> </dependencies> </project> And here is the output from the command "C:\home\bin\java\apache\maven \2.2.1\bin\mvn --debug flexmojos:generate" [DEBUG] Configuring mojo 'org.sonatype.flexmojos:flexmojos-maven- plugin:3.4.2:generate' --> [DEBUG] (f) baseOutputDirectory = C:\Users\lbradley\Projects\flexmojo \simple-generation\flex\target\generated-sources\flexmojos [DEBUG] (f) generatorToUse = graniteds1 [DEBUG] (f) outputDirectory = C:\Users\lbradley\Projects\flexmojo \simple-generation\flex\src\main\flex [DEBUG] (f) outputEnumToBaseOutputDirectory = false [DEBUG] (f) project = MavenProject: org.sonatype.flexmojos.itest:simple-generation:1.0-SNAPSHOT @ C:\Users \lbradley\Projects\flexmojo\simple-generation\flex\pom.xml [DEBUG] (f) useTideEntityTemplate = false [DEBUG] -- end configuration -- [INFO] [flexmojos:generate {execution: default-cli}] [INFO] flexmojos 3.4.2 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file [INFO] Generating: C:\Users\lbradley\Projects\flexmojo\simple- generation\flex\target\generated-sources\flexmojos\org\sonatype \flexmojos\generator\SimplePojoBase.as [INFO] Generating: C:\Users\lbradley\Projects\flexmojo\simple- generation\flex\src\main\flex\org\sonatype\flexmojos\generator \SimplePojo.as [INFO] Generating: C:\Users\lbradley\Projects\flexmojo\simple- generation\flex\target\generated-sources\flexmojos\org\sonatype \flexmojos\generator\SimpleInterfaceBase.as [INFO] Generating: C:\Users\lbradley\Projects\flexmojo\simple- generation\flex\src\main\flex\org\sonatype\flexmojos\generator \SimpleInterface.as [INFO] 4 files generated. Using the command "C:\home\bin\java\apache\maven\2.2.1\bin\mvn --debug clean install" does seem to work though. Why would flexmojos:generate not work, but clean install work? -- 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/
