Ohh.. I was commenting out tools sub project each time blindly.

Thanks,
Lasantha

Saminda Abeyruwan wrote:
As my understanding Maven2 check for its pugins first. If it can't find them, it will show an error. Mar/Aar pugins are in tools directory. If you are building Axis2 off-line, you would have to build them first and then the axis2 project. IMHO only way to prevent this is to make Axis2 maven2 plugins as commons projects, and Axis2 should be depend on them.

Thank you

Saminda
On Feb 5, 2008 12:56 AM, Lasantha Ranaweera <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    Hi All,

    After Axis2 trunk fresh check out I am getting following error.
    Somebody
    please shred some light on here (I even removed my m2 repository but
    there was no luck).

    Thanks,
    Lasantha

    this realm = plexus.core
    urls[0] =
    file:/home/lasantha/installation/maven-2.0.6/lib/maven-core-2.0.6-uber.jar
    Number of imports: 4
    import: [EMAIL PROTECTED]
    import: [EMAIL PROTECTED]
    import: [EMAIL PROTECTED]
    import: [EMAIL PROTECTED]
    -----------------------------------------------------
    [INFO]
    ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO]
    ------------------------------------------------------------------------
    [INFO] Internal error in the plugin manager executing goal
    'org.apache.axis2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find
    the mojo 'org.apache.axis2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the
    plugin 'org.apache.axis2:axis2-mar-maven-plugin'
    org/apache/maven/archiver/MavenArchiveConfiguration
    [INFO]
    ------------------------------------------------------------------------
    [INFO] Trace
    org.apache.maven.lifecycle.LifecycleExecutionException: Internal error
    in the plugin manager executing goal
    'org.apache.axis2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find
    the mojo 'org.apache.axis2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the
    plugin 'org.apache.axis2:axis2-mar-maven-plugin'
           at
    
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:543)
           at
    
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
           at
    
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
           at
    
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
           at
    
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java: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:272)
           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)


    ---------------------------------------------------------------------
    To unsubscribe, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    For additional commands, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>




--
Saminda Abeyruwan

Senior Software Engineer
WSO2 Inc. - www.wso2.org <http://www.wso2.org>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to