Hi Sven, axis2-mar-maven-plugin-SNAPSHOT.jar is the maen2 plugin that created the .mar files. Therefore IMHO if you have the .jar file in the ".m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin/SNAPSHOT/" it should work.
A zip of my ".m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin" directory is available here: http://www-lk.wso2.com/~ruchith/axis2-mar-maven-plugin.zip Thanks, Ruchith On 3/22/07, Sven Schroebler <[EMAIL PROTECTED]> wrote:
Hi Ruchith, the error remains the same. I copied the file into the directory you told me, replacing an existing "axis2-mar-maven-plugin-SNAPSHOT.jar". Same for renaming the .jar to .mar. Also I copied the files (jar+mar) directly into the axis2-mar-maven-plugin directory, without success. I don't have any experience with Maven(2)-projects, so please correct me if I am wrong: isn't Maven2 looking for a subdirectory "mar" under axis2-mar-maven-plugin/SNAPSHOT or else a file ".mar" ? Regards, Sven > ---------------------------------------------------------------------- > -- > [ERROR] BUILD ERROR > [INFO] > ---------------------------------------------------------------------- > -- [INFO] Internal error in the plugin manager executing goal > 'org.apache.axis2.mav > en2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find the mojo > 'org.apache.ax is2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the > plugin 'org.apache.axis2. > maven2:axis2-mar-maven-plugin' > org/codehaus/plexus/archiver/AbstractArchiver > [INFO] > ---------------------------------------------------------------------- > -- -----Ursprüngliche Nachricht----- Von: Ruchith Fernando [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 22. März 2007 04:09 An: [email protected] Betreff: Re: [Rampart 1.1 samples] java.lang.AbstractMethodError: org.apache.rampart.handler.WSDoAllSender.flowComplete Hi Sven, Please copy this file[1] into the .m2/repository/org/apache/axis2/maven2/axis2-mar-maven-plugin/SNAPSHOT/ directory in your home dir as axis2-mar-maven-plugin-SNAPSHOT.jar. Thanks, Ruchith [1] http://people.apache.org/repo/m2-snapshot-repository/org/apache/axis2/maven2 /axis2-mar-maven-plugin/SNAPSHOT/axis2-mar-maven-plugin-20070322.010028-83.j ar On 3/21/07, Sven Schroebler <[EMAIL PROTECTED]> wrote: > Hi Ruchith! > > Thanks for your reply. Unfortunately, the build script seems to be broken. > After having checked out the source from the URL you send me, I ran Maven2. > It reported the following error (see below). > > Any ideas, why ... or how I can fix it? > > Best Regards, > Sven > > ----------------------------------------------------- > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Internal error in the plugin manager executing goal > 'org.apache.axis2.mav > en2:axis2-mar-maven-plugin:SNAPSHOT:mar': Unable to find the mojo > 'org.apache.ax > is2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the plugin > 'org.apache.axis2. > maven2:axis2-mar-maven-plugin' > org/codehaus/plexus/archiver/AbstractArchiver > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in > the pl > ugin manager executing goal > 'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAP > SHOT:mar': Unable to find the mojo > 'org.apache.axis2.maven2:axis2-mar-maven-plug > in:SNAPSHOT:mar' in the plugin > 'org.apache.axis2.maven2:axis2-mar-maven-plugin' > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:543) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi > fecycle(DefaultLifecycleExecutor.java:480) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau > ltLifecycleExecutor.java:459) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan > dleFailures(DefaultLifecycleExecutor.java:311) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen > ts(DefaultLifecycleExecutor.java:278) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi > fecycleExecutor.java:143) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) > 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(DelegatingMethodAcces > sorImpl.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 mo > jo 'org.apache.axis2.maven2:axis2-mar-maven-plugin:SNAPSHOT:mar' in the > plugin ' > org.apache.axis2.maven2:axis2-mar-maven-plugin' > at > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul > tPluginManager.java:541) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi > nManager.java:398) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa > ultLifecycleExecutor.java:539) > ... 16 more > Caused by: > org.codehaus.plexus.component.repository.exception.ComponentLookupExc > eption: Unable to lookup component > 'org.apache.maven.plugin.Mojoorg.apache.axis2 > .maven2:axis2-mar-maven-plugin:SNAPSHOT:mar', it could not be created > at > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai > ner.java:335) > at > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai > ner.java:440) > at > org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(Defaul > tPluginManager.java:532) > ... 18 more > Caused by: > org.codehaus.plexus.component.factory.ComponentInstantiationException > : Could not instanciate component: role: 'null', implementation: > 'org.apache.axi > s2.maven2.mar.MarMojo' > at > org.codehaus.plexus.component.factory.java.JavaComponentFactory.makeE > xception(JavaComponentFactory.java:77) > at > org.codehaus.plexus.component.factory.java.JavaComponentFactory.newIn > stance(JavaComponentFactory.java:62) > at > org.codehaus.plexus.DefaultPlexusContainer.createComponentInstance(De > faultPlexusContainer.java:1464) > at > org.codehaus.plexus.component.manager.AbstractComponentManager.create > ComponentInstance(AbstractComponentManager.java:93) > at > org.codehaus.plexus.component.manager.PerLookupComponentManager.getCo > mponent(PerLookupComponentManager.java:48) > at > org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContai > ner.java:331) > ... 20 more > Caused by: java.lang.NoClassDefFoundError: > org/codehaus/plexus/archiver/Abstract > Archiver > 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.newIn > stance(JavaComponentFactory.java:44) > ... 24 more > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 55 seconds > [INFO] Finished at: Wed Mar 21 14:05:12 CET 2007 > [INFO] Final Memory: 12M/31M > [INFO] > ------------------------------------------------------------------------ > > > -- www.ruchith.org www.wso2.org
-- www.ruchith.org www.wso2.org
