Hi Malaka, There is no profile called 'esb" in 4.0.5 patch-release pom (we had profiles earlier, but we stopped maintaining different profiles for each product). You need to build the default profile.
mvn clean install -Dmaven.test.skip=true Regards, Amila. 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? > > > [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 > > -- *Amila Maharachchi* Technical Lead Member, Management Committee - Cloud & Platform TG WSO2, Inc.; http://wso2.com Blog: http://maharachchi.blogspot.com Mobile: +94719371446
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
