I would appreciate any help that could be thrown my way.  I am trying
to build the Flex application from the archetype.  I was able to get
the 4.0-beta-3 version to work by manually adding a bunch of the
dependencies into our private repository.  I can't seem to get the 3.8
version to build.  It fails because it can't find a required class
(flex2/tools/oem/PathResolver) which is found in the flex_sdk/lib/flex-
compiler-oem.jar (see below for output of maven).  I expected these
dependencies to automatically be resolved thru the repository.  Do I
need to do something special with the flex_sdk like manually
installing it into the repository?  Help!

Here is the command I use to build the archetype:

mvn archetype:generate -DarchetypeRepository=http://
repository.sonatype.org/content/groups/public -
DarchetypeGroupId=org.sonatype.flexmojos -
DarchetypeArtifactId=flexmojos-archetypes-application -
DarchetypeVersion=3.8

Here is what I get when I run "mvn install"

Downloading: http://cis-nexus:8081/nexus/content/groups/public/com/adobe/flex/fr
amework/flex/3.2.0.3958/flex-3.2.0.3958.pom
Downloaded: http://cis-nexus:8081/nexus/content/groups/public/com/adobe/flex/fra
mework/flex/3.2.0.3958/flex-3.2.0.3958.pom (2 KB at 8.2 KB/sec)
Downloading: http://cis-nexus:8081/nexus/content/groups/public/com/adobe/flex/fr
amework/playerglobal/3.2.0.3958/playerglobal-3.2.0.3958.pom
Downloaded: http://cis-nexus:8081/nexus/content/groups/public/com/adobe/flex/fra
mework/playerglobal/3.2.0.3958/playerglobal-3.2.0.3958.pom (2 KB at
37.8 KB/sec)

Downloading: http://cis-nexus:8081/nexus/content/groups/public/com/adobe/flex/fr
amework/flex/3.2.0.3958/flex-3.2.0.3958.swc
Downloading: http://cis-nexus:8081/nexus/content/groups/public/com/adobe/flex/fr
amework/playerglobal/3.2.0.3958/playerglobal-3.2.0.3958-9.swc
Downloaded: http://cis-nexus:8081/nexus/content/groups/public/com/adobe/flex/fra
mework/flex/3.2.0.3958/flex-3.2.0.3958.swc (51 KB at 1066.7 KB/sec)
Downloaded: http://cis-nexus:8081/nexus/content/groups/public/com/adobe/flex/fra
mework/playerglobal/3.2.0.3958/playerglobal-3.2.0.3958-9.swc (133 KB
at 2008.4 K
B/sec)
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources)
@ flexApp3
.8 ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered
resources,
i.e. build is platform dependent!
[INFO] Copying 0 resource
[INFO]
[INFO] --- flexmojos-maven-plugin:3.8:compile-swf (default-compile-
swf) @ flexAp
p3.8 ---
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1.961s
[INFO] Finished at: Wed Mar 02 16:37:41 MST 2011
[INFO] Final Memory: 7M/124M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-
plugin:3.8
:compile-swf (default-compile-swf) on project flexApp3.8: Execution
default-comp
ile-swf of goal org.sonatype.flexmojos:flexmojos-maven-plugin:
3.8:compile-swf fa
iled: Unable to load the mojo 'compile-swf' in the plugin
'org.sonatype.flexmojo
s:flexmojos-maven-plugin:3.8'. A required class is missing: flex2/
tools/oem/Path
Resolver
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.sonatype.flexmojos:flexmojos-maven-
plugin:3.8
[ERROR] strategy =
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/C:/Users/crjorge/.m2/repository/org/sonatype/
flexmojos/f
lexmojos-maven-plugin/3.8/flexmojos-maven-plugin-3.8.jar
[ERROR] urls[1] = file:/C:/Users/crjorge/.m2/repository/org/sonatype/
flexmojos/f
lexmojos-generator-api/3.8/flexmojos-generator-api-3.8.jar

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

Reply via email to