It did worked fine here....  althought I didn't tested on the same
version I just use the one I have here.

VELO


F:\flexmojos-aggregator\flexmojos-testing\flexmojos-test-harness
\projects\concept\simple-generation>"c:\java\maven 2.2.1\bin\mvn"
clean install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Unnamed - org.sonatype.flexmojos.itest:generator-jar:jar:1.0-
SNAPSHOT
[INFO]   Unnamed - org.sonatype.flexmojos.itest:simple-generation:swc:
1.0-SNAPSHOT
[INFO]   Unnamed - info.rvin.itest:simple-generation:pom:1.0-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO] Building Unnamed - org.sonatype.flexmojos.itest:generator-
jar:jar:1.0-SNAPSHOT
[INFO]    task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory F:\flexmojos-aggregator\flexmojos-testing
\flexmojos-test-harness\projects\concept\simple-generation\java\target
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory F:\flexmojos-aggregator
\flexmojos-testing\flexmojos-test-harness\projects\concept\simple-
generation\java\src\main\resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 2 source files to F:\flexmojos-aggregator\flexmojos-
testing\flexmojos-test-harness\projects\concept\simple-generation\java
\target\classes
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory F:\flexmojos-aggregator
\flexmojos-testing\flexmojos-test-harness\projects\concept\simple-
generation\java\src\test\resources
[INFO] [compiler:testCompile {execution: default-testCompile}]
[INFO] No sources to compile
[INFO] [surefire:test {execution: default-test}]
[INFO] No tests to run.
[INFO] [jar:jar {execution: default-jar}]
[INFO] Building jar: F:\flexmojos-aggregator\flexmojos-testing
\flexmojos-test-harness\projects\concept\simple-generation\java\target
\generator-jar-1.0-SNAPSHOT.jar
[INFO] [install:install {execution: default-install}]
[INFO] Installing F:\flexmojos-aggregator\flexmojos-testing\flexmojos-
test-harness\projects\concept\simple-generation\java\target\generator-
jar-1.0-SNAPSHOT.jar to C:\Users\Seven\.
m2\repository\org\sonatype\flexmojos\itest\generator-jar\1.0-SNAPSHOT
\generator-jar-1.0-SNAPSHOT.jar
[INFO]
------------------------------------------------------------------------
[INFO] Building Unnamed - org.sonatype.flexmojos.itest:simple-
generation:swc:1.0-SNAPSHOT
[INFO]    task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory F:\flexmojos-aggregator\flexmojos-testing
\flexmojos-test-harness\projects\concept\simple-generation\flex\target
[INFO] [flexmojos:generate {execution: default}]
[INFO] flexmojos 3.4.0 - GNU GPL License (NO WARRANTY) - See COPYRIGHT
file
[INFO] Calling the generator for each Java class.
[INFO]   Generating: F:\flexmojos-aggregator\flexmojos-testing
\flexmojos-test-harness\projects\concept\simple-generation\flex\target
\generated-sources\flexmojos\org\sonatype\flexmo
jos\generator\SimplePojoBase.as
[INFO]   Skipping: F:\flexmojos-aggregator\flexmojos-testing\flexmojos-
test-harness\projects\concept\simple-generation\flex\src\main\flex\org
\sonatype\flexmojos\generator\SimplePoj
o.as - output file already exists and must not be overwritten
[INFO] Files affected: 1.
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory F:\flexmojos-aggregator
\flexmojos-testing\flexmojos-test-harness\projects\concept\simple-
generation\flex\src\main\resources
[INFO] [flexmojos:compile-swc {execution: default-compile-swc}]
[INFO] Flexmojos 3.4.0 - Apache License (NO WARRANTY) - See COPYRIGHT
file
[WARNING] Unable to find license.jar on classpath. Check wiki for
instructions about how to add it:
   https://docs.sonatype.org/display/FLEXMOJOS/FAQ#FAQ-1.3
