On Fri, Jan 4, 2013 at 12:01 PM, Chanaka Fernando <[email protected]> wrote:
> is there any special command to run maven3? > > I also installed Maven 3.0.4 and have the same issue. > when i configure the maven enviornment, I used M2_HOME. Is there any need > to use M3_HOME instead? > No, no need. will that be a problem? > No, as long as mvn -v gives u a 3.x version. > > > On Fri, Jan 4, 2013 at 11:51 AM, Malaka Silva <[email protected]> wrote: > >> Yes indeed Maven 3.0.4 >> and >> Java version: 1.6.0_21, vendor: Sun Microsystems Inc. >> >> >> >> On Fri, Jan 4, 2013 at 11:46 AM, Nirmal Fernando <[email protected]> wrote: >> >>> >>> >>> On Fri, Jan 4, 2013 at 11:41 AM, Malaka Silva <[email protected]> wrote: >>> >>>> Dear All, >>>> >>>> I'm new to WSO2. I tried to build the following. >>>> >>>> https://svn.wso2.org/repos/wso2/carbon/orbit/branches/4.0.0 >>>> https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0 >>>> https://svn.wso2.org/repos/wso2/carbon/platform/branches/4.0.0 >>>> >>>> Build was successful for orbit. But it didn't work for kernal. >>>> >>>> I used the following to run the build >>>> >>>> mvn clean install -Dmaven.test.skip=true -Dproduct=esb -Xmx1024m >>>> -XX:MaxPermSize=256m >>>> >>>> I ran it for the following folder >>>> >>>> ..../kernel/patch-releases/4.0.5 >>>> >>>> Following is the error. Can someone help me on this? >>>> >>>> >>> Are you using maven3? >>> >>> >>>> >>>> [INFO] WSO2 Carbon - Patch releases - features - Aggregator Module >>>> SKIPPED >>>> [INFO] WSO2 Carbon Core - Distribution ................... SKIPPED >>>> [INFO] WSO2 Carbon - Integration ......................... SKIPPED >>>> [INFO] WSO2 Carbon - Security Verification Service ....... SKIPPED >>>> [INFO] WSO2 Carbon - Integration Core .................... SKIPPED >>>> [INFO] WSO2 Carbon - Integration Testing Framework ....... SKIPPED >>>> [INFO] WSO2 Carbon - Integration Tests ................... SKIPPED >>>> [INFO] WSO2 Carbon - Patch releases - distribution - Aggregator Module >>>> SKIPPED >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] BUILD FAILURE >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Total time: 7.893s >>>> [INFO] Finished at: Fri Jan 04 11:32:44 IST 2013 >>>> [INFO] Final Memory: 39M/169M >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [ERROR] No plugin found for prefix 'X' in the current project and in >>>> the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available >>>> from the repositories [local (/home/wso2/.m2/repository), apache-snapshots >>>> ( >>>> http://people.apache.org/repo/m2-snapshot-repository), >>>> apache.snapshots (http://repository.apache.org/snapshots), >>>> repository.dev.java.net-maven2 (http://download.java.net/maven/2/), >>>> central (http://repo.maven.apache.org/maven2)] -> [Help 1] >>>> org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No >>>> plugin found for prefix 'X' in the current project and in the plugin groups >>>> [org.apache.maven.plugins, org.codehaus.mojo] available from the >>>> repositories [local (/home/wso2/.m2/repository), apache-snapshots ( >>>> http://people.apache.org/repo/m2-snapshot-repository), >>>> apache.snapshots (http://repository.apache.org/snapshots), >>>> repository.dev.java.net-maven2 (http://download.java.net/maven/2/), >>>> central (http://repo.maven.apache.org/maven2)] >>>> at >>>> org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:94) >>>> at >>>> org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix(MojoDescriptorCreator.java:262) >>>> at >>>> org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:222) >>>> at >>>> org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:106) >>>> at >>>> org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:86) >>>> at >>>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:98) >>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320) >>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) >>>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) >>>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) >>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) >>>> 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:597) >>>> at >>>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) >>>> at >>>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) >>>> at >>>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) >>>> at >>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) >>>> [ERROR] >>>> [ERROR] >>>> [ERROR] For more information about the errors and possible solutions, >>>> please read the following articles: >>>> [ERROR] [Help 1] >>>> http://cwiki.apache.org/confluence/display/MAVEN/NoPluginFoundForPrefixException >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> >>> Thanks & regards, >>> Nirmal >>> >>> Software Engineer- Platform Technologies Team, WSO2 Inc. >>> Mobile: +94715779733 >>> Blog: http://nirmalfdo.blogspot.com/ >>> >>> <http://nirmalfdo.blogspot.com/> >>> >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > -- Thanks & regards, Nirmal Software Engineer- Platform Technologies Team, WSO2 Inc. Mobile: +94715779733 Blog: http://nirmalfdo.blogspot.com/ <http://nirmalfdo.blogspot.com/>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
