Hello,
I am trying to build flex 4 project with flexmojos 3.6.1 but I think I am
still using flex 3 sdk. Somehow I am misconfiguring :( I tried to write pom
file according
https://docs.sonatype.org/display/FLEXMOJOS/How+to+set+Flex+SDK+version but
am I writing something wrong?
My Pom is:
<build>
<sourceDirectory>*src*/main/*flex*</sourceDirectory>
<testSourceDirectory>*src*/test/*flex*</testSourceDirectory>
<plugins>
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>*flexmojos*-*maven*-*plugin*</artifactId>
<version>3.6.1</version>
<dependencies>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>compiler</artifactId>
<version>4.0.0.10193</version>
<type>*pom*</type>
</dependency>
</dependencies>
<extensions>true</extensions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>*flex*-framework</artifactId>
<version>4.0.0.10193</version>
<type>*pom*</type>
</dependency>
and my trace is like:
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building RCTLib4
[INFO] task-segment: [package]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 46 resources
[INFO] [flexmojos:compile-swc {execution: default-compile-swc}]
[INFO] Flexmojos 3.6.1
[INFO] Apache License - Version 2.0 (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.external-library-path
C:\workspaces\maven_workspace\claimer\RCTLib4\target\classes\libraries\playerglobal.swc
-compiler.include-libraries=
-compiler.library-path C:\Documents and
Settings\csaner\.m2\repository\com\adobe\flex\framework\flex\4.0.0.10193\flex-4.0.0.10193.swc
C:\Documents and
Settings\csaner\.m2\repository\com\adobe\flex\framework\framework\4.0.0.10193\framework-4.0.0.10193.swc
C:\Documents and
Settings\csaner\.m2\repository\com\adobe\flex\framework\rpc\4.0.0.10193\rpc-4.0.0.10193.swc
C:\Documents and
Settings\csaner\.m2\repository\com\adobe\flex\framework\spark\4.0.0.10193\spark-4.0.0.10193.swc
C:\Documents and
Settings\csaner\.m2\repository\com\adobe\flex\framework\sparkskins\4.0.0.10193\sparkskins-4.0.0.10193.swc
C:\Documents and
Settings\csaner\.m2\repository\com\adobe\flex\framework\textLayout\4.0.0.10193\textLayout-4.0.0.10193.swc
C:\Documents and
Settings\csaner\.m2\repository\com\adobe\flex\framework\utilities\4.0.0.10193\utilities-4.0.0.10193.swc
-compiler.accessible=false
-compiler.allow-source-path-overlap=false
-compiler.as3=true
-compiler.debug=true
-compiler.es=false
-compiler.fonts.managers flash.fonts.JREFontManager
flash.fonts.AFEFontManager flash.fonts.BatikFontManager
flash.fonts.CFFFontManager
-compiler.fonts.local-fonts-snapshot
C:\workspaces\maven_workspace\claimer\RCTLib4\target\classes\fonts.ser
-compiler.keep-generated-actionscript=false
-licenses.license flexbuilder3 137741681248562243095177
-licenses.license flexbuilder3.displayed10DaysLeftMessage true
-licenses.license flexbuilder3.displayed20DaysLeftMessage true
-licenses.license flexbuilder3.displayedFirstLaunchMessage true
-licenses.license flexbuilder3.displayedStartPageAtLeastOneTime true
-compiler.locale=
-compiler.optimize=true
-compiler.source-path
C:\workspaces\maven_workspace\claimer\RCTLib4\src\main\flex
-compiler.strict=true
-use-network=true
-compiler.verbose-stacktraces=false
-compiler.actionscript-file-encoding UTF-8
-target-player 10.0.0
-default-background-color 8821927
-default-frame-rate 24
-default-script-limits 1000 60
-default-size 500 375
-compiler.headless-server=false
-compiler.keep-all-type-selectors=false
-compiler.use-resource-bundle-metadata=true
-metadata.date Wed May 05 16:18:58 EEST 2010
-metadata.localized-title RCTLib4 x-default
-verify-digests=true
-compute-digest=true
-compiler.namespaces.namespace+=http://ns.adobe.com/mxml/2009,C:\workspaces\maven_workspace\claimer\RCTLib4\target\classes\config-4.0.0.10193\mxml-2009-manifest.xml
-compiler.namespaces.namespace+=library://ns.adobe.com/flex/spark,C:\workspaces\maven_workspace\claimer\RCTLib4\target\classes\config-4.0.0.10193\spark-manifest.xml
-compiler.namespaces.namespace+=library://ns.adobe.com/flex/halo,C:\workspaces\maven_workspace\claimer\RCTLib4\target\classes\config-4.0.0.10193\halo-manifest.xml
-compiler.namespaces.namespace+=http://www.adobe.com/2006/mxml,C:\workspaces\maven_workspace\claimer\RCTLib4\target\classes\config-4.0.0.10193\halo-manifest.xml
-static-link-runtime-shared-libraries=false -load-config=
cansaner
On Mon, May 3, 2010 at 6:23 PM, Marvin Froeder <[email protected]> wrote:
> Yes, flexmojos 3.x
>
> Sent from DROID
>
> Em 03/05/2010 12:16, "raaaaraaaa" <[email protected]>escreveu:
>
>
> Hello,
>
> Is it possible to build flex 4 project with maven 2 ? Flexmojo plugin
> needs maven 3.0 :(
>
> Any other options?
>
> Thank you
> Have a nice day
>
> --
> 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]<flex-mojos%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos
>
> http://flexmojos.sonatype.org/
>
> --
> 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]<flex-mojos%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/flex-mojos
>
> http://flexmojos.sonatype.org/
>
--
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
http://flexmojos.sonatype.org/