[WARNING] Nothing expecified to include. Assuming source and resources
folders.
[INFO] Flex compiler configurations:
-compiler.accessible=false
-compiler.actionscript-file-encoding UTF-8
-compiler.allow-source-path-overlap=false
-compiler.as3=true
-compiler.debug=true
-compiler.es=false
-compiler.external-library-path F:\flexmojos-aggregator\flexmojos-
testing\flexmojos-test-harness\projects\concept\simple-generation\flex
\target\classes\libraries\playerglobal.swc
-compiler.fonts.local-fonts-snapshot F:\flexmojos-aggregator\flexmojos-
testing\flexmojos-test-harness\projects\concept\simple-generation\flex
\target\classes\fonts.ser
-compiler.fonts.managers flash.fonts.JREFontManager
flash.fonts.AFEFontManager flash.fonts.BatikFontManager
-compiler.headless-server=false
-compiler.include-libraries=
-compiler.keep-all-type-selectors=false
-compiler.keep-generated-actionscript=false
-compiler.library-path C:\Users\Seven\.m2\repository\com\adobe\flex
\framework\flex\3.2.0.3958\flex-3.2.0.3958.swc C:\Users\Seven
\.m2\repository\com\adobe\flex\framework\framework\3
.2.0.3958\framework-3.2.0.3958.swc C:\Users\Seven\.m2\repository\com
\adobe\flex\framework\rpc\3.2.0.3958\rpc-3.2.0.3958.swc C:\Users\Seven
\.m2\repository\com\adobe\flex\framework\u
tilities\3.2.0.3958\utilities-3.2.0.3958.swc
-compiler.locale=
-compiler.namespaces.namespace http://www.adobe.com/2006/mxml F:
\flexmojos-aggregator\flexmojos-testing\flexmojos-test-harness\projects
\concept\simple-generation\flex\target\classe
s\config-3.2.0.3958\mxml-manifest.xml
-compiler.optimize=true
-compiler.source-path F:\flexmojos-aggregator\flexmojos-testing
\flexmojos-test-harness\projects\concept\simple-generation\flex\src
\main\flex F:\flexmojos-aggregator\flexmojos-testi
ng\flexmojos-test-harness\projects\concept\simple-generation\flex
\target\generated-sources\flexmojos
-compiler.strict=true
-compiler.use-resource-bundle-metadata=true
-compiler.verbose-stacktraces=false
-compute-digest=true
-default-background-color 8821927
-default-frame-rate 24
-default-script-limits 1000 60
-default-size 500 375
-licenses.license flashbuilder4 952307071850431123919782
-licenses.license flexbuilder235740.displayedStartPageAtLeastOneTime
true
-licenses.license flexbuilder253292.displayedStartPageAtLeastOneTime
true
-licenses.license flexbuilder3 137740098541428119503751
-licenses.license flexbuilder3.displayedFirstLaunchMessage true
-licenses.license flexbuilder3.displayedStartPageAtLeastOneTime true
-metadata.date Wed Dec 16 14:25:21 BRST 2009
-metadata.localized-title Unnamed -
org.sonatype.flexmojos.itest:simple-generation:swc:1.0-SNAPSHOT x-
default
-target-player 9.0.0
-use-network=true
-verify-digests=true -static-link-runtime-shared-libraries=false -load-
config=
[WARNING] F:\flexmojos-aggregator\flexmojos-testing\flexmojos-test-
harness\projects\concept\simple-generation\flex\target\generated-
sources\flexmojos\org\sonatype\flexmojos\generat
or\SimplePojoBase.as:[16,18] No constructor function was specified for
class SimplePojoBase.    public class SimplePojoBase implements
IExternalizable {
[INFO] [resources:testResources {execution: default-testResources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory F:\flexmojos-aggregator
\flexmojos-testing\flexmojos-test-harness\projects\concept\simple-
generation\flex\src\test\resources
[INFO] [flexmojos:test-compile {execution: default-test-compile}]
[INFO] flexmojos 3.4.0 - GNU GPL License (NO WARRANTY) - See COPYRIGHT
file
[WARNING] Test folder not foundF:\flexmojos-aggregator\flexmojos-
testing\flexmojos-test-harness\projects\concept\simple-generation\flex
\src\test\flex
[INFO] [flexmojos:test-run {execution: default-test-run}]
[INFO] flexmojos 3.4.0 - GNU GPL License (NO WARRANTY) - See COPYRIGHT
file
[WARNING] Skipping test run. Runner not found: F:\flexmojos-aggregator
\flexmojos-testing\flexmojos-test-harness\projects\concept\simple-
generation\flex\target\test-classes
[INFO] [install:install {execution: default-install}]
[INFO] Installing F:\flexmojos-aggregator\flexmojos-testing\flexmojos-
test-harness\projects\concept\simple-generation\flex\target\simple-
generation-1.0-SNAPSHOT.swc to C:\Users\Sev
en\.m2\repository\org\sonatype\flexmojos\itest\simple-generation\1.0-
SNAPSHOT\simple-generation-1.0-SNAPSHOT.swc
[INFO]
------------------------------------------------------------------------
[INFO] Building Unnamed - info.rvin.itest:simple-generation:pom:1.0-
SNAPSHOT
[INFO]    task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] [site:attach-descriptor {execution: default-attach-descriptor}]
[INFO] [install:install {execution: default-install}]
[INFO] Installing F:\flexmojos-aggregator\flexmojos-testing\flexmojos-
test-harness\projects\concept\simple-generation\pom.xml to C:\Users
\Seven\.m2\repository\info\rvin\itest\simpl
e-generation\1.0-SNAPSHOT\simple-generation-1.0-SNAPSHOT.pom
[INFO]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] Unnamed - org.sonatype.flexmojos.itest:generator-jar:jar:1.0-
SNAPSHOT  SUCCESS [1.397s]
[INFO] Unnamed - org.sonatype.flexmojos.itest:simple-generation:swc:
1.0-SNAPSHOT  SUCCESS [5.035s]
[INFO] Unnamed - info.rvin.itest:simple-generation:pom:1.0-SNAPSHOT
SUCCESS [0.881s]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 17 seconds
[INFO] Finished at: Wed Dec 16 14:25:26 BRST 2009
[INFO] Final Memory: 59M/229M
[INFO]
------------------------------------------------------------------------

F:\flexmojos-aggregator\flexmojos-testing\flexmojos-test-harness
\projects\concept\simple-generation>dir flex\target\generated-sources
\flexmojos\org\sonatype\flexmojos\generator
 Volume in drive F is New Volume
 Volume Serial Number is 8A00-BC8F

 Directory of F:\flexmojos-aggregator\flexmojos-testing\flexmojos-test-
harness\projects\concept\simple-generation\flex\target\generated-
sources\flexmojos\org\sonatype\flexmojos\gen
erator

16/12/2009  14:25    <DIR>          .
16/12/2009  14:25    <DIR>          ..
16/12/2009  14:25             1.686 SimplePojoBase.as
               1 File(s)          1.686 bytes
               2 Dir(s)   6.264.872.960 bytes free

F:\flexmojos-aggregator\flexmojos-testing\flexmojos-test-harness
\projects\concept\simple-generation>

On Dec 16, 2:11 pm, Lukas Bradley <[email protected]> wrote:
> > 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.0http://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