MVN again - now on Dataviews :( !

From: Ahmed Mohombe (amohomb..ahoo.com)
Date: Mon Jul 30 2007 - 17:20:53 EDT

  • Next message: Adrian Wiesmann: "Re: DataViews heads up"

    Hi,

    trying to build dataviews with Maven(as described in the readme) I'm getting the following error :( :

    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Internal error in the plugin manager executing goal
    'org.objectstyle.woproject.maven2:maven-japplicatio
    n-plugin:2.0.7:japplication': Unable to find the mojo
    'org.objectstyle.woproject.maven2:maven-japplication-plu
    gin:2.0.7:japplication' in the plugin 'org.objectstyle.woproject.maven2:maven-japplication-plugin'
    org/apache/tools/ant/BuildException
    [INFO] ------------------------------------------------------------------------

    Any idea how to fix this?

    Thanks in advance,

    Ahmed.
    P.S. The detailed stacktrace (using mvn -e):
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Internal error in the plugin manager executing goal
    'org.objectstyle.woproject.maven2:maven-japplicatio
    n-plugin:2.0.7:japplication': Unable to find the mojo
    'org.objectstyle.woproject.maven2:maven-japplication-plu
    gin:2.0.7:japplication' in the plugin 'org.objectstyle.woproject.maven2:maven-japplication-plugin'
    org/apache/tools/ant/BuildException
    [INFO] ------------------------------------------------------------------------
    [INFO] Trace
    org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the plugin manager
    executing goal 'o
    rg.objectstyle.woproject.maven2:maven-japplication-plugin:2.0.7:japplication': Unable to find the
    mojo 'org.ob
    jectstyle.woproject.maven2:maven-japplication-plugin:2.0.7:japplication' in the plugin
    'org.objectstyle.woproj
    ect.maven2:maven-japplication-plugin'
             at
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:543)

             at
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecut
    or.java:480)
             at
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
             at
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleEx
    ecutor.java:311)
             at
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.ja
    va:278)
             at
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
             at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
             at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
             at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
             at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
             at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
             at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
             at java.lang.reflect.Method.invoke(Method.java:585)
             at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
             at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
             at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
             at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
    Caused by: org.apache.maven.plugin.PluginManagerException: Unable to find the mojo
    'org.objectstyle.woproject.
    maven2:maven-japplication-plugin:2.0.7:japplication' in the plugin
    'org.objectstyle.woproject.maven2:maven-jap
    plication-plugin'
             at
    org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:571)
             at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:421)
             at
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)

             ... 16 more
    Caused by: org.codehaus.plexus.component.repository.exception.ComponentLookupException: Unable to
    lookup compo
    nent
    'org.apache.maven.plugin.Mojoorg.objectstyle.woproject.maven2:maven-japplication-plugin:2.0.7:japplicatio
    n', it could not be created
             at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:335)
             at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:440)
             at
    org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(DefaultPluginManager.java:562)
             ... 18 more
    Caused by: org.codehaus.plexus.component.factory.ComponentInstantiationException: Could not
    instanciate compon
    ent: role: 'null', implementation: 'org.objectstyle.woproject.maven2.JApplicationMojo'
             at
    org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeException(JavaComponentFactory.
    java:77)
             at
    org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.ja
    va:62)
             at
    org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(DefaultPlexusContainer.java:1464
    )
             at
    org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComp
    onentManager.java:93)
             at
    org.codehaus.plexus.component.manager.PerLookupComponentManager.getComponent(PerLookupComponentMana
    ger.java:48)
             at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:331)
             ... 20 more
    Caused by: java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildException
             at java.lang.Class.getDeclaredConstructors0(Native Method)
             at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
             at java.lang.Class.getConstructor0(Class.java:2671)
             at java.lang.Class.newInstance0(Class.java:321)
             at java.lang.Class.newInstance(Class.java:303)
             at
    org.codehaus.plexus.component.factory.java.JavaComponentFactory.newInstance(JavaComponentFactory.ja
    va:44)
             ... 24 more
    [INFO] ------------------------------------------------------------------------



    This archive was generated by hypermail 2.0.0 : Mon Jul 30 2007 - 17:21:58 EDT