I got this problem here several times.... Then I start to use nexus to manage my local dependencies..... helped a lot.
I have the terrible habit of pressing Crtl+C on the middle of maven build process. This can break artifacts being downloaded. VELO On Wed, Nov 12, 2008 at 6:29 PM, Garry <[EMAIL PROTECTED]> wrote: > > Right again - as usual - VELO; dumping my local repo did the trick. > > Thanks, Garry > > > On Nov 12, 3:08 pm, Garry <[EMAIL PROTECTED]> wrote: > > Ok, will dump my local repo and let you know ... > > > > Garry > > > > On Nov 12, 3:01 pm, "Marvin Froeder" <[EMAIL PROTECTED]> wrote: > > > > > Html wrapper doesn't use commons-codec, directly. But, some > dependencies > > > do: > > > info.flex-mojos:html-wrapper-mojo:maven-plugin:2.0M9-SNAPSHOT > > > +- info.flex-mojos:util:jar:2.0M9-SNAPSHOT:compile > > > | \- org.jdom:jdom:jar:1.1:compile > > > +- eu.cedarsoft.utils:zip:jar:1.1:compile > > > | +- eu.cedarsoft:guice-annotations:jar:1.0:compile > > > | \- com.intellij:annotations:jar:6.0.3:compile > > > +- commons-io:commons-io:jar:1.4:compile > > > +- org.apache.maven:maven-plugin-api:jar:2.0.9:compile > > > +- org.apache.maven:maven-project:jar:2.0.9:compile > > > | +- org.apache.maven:maven-settings:jar:2.0.9:compile > > > | +- org.apache.maven:maven-profile:jar:2.0.9:compile > > > | +- org.apache.maven:maven-model:jar:2.0.9:compile > > > | +- org.apache.maven:maven-artifact-manager:jar:2.0.9:compile > > > | | +- org.apache.maven:maven-repository-metadata:jar:2.0.9:compile > > > | | \- > org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-2:compile > > > | +- org.apache.maven:maven-plugin-registry:jar:2.0.9:compile > > > | +- org.codehaus.plexus:plexus-utils:jar:1.5.6:compile > > > | +- org.apache.maven:maven-artifact:jar:2.0.9:compile > > > | \- > > > > org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-9-stable-1:compile > > > | +- junit:junit:jar:4.4:test (version managed from 3.8.1; scope > managed > > > from compile) > > > | \- classworlds:classworlds:jar:1.1-alpha-2:compile > > > \- commons-httpclient:commons-httpclient:jar:3.1:compile > > > +- commons-logging:commons-logging:jar:1.0.4:compile > > > \- commons-codec:commons-codec:jar:1.3:compile (version managed from > 1.2) > > > > > Hopefully is the commons-httpclient pom who is broken. > > > > > Another way to "fix" this is purge your entire repo. > > > > > VELO > > > > > On Wed, Nov 12, 2008 at 5:42 PM, Garry <[EMAIL PROTECTED]> wrote: > > > > > > Don't know why an artifact would be broken. > > > > > > Here's a bit more error output. I'm not familiar with the "realm" > > > > concept. Have you seen anything like > > > > this before: > > > > > > [INFO] Extracting template > > > > [FATAL ERROR] info.flexmojos.htmlwrapper.HtmlWrapperMojo#execute() > > > > caused a linkage error (java.lang.NoClassDefFoundError) and may be > out- > > > > of-date. Check the realms: > > > > [FATAL ERROR] Plugin realm = > app0.child-container[info.flex-mojos:html- > > > > wrapper-mojo] > > > > urls[0] = file:/Users/garry/.m2/repository/info/flex-mojos/html- > > > > wrapper-mojo/2.0M8/html-wrapper-mojo-2.0M8.jar > > > > urls[1] = > file:/Users/garry/.m2/repository/info/flex-mojos/util/2.0M8/ > > > > util-2.0M8.jar > > > > urls[2] = file:/Users/garry/.m2/repository/commons-io/commons-io/1.4/ > > > > commons-io-1.4.jar > > > > urls[3] = > file:/Users/garry/.m2/repository/org/codehaus/plexus/plexus- > > > > utils/1.1/plexus-utils-1.1.jar > > > > urls[4] = > file:/Users/garry/.m2/repository/eu/cedarsoft/utils/zip/1.1/ > > > > zip-1.1.jar > > > > urls[5] = file:/Users/garry/.m2/repository/eu/cedarsoft/guice- > > > > annotations/1.0/guice-annotations-1.0.jar > > > > urls[6] = file:/Users/garry/.m2/repository/com/intellij/annotations/ > > > > 6.0.3/annotations-6.0.3.jar > > > > urls[7] = file:/Users/garry/.m2/repository/org/jdom/jdom/1.1/ > > > > jdom-1.1.jar > > > > urls[8] = > file:/Users/garry/.m2/repository/commons-httpclient/commons- > > > > httpclient/3.1/commons-httpclient-3.1.jar > > > > [FATAL ERROR] Container realm = plexus.core > > > > urls[0] = file:/Users/garry/apps/maven/maven/lib/maven-2.0.9-uber.jar > > > > [INFO] - > > > > [ERROR] FATAL ERROR > > > > [INFO] - > > > > [INFO] org/apache/commons/codec/DecoderException > > > > [INFO] - > > > > [INFO] Trace > > > > java.lang.NoClassDefFoundError: org/apache/commons/codec/ > > > > DecoderException > > > > > > Thanks, Garry > > > > > > On Nov 12, 2:32 pm, "Marvin Froeder" <[EMAIL PROTECTED]> wrote: > > > > > Probably some artifact is broken in your repo... maybe > > > > commons-http-client > > > > > > > On Wed, Nov 12, 2008 at 5:20 PM, Garry <[EMAIL PROTECTED]> > wrote: > > > > > > > > It must be something in my enviroment, just not sure what. If I > copy > > > > > > the > > > > > > codec jar into Maven's 'lib' folder, then it's resolved correctly > by > > > > > > the mojo. > > > > > > Any idea what I'm missing here? > > > > > > > > Thanks, Garry > > > > > > > > On Nov 12, 1:57 pm, "Marvin Froeder" <[EMAIL PROTECTED]> wrote: > > > > > > > No, you don't need to handle this kind of thing. The mojo > should > > > > resolve > > > > > > by > > > > > > > it's own. > > > > > > > > > try to unzip your commons codec, may be is corrupted, if so, > delete > > > > and > > > > > > > redownload it. > > > > > > > > > VELO > > > > > > > > > On Wed, Nov 12, 2008 at 4:54 PM, Garry <[EMAIL PROTECTED]> > wrote: > > > > > > > > > > Hi, > > > > > > > > > > When attempting to build the html-template-application > example, I > > > > get > > > > > > > > the following error: > > > > > > > > > > java.lang.NoClassDefFoundError: org/apache/commons/codec/ > > > > > > > > DecoderException > > > > > > > > at > > > > info.flexmojos.htmlwrapper.HtmlWrapperMojo.extractTemplate > > > > > > > > (HtmlWrapperMojo.java:249) > > > > > > > > at info.flexmojos.htmlwrapper.HtmlWrapperMojo.execute > > > > > > > > (HtmlWrapperMojo.java:178) > > > > > > > > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo > > > > > > > > (DefaultPluginManager.java:451) > > > > > > > > at > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals > > > > > > > > (DefaultLifecycleExecutor.java:558) > > > > > > > > > > I do have the JAR 'commons-codec/commons-codec/1.3/commons- > > > > > > > > codec-1.3.jar' in my local > > > > > > > > repo. Obviously, I need to put it somewhere else so the mojo > can > > > > see > > > > > > > > it. Where? > > > > > > > > > > Thanks, Garry > > > --~--~---------~--~----~------------~-------~--~----~ 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/ -~----------~----~----~----~------~----~------~--~---
