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

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


VELO

On Dec 16, 1:38 pm, Lukas Bradley <[email protected]> wrote:
> Marvin (and others), I appreciate that you want everyone to read the
> documentation to make sure they understand what they should do.  I
> also understand that you probably get frustrated with questions that
> you *feel* are adequately documented in the WIKI and FAQ.  However,
> it's obvious that several people are having trouble getting includes
> and excludes to work properly.
>
> I am also having trouble with this, but I feel the problem is much
> larger: it seems as if the entire configuration block is being
> ignored.
>
> I have checked out the example project provided.  In order to get it
> to work, I modified the version to 3.4.2 in both the parent and build
> plugin blocks within the flex pom.  This is the first element within
> the example that was not adequately documented.
>
> Second, in order to test the includes and excludes, I added a
> configuration block.  Here is the entire segment for clarity:
>
>   <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>
>
> This still generated both the SimplePojo and the SimpleInterface.
> Since SimplePojo doesn't reference SimpleInterface (it's been
> commented out), it's obvious that something is wrong.
>
> At first, I tried adding excludeJavaClasses and excludeClasses, but
> that didn't work either.  When running Maven in debug mode, I noticed
> something interesting:
>
> [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 --
>
> Notice the "generatorToUse = graniteds1" line.  It seems to be as if
> the entire configuration block is being ignored.
>
> There is the possibility that I (and the others) are missing something
> in all of the documents that you are referencing.  Please be assured
> that I have read all of the referenced documentation, and it simply
> appears as if the configuration
>
> Any and all help appreciated.
>
> Lukas

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