On Fri, Dec 11, 2009 at 2:25 PM, Wayne Fay <wayne...@gmail.com> wrote:

>
> I think there's an extremely good chance you do not have your plugin
> versions locked down in your pom files with
> <version>[1.2.3]</version>.
>


I'm pretty sure my small project hasn't changed version numbers of plugins
so I'm completely stumped. For example, here is a created archetype if
someone wants to run mvn clean install in the root (it's small, it'll break
when trying to do the unit test for flash without the plugin but i don't
care about that, if you got to that point you got passed the error I'm
seeing.)  http://dl.dropbox.com/u/86998/flex-project.zip

This is what is odd, is that project above which I just made from the
following archetype cmd

mvn archetype:generate -DarchetypeRepository=
http://repository.sonatype.org/content/groups/flexgroup-DarchetypeGroupId=org.sonatype.flexmojos
-DarchetypeArtifactId=flexmojos-archetypes-modular-webapp
-DarchetypeVersion=3.4.1  (as described in the 3rd archetype here
http://flexmojos.sonatype.org/getting-started.html )

runs just fine when going against my OLD repo. With a fresh EMPTY repo I'll
end up with the following:

~/projects/flex-project $ mvn clean install
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Unnamed - net.reumann:flex-project:pom:1.0-SNAPSHOT
[INFO]   swc Library
[INFO]   swf Application
[INFO]   Unnamed - net.reumann:war:war:1.0-SNAPSHOT
[WARNING] POM for 'classworlds:classworlds:pom:1.1:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'jaxen:jaxen:pom:1.1:runtime' is invalid.

Its dependencies (if any) will NOT be available to the current build.
[INFO]
------------------------------------------------------------------------
[INFO] Building Unnamed - net.reumann:flex-project: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 /Users/rick/projects/flex-project/pom.xml to
/Users/rick/.m2/repository/net/reumann/flex-project/1.0-SNAPSHOT/flex-project-1.0-SNAPSHOT.pom
[INFO]
------------------------------------------------------------------------
[INFO] Building swc Library
[INFO]    task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory /Users/rick/projects/flex-project/swc/target
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (MacRoman actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
/Users/rick/projects/flex-project/swc/src/main/resources
[INFO] [flexmojos:compile-swc {execution: default-compile-swc}]
[INFO] Flexmojos 3.4.2 - Apache License (NO WARRANTY) - See COPYRIGHT file
[WARNING] Not defined if locales should be merged or not
[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
[FATAL ERROR] org.sonatype.flexmojos.compiler.LibraryMojo#execute() caused a
linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check
the realms:
[FATAL ERROR] Plugin realm =
app0.child-container[org.sonatype.flexmojos:flexmojos-maven-plugin:3.4.2]
urls[0] =
file:/Users/rick/.m2/repository/org/sonatype/flexmojos/flexmojos-maven-plugin/3.4.2/flexmojos-maven-plugin-3.4.2.jar
urls[1] =
file:/Users/rick/.m2/repository/org/sonatype/flexmojos/flexmojos-generator-api/3.4.2/flexmojos-generator-api-3.4.2.jar
urls[2]..etc etc
urls[3]....
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/Users/rick/java/maven/lib/maven-2.2.1-uber.jar
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] org/jdom/input/SAXBuilder
org.jdom.input.SAXBuilder
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.NoClassDefFoundError: org/jdom/input/SAXBuilder
        at
org.sonatype.flexmojos.utilities.FDKConfigResolver.getConfig(FDKConfigResolver.java:95)

Reply via email to