> Well, the only time I saw that was because someone declared flexmojos-
> maven-plugin twice.... so it is a maven issue because it shouldn't
> allow that....

Here is my entire POM.  I don't think I'm declaring the plugin twice.

<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.0</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.0</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>

> It is a recent issue and the user who found that did open a ticket on
> maven to get that fixed.... but if it is not that, would be a bug on
> maven, since flemojos DO NOT control the parameter inject....

Can you be more specific about "recent".  Also, where is this ticket?
You say "ticket on Maven" then "bug on Maven" as if they are two
different things.  Do you mean "ticket on Flexmojos" and "bug on
Maven?"

Notice how I've decreased the version to 3.4.0 from 3.4.2.  I've also
decreased to 3.3.0 with the same issue: the configuration is ignored.

Here is my Maven version:

C:\Users\lbradley\Projects\flexmojo\simple-generation\flex>mvn -
version
Maven version: 2.0.10
Java version: 1.6.0_17
OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"

I'll downgrade to an earlier version of Maven to see if that is the
problem.

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

Reply via email to