[Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

classic Classic list List threaded Threaded
30 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

malakasilva
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

Nirmal Fernando-3


On Fri, Jan 4, 2013 at 11:41 AM, Malaka Silva <[hidden email]> wrote:
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
[hidden email]
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/


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

malakasilva
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 <[hidden email]> wrote:


On Fri, Jan 4, 2013 at 11:41 AM, Malaka Silva <[hidden email]> wrote:
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

Chanaka Fernando
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?
will that be a problem?


On Fri, Jan 4, 2013 at 11:51 AM, Malaka Silva <[hidden email]> 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 <[hidden email]> wrote:


On Fri, Jan 4, 2013 at 11:41 AM, Malaka Silva <[hidden email]> wrote:
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

Nirmal Fernando-3



On Fri, Jan 4, 2013 at 12:01 PM, Chanaka Fernando <[hidden email]> 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 <[hidden email]> 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 <[hidden email]> wrote:


On Fri, Jan 4, 2013 at 11:41 AM, Malaka Silva <[hidden email]> wrote:
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/



_______________________________________________
Dev mailing list
[hidden email]
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/


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

Nirmal Fernando-3
In reply to this post by malakasilva



On Fri, Jan 4, 2013 at 11:41 AM, Malaka Silva <[hidden email]> wrote:
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

Get rid of the -Xmx  -XX args and also -Dproduct arg and run the command.

 

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
[hidden email]
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/


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

Dileepa Jayakody
In reply to this post by Chanaka Fernando


On Fri, Jan 4, 2013 at 12:01 PM, Chanaka Fernando <[hidden email]> 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?
will that be a problem?


On Fri, Jan 4, 2013 at 11:51 AM, Malaka Silva <[hidden email]> 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 <[hidden email]> wrote:


On Fri, Jan 4, 2013 at 11:41 AM, Malaka Silva <[hidden email]> wrote:
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 think the error shown below indicates that  -Xmx1024m -XX:MaxPermSize=256m params are giving trouble.
" No plugin found for prefix 'X' in the current project and in the plugin groups"
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Dileepa Jayakody,
Software Engineer, WSO2 Inc.
Lean . Enterprise . Middleware

Mobile : +94777-857616

_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

Kishanthan Thangarajah-2
In reply to this post by malakasilva
I don't think you can pass -Xmx1024m -XX:MaxPermSize=256m with maven command. Instead you need to add them as MAVEN_OPTS. Try removing them form the command and see.

On Fri, Jan 4, 2013 at 11:41 AM, Malaka Silva <[hidden email]> wrote:
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Kishanthan Thangarajah
Software Engineer, 
Development Technologies Team,
WSO2, Inc.
lean.enterprise.middleware

Mobile - +94773426635

_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

Amila Maha Arachchi
In reply to this post by malakasilva
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 <[hidden email]> wrote:
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
[hidden email]
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

Nirmal Fernando-3
In reply to this post by malakasilva



On Fri, Jan 4, 2013 at 11:51 AM, Malaka Silva <[hidden email]> wrote:
Yes indeed Maven 3.0.4
 and
Java version: 1.6.0_21, vendor: Sun Microsystems Inc.

And on a side note, recommended java version is 1.6.0_24 or above.



On Fri, Jan 4, 2013 at 11:46 AM, Nirmal Fernando <[hidden email]> wrote:


On Fri, Jan 4, 2013 at 11:41 AM, Malaka Silva <[hidden email]> wrote:
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/





--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: +94715779733
Blog: http://nirmalfdo.blogspot.com/


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

Chanaka Fernando
I am using Maven 3.0.4 and java version 1.6.0_28.

I got the following error when i am running the build.

[INFO] --- maven-antrun-plugin:1.1:run (1-run-ant) @ wso2carbon-core ---
[INFO] Executing tasks
     [echo] ########### Create Default Database ##############
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Axis2 - Parent ............................. SUCCESS [44.903s]
[INFO] Apache Axis2 - Resource bundle .................... SUCCESS [41.495s]
[INFO] Apache Axis2 - Kernel ............................. SUCCESS [1:30.977s]
[INFO] Apache Axis2 - Data Binding ....................... SUCCESS [9.907s]
[INFO] Apache Axis2 - Transport - Local .................. SUCCESS [2.893s]
[INFO] Apache Axis2 - Transport - HTTP ................... SUCCESS [7.309s]
[INFO] Apache Axis2 - Code Generation .................... SUCCESS [3.464s]
[INFO] Apache Axis2 - ADB Codegen ........................ SUCCESS [22.508s]
[INFO] Apache Axis2 - Addressing ......................... SUCCESS [2.515s]
[INFO] Apache Axis2 - Java2WSDL .......................... SUCCESS [1:32.440s]
[INFO] Apache Axis2 - tool - Repository Maven Plugin ..... SUCCESS [35.071s]
[INFO] Apache Axis2 - Fast Infoset ....................... SUCCESS [1.829s]
[INFO] Apache Axis2 - Clustering ......................... SUCCESS [3.151s]
[INFO] Apache Axis2 - Scripting .......................... SUCCESS [1.145s]
[INFO] Apache Axis2 - JAXB-RI Data Binding ............... SUCCESS [4.930s]
[INFO] Apache Axis2 - SAAJ ............................... SUCCESS [10.940s]
[INFO] Apache Axis2 - Metadata ........................... SUCCESS [18.103s]
[INFO] Apache Axis2 - JAXWS .............................. SUCCESS [6.651s]
[INFO] Apache Axis2 - Test Utilities ..................... SUCCESS [0.578s]
[INFO] Apache Axis2 - JAXWS Integration Tests ............ SUCCESS [1.360s]
[INFO] Apache Axis2 - JiBX Data Binding .................. SUCCESS [4.561s]
[INFO] Apache Axis2 - JSON ............................... SUCCESS [3.647s]
[INFO] Apache Axis2 - MTOM Policy ........................ SUCCESS [1.042s]
[INFO] Apache Axis2 - spring ............................. SUCCESS [8.604s]
[INFO] Apache Axis2 - OSGi Integration ................... SUCCESS [2.756s]
[INFO] Apache Axis2 - XMLBeans Data Binding .............. SUCCESS [1.059s]
[INFO] Apache Axis2 - Integration ........................ SUCCESS [0.801s]
[INFO] Apache Axis2 - MEX ................................ SUCCESS [0.975s]
[INFO] Apache Axis2 - MTOM Policy module ................. SUCCESS [0.672s]
[INFO] Apache Axis2 - Ping ............................... SUCCESS [2.039s]
[INFO] Apache Axis2 - Version Service .................... SUCCESS [1.268s]
[INFO] Apache Axis2 - SOAP Monitor Servlet ............... SUCCESS [0.949s]
[INFO] Apache Axis2 - SOAP Monitor Module ................ SUCCESS [0.661s]
[INFO] Apache Axis2 - tool - AAR Maven Plugin ............ SUCCESS [0.837s]
[INFO] Apache Axis2 - tool - Ant Plugin .................. SUCCESS [1.053s]
[INFO] Apache Axis2 - tool - Java2WSDL Maven Plugin ...... SUCCESS [1.576s]
[INFO] Apache Axis2 - tool - MAR Maven Plugin ............ SUCCESS [0.801s]
[INFO] Apache Axis2 - tool - WSDL2Code Maven Plugin ...... SUCCESS [0.948s]
[INFO] Apache Axis2 - CORBA .............................. SUCCESS [2.874s]
[INFO] Apache Axis2 - JAXWS (mar) ........................ SUCCESS [0.715s]
[INFO] Apache Axis2 - Web Application module ............. SUCCESS [1:12.478s]
[INFO] Apache Axis2 - Root ............................... SUCCESS [14.685s]
[INFO] axis2.wso2 ........................................ SUCCESS [17.683s]
[INFO] axis2.json.wso2 ................................... SUCCESS [0.124s]
[INFO] axis2.client.wso2 ................................. SUCCESS [23.151s]
[INFO] axis2.jaxbri.wso2 ................................. SUCCESS [0.114s]
[INFO] axis2.jibx.wso2 ................................... SUCCESS [0.125s]
[INFO] WSO2 Carbon - Aggregate Pom ....................... SUCCESS [0.048s]
[INFO] WSO2 Carbon - Patch releases - dependencies - Aggregator Module  SUCCESS [0.003s]
[INFO] WSO2 Carbon - User Management Stub ................ SUCCESS [25.782s]
[INFO] WSO2 Carbon - Patch releases - service-stubs - Aggregator Module  SUCCESS [0.005s]
[INFO] WSO2 Carbon - Utilities ........................... SUCCESS [1:02.404s]
[INFO] WSO2 Carbon - User Manager Kernel ................. SUCCESS [40.838s]
[INFO] WSO2 Carbon - Registry Kernel ..................... SUCCESS [4:06.931s]
[INFO] WSO2 Carbon - Kernel .............................. SUCCESS [10.767s]
[INFO] WSO2 Carbon - carbon tomcat bundle ................ SUCCESS [11.182s]
[INFO] WSO2 Carbon - Carbon specific tomcat extensions ... SUCCESS [8.314s]
[INFO] WSO2 Carbon - User Management Common .............. SUCCESS [1.643s]
[INFO] WSO2 Carbon - User Management ..................... SUCCESS [16.263s]
[INFO] WSO2 Carbon - User Management UI .................. SUCCESS [2.430s]
[INFO] WSO2 Carbon - Services ............................ SUCCESS [8.378s]
[INFO] WSO2 Carbon - UI .................................. SUCCESS [11.249s]
[INFO] WSO2 Carbon - New Data Sources Core ............... SUCCESS [5.215s]
[INFO] WSO2 Carbon - Internationalization ................ SUCCESS [0.178s]
[INFO] WSO2 Carbon - Feature Manager UI .................. SUCCESS [4.048s]
[INFO] WSO2 Carbon - Application Deployer ................ SUCCESS [4.696s]
[INFO] WSO2 Carbon - Feature Manager Core ................ SUCCESS [3.698s]
[INFO] WSO2 Carbon - Servlet Bridge ...................... SUCCESS [2.935s]
[INFO] WSO2 Carbon - Patch releases - core - Aggregator Module  SUCCESS [0.024s]
[INFO] WSO2 Carbon - Carbon Common Feature ............... SUCCESS [11.595s]
[INFO] WSO2 Carbon - Carbon UI Feature ................... SUCCESS [2.464s]
[INFO] WSO2 Carbon - Carbon Server Feature ............... SUCCESS [2.739s]
[INFO] WSO2 Carbon - Carbon Feature ...................... SUCCESS [5.077s]
[INFO] WSO2 Carbon - Patch releases - features - Aggregator Module  SUCCESS [0.168s]
[INFO] WSO2 Carbon Core - Distribution ................... FAILURE [7.730s]
[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: 17:51.503s
[INFO] Finished at: Fri Jan 04 12:47:46 IST 2013
[INFO] Final Memory: 80M/767M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.1:run (1-run-ant) on project wso2carbon-core: Error executing ant tasks: org.h2.jdbc.JdbcSQLException: Out of memory. [90108-140]: PermGen space -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :wso2carbon-core


any ideas?


On Fri, Jan 4, 2013 at 12:14 PM, Nirmal Fernando <[hidden email]> wrote:



On Fri, Jan 4, 2013 at 11:51 AM, Malaka Silva <[hidden email]> wrote:
Yes indeed Maven 3.0.4
 and
Java version: 1.6.0_21, vendor: Sun Microsystems Inc.

And on a side note, recommended java version is 1.6.0_24 or above.



On Fri, Jan 4, 2013 at 11:46 AM, Nirmal Fernando <[hidden email]> wrote:


On Fri, Jan 4, 2013 at 11:41 AM, Malaka Silva <[hidden email]> wrote:
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/





--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

Supun Malinga
Issue is as indicated,
Out of memory. [90108-140]: PermGen space.

you need to set MAVEN_OPTS for a higher memory value.

thanks,


On Fri, Jan 4, 2013 at 1:08 PM, Chanaka Fernando <[hidden email]> wrote:
I am using Maven 3.0.4 and java version 1.6.0_28.

I got the following error when i am running the build.

[INFO] --- maven-antrun-plugin:1.1:run (1-run-ant) @ wso2carbon-core ---
[INFO] Executing tasks
     [echo] ########### Create Default Database ##############
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Axis2 - Parent ............................. SUCCESS [44.903s]
[INFO] Apache Axis2 - Resource bundle .................... SUCCESS [41.495s]
[INFO] Apache Axis2 - Kernel ............................. SUCCESS [1:30.977s]
[INFO] Apache Axis2 - Data Binding ....................... SUCCESS [9.907s]
[INFO] Apache Axis2 - Transport - Local .................. SUCCESS [2.893s]
[INFO] Apache Axis2 - Transport - HTTP ................... SUCCESS [7.309s]
[INFO] Apache Axis2 - Code Generation .................... SUCCESS [3.464s]
[INFO] Apache Axis2 - ADB Codegen ........................ SUCCESS [22.508s]
[INFO] Apache Axis2 - Addressing ......................... SUCCESS [2.515s]
[INFO] Apache Axis2 - Java2WSDL .......................... SUCCESS [1:32.440s]
[INFO] Apache Axis2 - tool - Repository Maven Plugin ..... SUCCESS [35.071s]
[INFO] Apache Axis2 - Fast Infoset ....................... SUCCESS [1.829s]
[INFO] Apache Axis2 - Clustering ......................... SUCCESS [3.151s]
[INFO] Apache Axis2 - Scripting .......................... SUCCESS [1.145s]
[INFO] Apache Axis2 - JAXB-RI Data Binding ............... SUCCESS [4.930s]
[INFO] Apache Axis2 - SAAJ ............................... SUCCESS [10.940s]
[INFO] Apache Axis2 - Metadata ........................... SUCCESS [18.103s]
[INFO] Apache Axis2 - JAXWS .............................. SUCCESS [6.651s]
[INFO] Apache Axis2 - Test Utilities ..................... SUCCESS [0.578s]
[INFO] Apache Axis2 - JAXWS Integration Tests ............ SUCCESS [1.360s]
[INFO] Apache Axis2 - JiBX Data Binding .................. SUCCESS [4.561s]
[INFO] Apache Axis2 - JSON ............................... SUCCESS [3.647s]
[INFO] Apache Axis2 - MTOM Policy ........................ SUCCESS [1.042s]
[INFO] Apache Axis2 - spring ............................. SUCCESS [8.604s]
[INFO] Apache Axis2 - OSGi Integration ................... SUCCESS [2.756s]
[INFO] Apache Axis2 - XMLBeans Data Binding .............. SUCCESS [1.059s]
[INFO] Apache Axis2 - Integration ........................ SUCCESS [0.801s]
[INFO] Apache Axis2 - MEX ................................ SUCCESS [0.975s]
[INFO] Apache Axis2 - MTOM Policy module ................. SUCCESS [0.672s]
[INFO] Apache Axis2 - Ping ............................... SUCCESS [2.039s]
[INFO] Apache Axis2 - Version Service .................... SUCCESS [1.268s]
[INFO] Apache Axis2 - SOAP Monitor Servlet ............... SUCCESS [0.949s]
[INFO] Apache Axis2 - SOAP Monitor Module ................ SUCCESS [0.661s]
[INFO] Apache Axis2 - tool - AAR Maven Plugin ............ SUCCESS [0.837s]
[INFO] Apache Axis2 - tool - Ant Plugin .................. SUCCESS [1.053s]
[INFO] Apache Axis2 - tool - Java2WSDL Maven Plugin ...... SUCCESS [1.576s]
[INFO] Apache Axis2 - tool - MAR Maven Plugin ............ SUCCESS [0.801s]
[INFO] Apache Axis2 - tool - WSDL2Code Maven Plugin ...... SUCCESS [0.948s]
[INFO] Apache Axis2 - CORBA .............................. SUCCESS [2.874s]
[INFO] Apache Axis2 - JAXWS (mar) ........................ SUCCESS [0.715s]
[INFO] Apache Axis2 - Web Application module ............. SUCCESS [1:12.478s]
[INFO] Apache Axis2 - Root ............................... SUCCESS [14.685s]
[INFO] axis2.wso2 ........................................ SUCCESS [17.683s]
[INFO] axis2.json.wso2 ................................... SUCCESS [0.124s]
[INFO] axis2.client.wso2 ................................. SUCCESS [23.151s]
[INFO] axis2.jaxbri.wso2 ................................. SUCCESS [0.114s]
[INFO] axis2.jibx.wso2 ................................... SUCCESS [0.125s]
[INFO] WSO2 Carbon - Aggregate Pom ....................... SUCCESS [0.048s]
[INFO] WSO2 Carbon - Patch releases - dependencies - Aggregator Module  SUCCESS [0.003s]
[INFO] WSO2 Carbon - User Management Stub ................ SUCCESS [25.782s]
[INFO] WSO2 Carbon - Patch releases - service-stubs - Aggregator Module  SUCCESS [0.005s]
[INFO] WSO2 Carbon - Utilities ........................... SUCCESS [1:02.404s]
[INFO] WSO2 Carbon - User Manager Kernel ................. SUCCESS [40.838s]
[INFO] WSO2 Carbon - Registry Kernel ..................... SUCCESS [4:06.931s]
[INFO] WSO2 Carbon - Kernel .............................. SUCCESS [10.767s]
[INFO] WSO2 Carbon - carbon tomcat bundle ................ SUCCESS [11.182s]
[INFO] WSO2 Carbon - Carbon specific tomcat extensions ... SUCCESS [8.314s]
[INFO] WSO2 Carbon - User Management Common .............. SUCCESS [1.643s]
[INFO] WSO2 Carbon - User Management ..................... SUCCESS [16.263s]
[INFO] WSO2 Carbon - User Management UI .................. SUCCESS [2.430s]
[INFO] WSO2 Carbon - Services ............................ SUCCESS [8.378s]
[INFO] WSO2 Carbon - UI .................................. SUCCESS [11.249s]
[INFO] WSO2 Carbon - New Data Sources Core ............... SUCCESS [5.215s]
[INFO] WSO2 Carbon - Internationalization ................ SUCCESS [0.178s]
[INFO] WSO2 Carbon - Feature Manager UI .................. SUCCESS [4.048s]
[INFO] WSO2 Carbon - Application Deployer ................ SUCCESS [4.696s]
[INFO] WSO2 Carbon - Feature Manager Core ................ SUCCESS [3.698s]
[INFO] WSO2 Carbon - Servlet Bridge ...................... SUCCESS [2.935s]
[INFO] WSO2 Carbon - Patch releases - core - Aggregator Module  SUCCESS [0.024s]
[INFO] WSO2 Carbon - Carbon Common Feature ............... SUCCESS [11.595s]
[INFO] WSO2 Carbon - Carbon UI Feature ................... SUCCESS [2.464s]
[INFO] WSO2 Carbon - Carbon Server Feature ............... SUCCESS [2.739s]
[INFO] WSO2 Carbon - Carbon Feature ...................... SUCCESS [5.077s]
[INFO] WSO2 Carbon - Patch releases - features - Aggregator Module  SUCCESS [0.168s]
[INFO] WSO2 Carbon Core - Distribution ................... FAILURE [7.730s]

[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: 17:51.503s
[INFO] Finished at: Fri Jan 04 12:47:46 IST 2013
[INFO] Final Memory: 80M/767M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.1:run (1-run-ant) on project wso2carbon-core: Error executing ant tasks: org.h2.jdbc.JdbcSQLException: Out of memory. [90108-140]: PermGen space -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :wso2carbon-core


any ideas?


On Fri, Jan 4, 2013 at 12:14 PM, Nirmal Fernando <[hidden email]> wrote:



On Fri, Jan 4, 2013 at 11:51 AM, Malaka Silva <[hidden email]> wrote:
Yes indeed Maven 3.0.4
 and
Java version: 1.6.0_21, vendor: Sun Microsystems Inc.

And on a side note, recommended java version is 1.6.0_24 or above.



On Fri, Jan 4, 2013 at 11:46 AM, Nirmal Fernando <[hidden email]> wrote:


On Fri, Jan 4, 2013 at 11:41 AM, Malaka Silva <[hidden email]> wrote:
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/





--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - [hidden email]
mobile - 071 56 91 321

_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

Chanaka Fernando
I have set the
MAVEN_OPTS = -Xmx2048m -Xms512m -XX:MaxPermSize=800m -XX:ReservedCodeCacheSize=256m

Build was successful with the following command.
 mvn clean install -rf :wso2carbon-core -Dmaven.test.skip=true

I put this -rf :wso2carbon-core option from the previous error message. But i don't know whether this is an acceptable build.


On Fri, Jan 4, 2013 at 1:26 PM, Supun Malinga <[hidden email]> wrote:
Issue is as indicated,
Out of memory. [90108-140]: PermGen space.

you need to set MAVEN_OPTS for a higher memory value.

thanks,


On Fri, Jan 4, 2013 at 1:08 PM, Chanaka Fernando <[hidden email]> wrote:
I am using Maven 3.0.4 and java version 1.6.0_28.

I got the following error when i am running the build.

[INFO] --- maven-antrun-plugin:1.1:run (1-run-ant) @ wso2carbon-core ---
[INFO] Executing tasks
     [echo] ########### Create Default Database ##############
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Axis2 - Parent ............................. SUCCESS [44.903s]
[INFO] Apache Axis2 - Resource bundle .................... SUCCESS [41.495s]
[INFO] Apache Axis2 - Kernel ............................. SUCCESS [1:30.977s]
[INFO] Apache Axis2 - Data Binding ....................... SUCCESS [9.907s]
[INFO] Apache Axis2 - Transport - Local .................. SUCCESS [2.893s]
[INFO] Apache Axis2 - Transport - HTTP ................... SUCCESS [7.309s]
[INFO] Apache Axis2 - Code Generation .................... SUCCESS [3.464s]
[INFO] Apache Axis2 - ADB Codegen ........................ SUCCESS [22.508s]
[INFO] Apache Axis2 - Addressing ......................... SUCCESS [2.515s]
[INFO] Apache Axis2 - Java2WSDL .......................... SUCCESS [1:32.440s]
[INFO] Apache Axis2 - tool - Repository Maven Plugin ..... SUCCESS [35.071s]
[INFO] Apache Axis2 - Fast Infoset ....................... SUCCESS [1.829s]
[INFO] Apache Axis2 - Clustering ......................... SUCCESS [3.151s]
[INFO] Apache Axis2 - Scripting .......................... SUCCESS [1.145s]
[INFO] Apache Axis2 - JAXB-RI Data Binding ............... SUCCESS [4.930s]
[INFO] Apache Axis2 - SAAJ ............................... SUCCESS [10.940s]
[INFO] Apache Axis2 - Metadata ........................... SUCCESS [18.103s]
[INFO] Apache Axis2 - JAXWS .............................. SUCCESS [6.651s]
[INFO] Apache Axis2 - Test Utilities ..................... SUCCESS [0.578s]
[INFO] Apache Axis2 - JAXWS Integration Tests ............ SUCCESS [1.360s]
[INFO] Apache Axis2 - JiBX Data Binding .................. SUCCESS [4.561s]
[INFO] Apache Axis2 - JSON ............................... SUCCESS [3.647s]
[INFO] Apache Axis2 - MTOM Policy ........................ SUCCESS [1.042s]
[INFO] Apache Axis2 - spring ............................. SUCCESS [8.604s]
[INFO] Apache Axis2 - OSGi Integration ................... SUCCESS [2.756s]
[INFO] Apache Axis2 - XMLBeans Data Binding .............. SUCCESS [1.059s]
[INFO] Apache Axis2 - Integration ........................ SUCCESS [0.801s]
[INFO] Apache Axis2 - MEX ................................ SUCCESS [0.975s]
[INFO] Apache Axis2 - MTOM Policy module ................. SUCCESS [0.672s]
[INFO] Apache Axis2 - Ping ............................... SUCCESS [2.039s]
[INFO] Apache Axis2 - Version Service .................... SUCCESS [1.268s]
[INFO] Apache Axis2 - SOAP Monitor Servlet ............... SUCCESS [0.949s]
[INFO] Apache Axis2 - SOAP Monitor Module ................ SUCCESS [0.661s]
[INFO] Apache Axis2 - tool - AAR Maven Plugin ............ SUCCESS [0.837s]
[INFO] Apache Axis2 - tool - Ant Plugin .................. SUCCESS [1.053s]
[INFO] Apache Axis2 - tool - Java2WSDL Maven Plugin ...... SUCCESS [1.576s]
[INFO] Apache Axis2 - tool - MAR Maven Plugin ............ SUCCESS [0.801s]
[INFO] Apache Axis2 - tool - WSDL2Code Maven Plugin ...... SUCCESS [0.948s]
[INFO] Apache Axis2 - CORBA .............................. SUCCESS [2.874s]
[INFO] Apache Axis2 - JAXWS (mar) ........................ SUCCESS [0.715s]
[INFO] Apache Axis2 - Web Application module ............. SUCCESS [1:12.478s]
[INFO] Apache Axis2 - Root ............................... SUCCESS [14.685s]
[INFO] axis2.wso2 ........................................ SUCCESS [17.683s]
[INFO] axis2.json.wso2 ................................... SUCCESS [0.124s]
[INFO] axis2.client.wso2 ................................. SUCCESS [23.151s]
[INFO] axis2.jaxbri.wso2 ................................. SUCCESS [0.114s]
[INFO] axis2.jibx.wso2 ................................... SUCCESS [0.125s]
[INFO] WSO2 Carbon - Aggregate Pom ....................... SUCCESS [0.048s]
[INFO] WSO2 Carbon - Patch releases - dependencies - Aggregator Module  SUCCESS [0.003s]
[INFO] WSO2 Carbon - User Management Stub ................ SUCCESS [25.782s]
[INFO] WSO2 Carbon - Patch releases - service-stubs - Aggregator Module  SUCCESS [0.005s]
[INFO] WSO2 Carbon - Utilities ........................... SUCCESS [1:02.404s]
[INFO] WSO2 Carbon - User Manager Kernel ................. SUCCESS [40.838s]
[INFO] WSO2 Carbon - Registry Kernel ..................... SUCCESS [4:06.931s]
[INFO] WSO2 Carbon - Kernel .............................. SUCCESS [10.767s]
[INFO] WSO2 Carbon - carbon tomcat bundle ................ SUCCESS [11.182s]
[INFO] WSO2 Carbon - Carbon specific tomcat extensions ... SUCCESS [8.314s]
[INFO] WSO2 Carbon - User Management Common .............. SUCCESS [1.643s]
[INFO] WSO2 Carbon - User Management ..................... SUCCESS [16.263s]
[INFO] WSO2 Carbon - User Management UI .................. SUCCESS [2.430s]
[INFO] WSO2 Carbon - Services ............................ SUCCESS [8.378s]
[INFO] WSO2 Carbon - UI .................................. SUCCESS [11.249s]
[INFO] WSO2 Carbon - New Data Sources Core ............... SUCCESS [5.215s]
[INFO] WSO2 Carbon - Internationalization ................ SUCCESS [0.178s]
[INFO] WSO2 Carbon - Feature Manager UI .................. SUCCESS [4.048s]
[INFO] WSO2 Carbon - Application Deployer ................ SUCCESS [4.696s]
[INFO] WSO2 Carbon - Feature Manager Core ................ SUCCESS [3.698s]
[INFO] WSO2 Carbon - Servlet Bridge ...................... SUCCESS [2.935s]
[INFO] WSO2 Carbon - Patch releases - core - Aggregator Module  SUCCESS [0.024s]
[INFO] WSO2 Carbon - Carbon Common Feature ............... SUCCESS [11.595s]
[INFO] WSO2 Carbon - Carbon UI Feature ................... SUCCESS [2.464s]
[INFO] WSO2 Carbon - Carbon Server Feature ............... SUCCESS [2.739s]
[INFO] WSO2 Carbon - Carbon Feature ...................... SUCCESS [5.077s]
[INFO] WSO2 Carbon - Patch releases - features - Aggregator Module  SUCCESS [0.168s]
[INFO] WSO2 Carbon Core - Distribution ................... FAILURE [7.730s]

[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: 17:51.503s
[INFO] Finished at: Fri Jan 04 12:47:46 IST 2013
[INFO] Final Memory: 80M/767M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.1:run (1-run-ant) on project wso2carbon-core: Error executing ant tasks: org.h2.jdbc.JdbcSQLException: Out of memory. [90108-140]: PermGen space -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :wso2carbon-core


any ideas?


On Fri, Jan 4, 2013 at 12:14 PM, Nirmal Fernando <[hidden email]> wrote:



On Fri, Jan 4, 2013 at 11:51 AM, Malaka Silva <[hidden email]> wrote:
Yes indeed Maven 3.0.4
 and
Java version: 1.6.0_21, vendor: Sun Microsystems Inc.

And on a side note, recommended java version is 1.6.0_24 or above.



On Fri, Jan 4, 2013 at 11:46 AM, Nirmal Fernando <[hidden email]> wrote:


On Fri, Jan 4, 2013 at 11:41 AM, Malaka Silva <[hidden email]> wrote:
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/





--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - [hidden email]
mobile - 071 56 91 321


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

Eranda Sooriyabandara-3
Hi Chanaka,
-rf means resume from. That means you don't need to start the build from the beginning but continue it from wso2carbon-core.

thanks
Eranda


On Fri, Jan 4, 2013 at 1:34 PM, Chanaka Fernando <[hidden email]> wrote:
I have set the
MAVEN_OPTS = -Xmx2048m -Xms512m -XX:MaxPermSize=800m -XX:ReservedCodeCacheSize=256m

Build was successful with the following command.
 mvn clean install -rf :wso2carbon-core -Dmaven.test.skip=true

I put this -rf :wso2carbon-core option from the previous error message. But i don't know whether this is an acceptable build.


On Fri, Jan 4, 2013 at 1:26 PM, Supun Malinga <[hidden email]> wrote:
Issue is as indicated,
Out of memory. [90108-140]: PermGen space.

you need to set MAVEN_OPTS for a higher memory value.

thanks,


On Fri, Jan 4, 2013 at 1:08 PM, Chanaka Fernando <[hidden email]> wrote:
I am using Maven 3.0.4 and java version 1.6.0_28.

I got the following error when i am running the build.

[INFO] --- maven-antrun-plugin:1.1:run (1-run-ant) @ wso2carbon-core ---
[INFO] Executing tasks
     [echo] ########### Create Default Database ##############
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Axis2 - Parent ............................. SUCCESS [44.903s]
[INFO] Apache Axis2 - Resource bundle .................... SUCCESS [41.495s]
[INFO] Apache Axis2 - Kernel ............................. SUCCESS [1:30.977s]
[INFO] Apache Axis2 - Data Binding ....................... SUCCESS [9.907s]
[INFO] Apache Axis2 - Transport - Local .................. SUCCESS [2.893s]
[INFO] Apache Axis2 - Transport - HTTP ................... SUCCESS [7.309s]
[INFO] Apache Axis2 - Code Generation .................... SUCCESS [3.464s]
[INFO] Apache Axis2 - ADB Codegen ........................ SUCCESS [22.508s]
[INFO] Apache Axis2 - Addressing ......................... SUCCESS [2.515s]
[INFO] Apache Axis2 - Java2WSDL .......................... SUCCESS [1:32.440s]
[INFO] Apache Axis2 - tool - Repository Maven Plugin ..... SUCCESS [35.071s]
[INFO] Apache Axis2 - Fast Infoset ....................... SUCCESS [1.829s]
[INFO] Apache Axis2 - Clustering ......................... SUCCESS [3.151s]
[INFO] Apache Axis2 - Scripting .......................... SUCCESS [1.145s]
[INFO] Apache Axis2 - JAXB-RI Data Binding ............... SUCCESS [4.930s]
[INFO] Apache Axis2 - SAAJ ............................... SUCCESS [10.940s]
[INFO] Apache Axis2 - Metadata ........................... SUCCESS [18.103s]
[INFO] Apache Axis2 - JAXWS .............................. SUCCESS [6.651s]
[INFO] Apache Axis2 - Test Utilities ..................... SUCCESS [0.578s]
[INFO] Apache Axis2 - JAXWS Integration Tests ............ SUCCESS [1.360s]
[INFO] Apache Axis2 - JiBX Data Binding .................. SUCCESS [4.561s]
[INFO] Apache Axis2 - JSON ............................... SUCCESS [3.647s]
[INFO] Apache Axis2 - MTOM Policy ........................ SUCCESS [1.042s]
[INFO] Apache Axis2 - spring ............................. SUCCESS [8.604s]
[INFO] Apache Axis2 - OSGi Integration ................... SUCCESS [2.756s]
[INFO] Apache Axis2 - XMLBeans Data Binding .............. SUCCESS [1.059s]
[INFO] Apache Axis2 - Integration ........................ SUCCESS [0.801s]
[INFO] Apache Axis2 - MEX ................................ SUCCESS [0.975s]
[INFO] Apache Axis2 - MTOM Policy module ................. SUCCESS [0.672s]
[INFO] Apache Axis2 - Ping ............................... SUCCESS [2.039s]
[INFO] Apache Axis2 - Version Service .................... SUCCESS [1.268s]
[INFO] Apache Axis2 - SOAP Monitor Servlet ............... SUCCESS [0.949s]
[INFO] Apache Axis2 - SOAP Monitor Module ................ SUCCESS [0.661s]
[INFO] Apache Axis2 - tool - AAR Maven Plugin ............ SUCCESS [0.837s]
[INFO] Apache Axis2 - tool - Ant Plugin .................. SUCCESS [1.053s]
[INFO] Apache Axis2 - tool - Java2WSDL Maven Plugin ...... SUCCESS [1.576s]
[INFO] Apache Axis2 - tool - MAR Maven Plugin ............ SUCCESS [0.801s]
[INFO] Apache Axis2 - tool - WSDL2Code Maven Plugin ...... SUCCESS [0.948s]
[INFO] Apache Axis2 - CORBA .............................. SUCCESS [2.874s]
[INFO] Apache Axis2 - JAXWS (mar) ........................ SUCCESS [0.715s]
[INFO] Apache Axis2 - Web Application module ............. SUCCESS [1:12.478s]
[INFO] Apache Axis2 - Root ............................... SUCCESS [14.685s]
[INFO] axis2.wso2 ........................................ SUCCESS [17.683s]
[INFO] axis2.json.wso2 ................................... SUCCESS [0.124s]
[INFO] axis2.client.wso2 ................................. SUCCESS [23.151s]
[INFO] axis2.jaxbri.wso2 ................................. SUCCESS [0.114s]
[INFO] axis2.jibx.wso2 ................................... SUCCESS [0.125s]
[INFO] WSO2 Carbon - Aggregate Pom ....................... SUCCESS [0.048s]
[INFO] WSO2 Carbon - Patch releases - dependencies - Aggregator Module  SUCCESS [0.003s]
[INFO] WSO2 Carbon - User Management Stub ................ SUCCESS [25.782s]
[INFO] WSO2 Carbon - Patch releases - service-stubs - Aggregator Module  SUCCESS [0.005s]
[INFO] WSO2 Carbon - Utilities ........................... SUCCESS [1:02.404s]
[INFO] WSO2 Carbon - User Manager Kernel ................. SUCCESS [40.838s]
[INFO] WSO2 Carbon - Registry Kernel ..................... SUCCESS [4:06.931s]
[INFO] WSO2 Carbon - Kernel .............................. SUCCESS [10.767s]
[INFO] WSO2 Carbon - carbon tomcat bundle ................ SUCCESS [11.182s]
[INFO] WSO2 Carbon - Carbon specific tomcat extensions ... SUCCESS [8.314s]
[INFO] WSO2 Carbon - User Management Common .............. SUCCESS [1.643s]
[INFO] WSO2 Carbon - User Management ..................... SUCCESS [16.263s]
[INFO] WSO2 Carbon - User Management UI .................. SUCCESS [2.430s]
[INFO] WSO2 Carbon - Services ............................ SUCCESS [8.378s]
[INFO] WSO2 Carbon - UI .................................. SUCCESS [11.249s]
[INFO] WSO2 Carbon - New Data Sources Core ............... SUCCESS [5.215s]
[INFO] WSO2 Carbon - Internationalization ................ SUCCESS [0.178s]
[INFO] WSO2 Carbon - Feature Manager UI .................. SUCCESS [4.048s]
[INFO] WSO2 Carbon - Application Deployer ................ SUCCESS [4.696s]
[INFO] WSO2 Carbon - Feature Manager Core ................ SUCCESS [3.698s]
[INFO] WSO2 Carbon - Servlet Bridge ...................... SUCCESS [2.935s]
[INFO] WSO2 Carbon - Patch releases - core - Aggregator Module  SUCCESS [0.024s]
[INFO] WSO2 Carbon - Carbon Common Feature ............... SUCCESS [11.595s]
[INFO] WSO2 Carbon - Carbon UI Feature ................... SUCCESS [2.464s]
[INFO] WSO2 Carbon - Carbon Server Feature ............... SUCCESS [2.739s]
[INFO] WSO2 Carbon - Carbon Feature ...................... SUCCESS [5.077s]
[INFO] WSO2 Carbon - Patch releases - features - Aggregator Module  SUCCESS [0.168s]
[INFO] WSO2 Carbon Core - Distribution ................... FAILURE [7.730s]

[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: 17:51.503s
[INFO] Finished at: Fri Jan 04 12:47:46 IST 2013
[INFO] Final Memory: 80M/767M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.1:run (1-run-ant) on project wso2carbon-core: Error executing ant tasks: org.h2.jdbc.JdbcSQLException: Out of memory. [90108-140]: PermGen space -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :wso2carbon-core


any ideas?


On Fri, Jan 4, 2013 at 12:14 PM, Nirmal Fernando <[hidden email]> wrote:



On Fri, Jan 4, 2013 at 11:51 AM, Malaka Silva <[hidden email]> wrote:
Yes indeed Maven 3.0.4
 and
Java version: 1.6.0_21, vendor: Sun Microsystems Inc.

And on a side note, recommended java version is 1.6.0_24 or above.



On Fri, Jan 4, 2013 at 11:46 AM, Nirmal Fernando <[hidden email]> wrote:


On Fri, Jan 4, 2013 at 11:41 AM, Malaka Silva <[hidden email]> wrote:
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/





--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - [hidden email]
mobile - <a href="tel:071%2056%2091%20321" value="+94715691321" target="_blank">071 56 91 321


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Eranda Sooriyabandara
Software Engineer;
Integration Technologies Team;
WSO2 Inc.; http://wso2.com



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

Amila Maha Arachchi
In reply to this post by Chanaka Fernando
Hi Chanaka,

Your build failed at the first time because it went out of memory. -rf option is used to start a build from a module of your choice. So you have resumed it from wso2carbon-core module. The build is fine.

You will find many more maven options by typing maven --help

Regards,
Amila.

On Fri, Jan 4, 2013 at 1:34 PM, Chanaka Fernando <[hidden email]> wrote:
I have set the
MAVEN_OPTS = -Xmx2048m -Xms512m -XX:MaxPermSize=800m -XX:ReservedCodeCacheSize=256m

Build was successful with the following command.
 mvn clean install -rf :wso2carbon-core -Dmaven.test.skip=true

I put this -rf :wso2carbon-core option from the previous error message. But i don't know whether this is an acceptable build.


On Fri, Jan 4, 2013 at 1:26 PM, Supun Malinga <[hidden email]> wrote:
Issue is as indicated,
Out of memory. [90108-140]: PermGen space.

you need to set MAVEN_OPTS for a higher memory value.

thanks,


On Fri, Jan 4, 2013 at 1:08 PM, Chanaka Fernando <[hidden email]> wrote:
I am using Maven 3.0.4 and java version 1.6.0_28.

I got the following error when i am running the build.

[INFO] --- maven-antrun-plugin:1.1:run (1-run-ant) @ wso2carbon-core ---
[INFO] Executing tasks
     [echo] ########### Create Default Database ##############
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Axis2 - Parent ............................. SUCCESS [44.903s]
[INFO] Apache Axis2 - Resource bundle .................... SUCCESS [41.495s]
[INFO] Apache Axis2 - Kernel ............................. SUCCESS [1:30.977s]
[INFO] Apache Axis2 - Data Binding ....................... SUCCESS [9.907s]
[INFO] Apache Axis2 - Transport - Local .................. SUCCESS [2.893s]
[INFO] Apache Axis2 - Transport - HTTP ................... SUCCESS [7.309s]
[INFO] Apache Axis2 - Code Generation .................... SUCCESS [3.464s]
[INFO] Apache Axis2 - ADB Codegen ........................ SUCCESS [22.508s]
[INFO] Apache Axis2 - Addressing ......................... SUCCESS [2.515s]
[INFO] Apache Axis2 - Java2WSDL .......................... SUCCESS [1:32.440s]
[INFO] Apache Axis2 - tool - Repository Maven Plugin ..... SUCCESS [35.071s]
[INFO] Apache Axis2 - Fast Infoset ....................... SUCCESS [1.829s]
[INFO] Apache Axis2 - Clustering ......................... SUCCESS [3.151s]
[INFO] Apache Axis2 - Scripting .......................... SUCCESS [1.145s]
[INFO] Apache Axis2 - JAXB-RI Data Binding ............... SUCCESS [4.930s]
[INFO] Apache Axis2 - SAAJ ............................... SUCCESS [10.940s]
[INFO] Apache Axis2 - Metadata ........................... SUCCESS [18.103s]
[INFO] Apache Axis2 - JAXWS .............................. SUCCESS [6.651s]
[INFO] Apache Axis2 - Test Utilities ..................... SUCCESS [0.578s]
[INFO] Apache Axis2 - JAXWS Integration Tests ............ SUCCESS [1.360s]
[INFO] Apache Axis2 - JiBX Data Binding .................. SUCCESS [4.561s]
[INFO] Apache Axis2 - JSON ............................... SUCCESS [3.647s]
[INFO] Apache Axis2 - MTOM Policy ........................ SUCCESS [1.042s]
[INFO] Apache Axis2 - spring ............................. SUCCESS [8.604s]
[INFO] Apache Axis2 - OSGi Integration ................... SUCCESS [2.756s]
[INFO] Apache Axis2 - XMLBeans Data Binding .............. SUCCESS [1.059s]
[INFO] Apache Axis2 - Integration ........................ SUCCESS [0.801s]
[INFO] Apache Axis2 - MEX ................................ SUCCESS [0.975s]
[INFO] Apache Axis2 - MTOM Policy module ................. SUCCESS [0.672s]
[INFO] Apache Axis2 - Ping ............................... SUCCESS [2.039s]
[INFO] Apache Axis2 - Version Service .................... SUCCESS [1.268s]
[INFO] Apache Axis2 - SOAP Monitor Servlet ............... SUCCESS [0.949s]
[INFO] Apache Axis2 - SOAP Monitor Module ................ SUCCESS [0.661s]
[INFO] Apache Axis2 - tool - AAR Maven Plugin ............ SUCCESS [0.837s]
[INFO] Apache Axis2 - tool - Ant Plugin .................. SUCCESS [1.053s]
[INFO] Apache Axis2 - tool - Java2WSDL Maven Plugin ...... SUCCESS [1.576s]
[INFO] Apache Axis2 - tool - MAR Maven Plugin ............ SUCCESS [0.801s]
[INFO] Apache Axis2 - tool - WSDL2Code Maven Plugin ...... SUCCESS [0.948s]
[INFO] Apache Axis2 - CORBA .............................. SUCCESS [2.874s]
[INFO] Apache Axis2 - JAXWS (mar) ........................ SUCCESS [0.715s]
[INFO] Apache Axis2 - Web Application module ............. SUCCESS [1:12.478s]
[INFO] Apache Axis2 - Root ............................... SUCCESS [14.685s]
[INFO] axis2.wso2 ........................................ SUCCESS [17.683s]
[INFO] axis2.json.wso2 ................................... SUCCESS [0.124s]
[INFO] axis2.client.wso2 ................................. SUCCESS [23.151s]
[INFO] axis2.jaxbri.wso2 ................................. SUCCESS [0.114s]
[INFO] axis2.jibx.wso2 ................................... SUCCESS [0.125s]
[INFO] WSO2 Carbon - Aggregate Pom ....................... SUCCESS [0.048s]
[INFO] WSO2 Carbon - Patch releases - dependencies - Aggregator Module  SUCCESS [0.003s]
[INFO] WSO2 Carbon - User Management Stub ................ SUCCESS [25.782s]
[INFO] WSO2 Carbon - Patch releases - service-stubs - Aggregator Module  SUCCESS [0.005s]
[INFO] WSO2 Carbon - Utilities ........................... SUCCESS [1:02.404s]
[INFO] WSO2 Carbon - User Manager Kernel ................. SUCCESS [40.838s]
[INFO] WSO2 Carbon - Registry Kernel ..................... SUCCESS [4:06.931s]
[INFO] WSO2 Carbon - Kernel .............................. SUCCESS [10.767s]
[INFO] WSO2 Carbon - carbon tomcat bundle ................ SUCCESS [11.182s]
[INFO] WSO2 Carbon - Carbon specific tomcat extensions ... SUCCESS [8.314s]
[INFO] WSO2 Carbon - User Management Common .............. SUCCESS [1.643s]
[INFO] WSO2 Carbon - User Management ..................... SUCCESS [16.263s]
[INFO] WSO2 Carbon - User Management UI .................. SUCCESS [2.430s]
[INFO] WSO2 Carbon - Services ............................ SUCCESS [8.378s]
[INFO] WSO2 Carbon - UI .................................. SUCCESS [11.249s]
[INFO] WSO2 Carbon - New Data Sources Core ............... SUCCESS [5.215s]
[INFO] WSO2 Carbon - Internationalization ................ SUCCESS [0.178s]
[INFO] WSO2 Carbon - Feature Manager UI .................. SUCCESS [4.048s]
[INFO] WSO2 Carbon - Application Deployer ................ SUCCESS [4.696s]
[INFO] WSO2 Carbon - Feature Manager Core ................ SUCCESS [3.698s]
[INFO] WSO2 Carbon - Servlet Bridge ...................... SUCCESS [2.935s]
[INFO] WSO2 Carbon - Patch releases - core - Aggregator Module  SUCCESS [0.024s]
[INFO] WSO2 Carbon - Carbon Common Feature ............... SUCCESS [11.595s]
[INFO] WSO2 Carbon - Carbon UI Feature ................... SUCCESS [2.464s]
[INFO] WSO2 Carbon - Carbon Server Feature ............... SUCCESS [2.739s]
[INFO] WSO2 Carbon - Carbon Feature ...................... SUCCESS [5.077s]
[INFO] WSO2 Carbon - Patch releases - features - Aggregator Module  SUCCESS [0.168s]
[INFO] WSO2 Carbon Core - Distribution ................... FAILURE [7.730s]

[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: 17:51.503s
[INFO] Finished at: Fri Jan 04 12:47:46 IST 2013
[INFO] Final Memory: 80M/767M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.1:run (1-run-ant) on project wso2carbon-core: Error executing ant tasks: org.h2.jdbc.JdbcSQLException: Out of memory. [90108-140]: PermGen space -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :wso2carbon-core


any ideas?


On Fri, Jan 4, 2013 at 12:14 PM, Nirmal Fernando <[hidden email]> wrote:



On Fri, Jan 4, 2013 at 11:51 AM, Malaka Silva <[hidden email]> wrote:
Yes indeed Maven 3.0.4
 and
Java version: 1.6.0_21, vendor: Sun Microsystems Inc.

And on a side note, recommended java version is 1.6.0_24 or above.



On Fri, Jan 4, 2013 at 11:46 AM, Nirmal Fernando <[hidden email]> wrote:


On Fri, Jan 4, 2013 at 11:41 AM, Malaka Silva <[hidden email]> wrote:
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/





--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - [hidden email]
mobile - 071 56 91 321


_______________________________________________
Dev mailing list
[hidden email]
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

Chanaka Fernando
In reply to this post by Eranda Sooriyabandara-3
Thanks all.

Build was successful.

I used the MAVEN_OPTS mentioned in this mail thread and now i can build from the start without using -rf option.

One more question,
What is the purpose of building from patch-releases folder rather than building from the root folder?


On Fri, Jan 4, 2013 at 1:46 PM, Eranda Sooriyabandara <[hidden email]> wrote:
Hi Chanaka,
-rf means resume from. That means you don't need to start the build from the beginning but continue it from wso2carbon-core.

thanks
Eranda


On Fri, Jan 4, 2013 at 1:34 PM, Chanaka Fernando <[hidden email]> wrote:
I have set the
MAVEN_OPTS = -Xmx2048m -Xms512m -XX:MaxPermSize=800m -XX:ReservedCodeCacheSize=256m

Build was successful with the following command.
 mvn clean install -rf :wso2carbon-core -Dmaven.test.skip=true

I put this -rf :wso2carbon-core option from the previous error message. But i don't know whether this is an acceptable build.


On Fri, Jan 4, 2013 at 1:26 PM, Supun Malinga <[hidden email]> wrote:
Issue is as indicated,
Out of memory. [90108-140]: PermGen space.

you need to set MAVEN_OPTS for a higher memory value.

thanks,


On Fri, Jan 4, 2013 at 1:08 PM, Chanaka Fernando <[hidden email]> wrote:
I am using Maven 3.0.4 and java version 1.6.0_28.

I got the following error when i am running the build.

[INFO] --- maven-antrun-plugin:1.1:run (1-run-ant) @ wso2carbon-core ---
[INFO] Executing tasks
     [echo] ########### Create Default Database ##############
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Axis2 - Parent ............................. SUCCESS [44.903s]
[INFO] Apache Axis2 - Resource bundle .................... SUCCESS [41.495s]
[INFO] Apache Axis2 - Kernel ............................. SUCCESS [1:30.977s]
[INFO] Apache Axis2 - Data Binding ....................... SUCCESS [9.907s]
[INFO] Apache Axis2 - Transport - Local .................. SUCCESS [2.893s]
[INFO] Apache Axis2 - Transport - HTTP ................... SUCCESS [7.309s]
[INFO] Apache Axis2 - Code Generation .................... SUCCESS [3.464s]
[INFO] Apache Axis2 - ADB Codegen ........................ SUCCESS [22.508s]
[INFO] Apache Axis2 - Addressing ......................... SUCCESS [2.515s]
[INFO] Apache Axis2 - Java2WSDL .......................... SUCCESS [1:32.440s]
[INFO] Apache Axis2 - tool - Repository Maven Plugin ..... SUCCESS [35.071s]
[INFO] Apache Axis2 - Fast Infoset ....................... SUCCESS [1.829s]
[INFO] Apache Axis2 - Clustering ......................... SUCCESS [3.151s]
[INFO] Apache Axis2 - Scripting .......................... SUCCESS [1.145s]
[INFO] Apache Axis2 - JAXB-RI Data Binding ............... SUCCESS [4.930s]
[INFO] Apache Axis2 - SAAJ ............................... SUCCESS [10.940s]
[INFO] Apache Axis2 - Metadata ........................... SUCCESS [18.103s]
[INFO] Apache Axis2 - JAXWS .............................. SUCCESS [6.651s]
[INFO] Apache Axis2 - Test Utilities ..................... SUCCESS [0.578s]
[INFO] Apache Axis2 - JAXWS Integration Tests ............ SUCCESS [1.360s]
[INFO] Apache Axis2 - JiBX Data Binding .................. SUCCESS [4.561s]
[INFO] Apache Axis2 - JSON ............................... SUCCESS [3.647s]
[INFO] Apache Axis2 - MTOM Policy ........................ SUCCESS [1.042s]
[INFO] Apache Axis2 - spring ............................. SUCCESS [8.604s]
[INFO] Apache Axis2 - OSGi Integration ................... SUCCESS [2.756s]
[INFO] Apache Axis2 - XMLBeans Data Binding .............. SUCCESS [1.059s]
[INFO] Apache Axis2 - Integration ........................ SUCCESS [0.801s]
[INFO] Apache Axis2 - MEX ................................ SUCCESS [0.975s]
[INFO] Apache Axis2 - MTOM Policy module ................. SUCCESS [0.672s]
[INFO] Apache Axis2 - Ping ............................... SUCCESS [2.039s]
[INFO] Apache Axis2 - Version Service .................... SUCCESS [1.268s]
[INFO] Apache Axis2 - SOAP Monitor Servlet ............... SUCCESS [0.949s]
[INFO] Apache Axis2 - SOAP Monitor Module ................ SUCCESS [0.661s]
[INFO] Apache Axis2 - tool - AAR Maven Plugin ............ SUCCESS [0.837s]
[INFO] Apache Axis2 - tool - Ant Plugin .................. SUCCESS [1.053s]
[INFO] Apache Axis2 - tool - Java2WSDL Maven Plugin ...... SUCCESS [1.576s]
[INFO] Apache Axis2 - tool - MAR Maven Plugin ............ SUCCESS [0.801s]
[INFO] Apache Axis2 - tool - WSDL2Code Maven Plugin ...... SUCCESS [0.948s]
[INFO] Apache Axis2 - CORBA .............................. SUCCESS [2.874s]
[INFO] Apache Axis2 - JAXWS (mar) ........................ SUCCESS [0.715s]
[INFO] Apache Axis2 - Web Application module ............. SUCCESS [1:12.478s]
[INFO] Apache Axis2 - Root ............................... SUCCESS [14.685s]
[INFO] axis2.wso2 ........................................ SUCCESS [17.683s]
[INFO] axis2.json.wso2 ................................... SUCCESS [0.124s]
[INFO] axis2.client.wso2 ................................. SUCCESS [23.151s]
[INFO] axis2.jaxbri.wso2 ................................. SUCCESS [0.114s]
[INFO] axis2.jibx.wso2 ................................... SUCCESS [0.125s]
[INFO] WSO2 Carbon - Aggregate Pom ....................... SUCCESS [0.048s]
[INFO] WSO2 Carbon - Patch releases - dependencies - Aggregator Module  SUCCESS [0.003s]
[INFO] WSO2 Carbon - User Management Stub ................ SUCCESS [25.782s]
[INFO] WSO2 Carbon - Patch releases - service-stubs - Aggregator Module  SUCCESS [0.005s]
[INFO] WSO2 Carbon - Utilities ........................... SUCCESS [1:02.404s]
[INFO] WSO2 Carbon - User Manager Kernel ................. SUCCESS [40.838s]
[INFO] WSO2 Carbon - Registry Kernel ..................... SUCCESS [4:06.931s]
[INFO] WSO2 Carbon - Kernel .............................. SUCCESS [10.767s]
[INFO] WSO2 Carbon - carbon tomcat bundle ................ SUCCESS [11.182s]
[INFO] WSO2 Carbon - Carbon specific tomcat extensions ... SUCCESS [8.314s]
[INFO] WSO2 Carbon - User Management Common .............. SUCCESS [1.643s]
[INFO] WSO2 Carbon - User Management ..................... SUCCESS [16.263s]
[INFO] WSO2 Carbon - User Management UI .................. SUCCESS [2.430s]
[INFO] WSO2 Carbon - Services ............................ SUCCESS [8.378s]
[INFO] WSO2 Carbon - UI .................................. SUCCESS [11.249s]
[INFO] WSO2 Carbon - New Data Sources Core ............... SUCCESS [5.215s]
[INFO] WSO2 Carbon - Internationalization ................ SUCCESS [0.178s]
[INFO] WSO2 Carbon - Feature Manager UI .................. SUCCESS [4.048s]
[INFO] WSO2 Carbon - Application Deployer ................ SUCCESS [4.696s]
[INFO] WSO2 Carbon - Feature Manager Core ................ SUCCESS [3.698s]
[INFO] WSO2 Carbon - Servlet Bridge ...................... SUCCESS [2.935s]
[INFO] WSO2 Carbon - Patch releases - core - Aggregator Module  SUCCESS [0.024s]
[INFO] WSO2 Carbon - Carbon Common Feature ............... SUCCESS [11.595s]
[INFO] WSO2 Carbon - Carbon UI Feature ................... SUCCESS [2.464s]
[INFO] WSO2 Carbon - Carbon Server Feature ............... SUCCESS [2.739s]
[INFO] WSO2 Carbon - Carbon Feature ...................... SUCCESS [5.077s]
[INFO] WSO2 Carbon - Patch releases - features - Aggregator Module  SUCCESS [0.168s]
[INFO] WSO2 Carbon Core - Distribution ................... FAILURE [7.730s]

[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: 17:51.503s
[INFO] Finished at: Fri Jan 04 12:47:46 IST 2013
[INFO] Final Memory: 80M/767M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.1:run (1-run-ant) on project wso2carbon-core: Error executing ant tasks: org.h2.jdbc.JdbcSQLException: Out of memory. [90108-140]: PermGen space -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :wso2carbon-core


any ideas?


On Fri, Jan 4, 2013 at 12:14 PM, Nirmal Fernando <[hidden email]> wrote:



On Fri, Jan 4, 2013 at 11:51 AM, Malaka Silva <[hidden email]> wrote:
Yes indeed Maven 3.0.4
 and
Java version: 1.6.0_21, vendor: Sun Microsystems Inc.

And on a side note, recommended java version is 1.6.0_24 or above.



On Fri, Jan 4, 2013 at 11:46 AM, Nirmal Fernando <[hidden email]> wrote:


On Fri, Jan 4, 2013 at 11:41 AM, Malaka Silva <[hidden email]> wrote:
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/





--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - [hidden email]
mobile - <a href="tel:071%2056%2091%20321" value="+94715691321" target="_blank">071 56 91 321


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Eranda Sooriyabandara
Software Engineer;
Integration Technologies Team;
WSO2 Inc.; http://wso2.com




_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

Amila Maha Arachchi


On Fri, Jan 4, 2013 at 1:58 PM, Chanaka Fernando <[hidden email]> wrote:
Thanks all.

Build was successful.

I used the MAVEN_OPTS mentioned in this mail thread and now i can build from the start without using -rf option.

One more question,
What is the purpose of building from patch-releases folder rather than building from the root folder?

We have done 4.0.0, 4.0.1, 4.0.2,....., 4.0.5 release using the 4.0.0 branch. After each release we deploy jars to a repository so that the next releases can make use of them. Therefore, you dont need to build from 4.0.0 root. Older versions are available in the online repository.


On Fri, Jan 4, 2013 at 1:46 PM, Eranda Sooriyabandara <[hidden email]> wrote:
Hi Chanaka,
-rf means resume from. That means you don't need to start the build from the beginning but continue it from wso2carbon-core.

thanks
Eranda


On Fri, Jan 4, 2013 at 1:34 PM, Chanaka Fernando <[hidden email]> wrote:
I have set the
MAVEN_OPTS = -Xmx2048m -Xms512m -XX:MaxPermSize=800m -XX:ReservedCodeCacheSize=256m

Build was successful with the following command.
 mvn clean install -rf :wso2carbon-core -Dmaven.test.skip=true

I put this -rf :wso2carbon-core option from the previous error message. But i don't know whether this is an acceptable build.


On Fri, Jan 4, 2013 at 1:26 PM, Supun Malinga <[hidden email]> wrote:
Issue is as indicated,
Out of memory. [90108-140]: PermGen space.

you need to set MAVEN_OPTS for a higher memory value.

thanks,


On Fri, Jan 4, 2013 at 1:08 PM, Chanaka Fernando <[hidden email]> wrote:
I am using Maven 3.0.4 and java version 1.6.0_28.

I got the following error when i am running the build.

[INFO] --- maven-antrun-plugin:1.1:run (1-run-ant) @ wso2carbon-core ---
[INFO] Executing tasks
     [echo] ########### Create Default Database ##############
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Axis2 - Parent ............................. SUCCESS [44.903s]
[INFO] Apache Axis2 - Resource bundle .................... SUCCESS [41.495s]
[INFO] Apache Axis2 - Kernel ............................. SUCCESS [1:30.977s]
[INFO] Apache Axis2 - Data Binding ....................... SUCCESS [9.907s]
[INFO] Apache Axis2 - Transport - Local .................. SUCCESS [2.893s]
[INFO] Apache Axis2 - Transport - HTTP ................... SUCCESS [7.309s]
[INFO] Apache Axis2 - Code Generation .................... SUCCESS [3.464s]
[INFO] Apache Axis2 - ADB Codegen ........................ SUCCESS [22.508s]
[INFO] Apache Axis2 - Addressing ......................... SUCCESS [2.515s]
[INFO] Apache Axis2 - Java2WSDL .......................... SUCCESS [1:32.440s]
[INFO] Apache Axis2 - tool - Repository Maven Plugin ..... SUCCESS [35.071s]
[INFO] Apache Axis2 - Fast Infoset ....................... SUCCESS [1.829s]
[INFO] Apache Axis2 - Clustering ......................... SUCCESS [3.151s]
[INFO] Apache Axis2 - Scripting .......................... SUCCESS [1.145s]
[INFO] Apache Axis2 - JAXB-RI Data Binding ............... SUCCESS [4.930s]
[INFO] Apache Axis2 - SAAJ ............................... SUCCESS [10.940s]
[INFO] Apache Axis2 - Metadata ........................... SUCCESS [18.103s]
[INFO] Apache Axis2 - JAXWS .............................. SUCCESS [6.651s]
[INFO] Apache Axis2 - Test Utilities ..................... SUCCESS [0.578s]
[INFO] Apache Axis2 - JAXWS Integration Tests ............ SUCCESS [1.360s]
[INFO] Apache Axis2 - JiBX Data Binding .................. SUCCESS [4.561s]
[INFO] Apache Axis2 - JSON ............................... SUCCESS [3.647s]
[INFO] Apache Axis2 - MTOM Policy ........................ SUCCESS [1.042s]
[INFO] Apache Axis2 - spring ............................. SUCCESS [8.604s]
[INFO] Apache Axis2 - OSGi Integration ................... SUCCESS [2.756s]
[INFO] Apache Axis2 - XMLBeans Data Binding .............. SUCCESS [1.059s]
[INFO] Apache Axis2 - Integration ........................ SUCCESS [0.801s]
[INFO] Apache Axis2 - MEX ................................ SUCCESS [0.975s]
[INFO] Apache Axis2 - MTOM Policy module ................. SUCCESS [0.672s]
[INFO] Apache Axis2 - Ping ............................... SUCCESS [2.039s]
[INFO] Apache Axis2 - Version Service .................... SUCCESS [1.268s]
[INFO] Apache Axis2 - SOAP Monitor Servlet ............... SUCCESS [0.949s]
[INFO] Apache Axis2 - SOAP Monitor Module ................ SUCCESS [0.661s]
[INFO] Apache Axis2 - tool - AAR Maven Plugin ............ SUCCESS [0.837s]
[INFO] Apache Axis2 - tool - Ant Plugin .................. SUCCESS [1.053s]
[INFO] Apache Axis2 - tool - Java2WSDL Maven Plugin ...... SUCCESS [1.576s]
[INFO] Apache Axis2 - tool - MAR Maven Plugin ............ SUCCESS [0.801s]
[INFO] Apache Axis2 - tool - WSDL2Code Maven Plugin ...... SUCCESS [0.948s]
[INFO] Apache Axis2 - CORBA .............................. SUCCESS [2.874s]
[INFO] Apache Axis2 - JAXWS (mar) ........................ SUCCESS [0.715s]
[INFO] Apache Axis2 - Web Application module ............. SUCCESS [1:12.478s]
[INFO] Apache Axis2 - Root ............................... SUCCESS [14.685s]
[INFO] axis2.wso2 ........................................ SUCCESS [17.683s]
[INFO] axis2.json.wso2 ................................... SUCCESS [0.124s]
[INFO] axis2.client.wso2 ................................. SUCCESS [23.151s]
[INFO] axis2.jaxbri.wso2 ................................. SUCCESS [0.114s]
[INFO] axis2.jibx.wso2 ................................... SUCCESS [0.125s]
[INFO] WSO2 Carbon - Aggregate Pom ....................... SUCCESS [0.048s]
[INFO] WSO2 Carbon - Patch releases - dependencies - Aggregator Module  SUCCESS [0.003s]
[INFO] WSO2 Carbon - User Management Stub ................ SUCCESS [25.782s]
[INFO] WSO2 Carbon - Patch releases - service-stubs - Aggregator Module  SUCCESS [0.005s]
[INFO] WSO2 Carbon - Utilities ........................... SUCCESS [1:02.404s]
[INFO] WSO2 Carbon - User Manager Kernel ................. SUCCESS [40.838s]
[INFO] WSO2 Carbon - Registry Kernel ..................... SUCCESS [4:06.931s]
[INFO] WSO2 Carbon - Kernel .............................. SUCCESS [10.767s]
[INFO] WSO2 Carbon - carbon tomcat bundle ................ SUCCESS [11.182s]
[INFO] WSO2 Carbon - Carbon specific tomcat extensions ... SUCCESS [8.314s]
[INFO] WSO2 Carbon - User Management Common .............. SUCCESS [1.643s]
[INFO] WSO2 Carbon - User Management ..................... SUCCESS [16.263s]
[INFO] WSO2 Carbon - User Management UI .................. SUCCESS [2.430s]
[INFO] WSO2 Carbon - Services ............................ SUCCESS [8.378s]
[INFO] WSO2 Carbon - UI .................................. SUCCESS [11.249s]
[INFO] WSO2 Carbon - New Data Sources Core ............... SUCCESS [5.215s]
[INFO] WSO2 Carbon - Internationalization ................ SUCCESS [0.178s]
[INFO] WSO2 Carbon - Feature Manager UI .................. SUCCESS [4.048s]
[INFO] WSO2 Carbon - Application Deployer ................ SUCCESS [4.696s]
[INFO] WSO2 Carbon - Feature Manager Core ................ SUCCESS [3.698s]
[INFO] WSO2 Carbon - Servlet Bridge ...................... SUCCESS [2.935s]
[INFO] WSO2 Carbon - Patch releases - core - Aggregator Module  SUCCESS [0.024s]
[INFO] WSO2 Carbon - Carbon Common Feature ............... SUCCESS [11.595s]
[INFO] WSO2 Carbon - Carbon UI Feature ................... SUCCESS [2.464s]
[INFO] WSO2 Carbon - Carbon Server Feature ............... SUCCESS [2.739s]
[INFO] WSO2 Carbon - Carbon Feature ...................... SUCCESS [5.077s]
[INFO] WSO2 Carbon - Patch releases - features - Aggregator Module  SUCCESS [0.168s]
[INFO] WSO2 Carbon Core - Distribution ................... FAILURE [7.730s]

[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: 17:51.503s
[INFO] Finished at: Fri Jan 04 12:47:46 IST 2013
[INFO] Final Memory: 80M/767M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.1:run (1-run-ant) on project wso2carbon-core: Error executing ant tasks: org.h2.jdbc.JdbcSQLException: Out of memory. [90108-140]: PermGen space -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :wso2carbon-core


any ideas?


On Fri, Jan 4, 2013 at 12:14 PM, Nirmal Fernando <[hidden email]> wrote:



On Fri, Jan 4, 2013 at 11:51 AM, Malaka Silva <[hidden email]> wrote:
Yes indeed Maven 3.0.4
 and
Java version: 1.6.0_21, vendor: Sun Microsystems Inc.

And on a side note, recommended java version is 1.6.0_24 or above.



On Fri, Jan 4, 2013 at 11:46 AM, Nirmal Fernando <[hidden email]> wrote:


On Fri, Jan 4, 2013 at 11:41 AM, Malaka Silva <[hidden email]> wrote:
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/





--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - [hidden email]
mobile - <a href="tel:071%2056%2091%20321" value="+94715691321" target="_blank">071 56 91 321


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Eranda Sooriyabandara
Software Engineer;
Integration Technologies Team;
WSO2 Inc.; http://wso2.com




_______________________________________________
Dev mailing list
[hidden email]
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

Shamika Ariyawansa
Hi,

Why we build 4.0.5 but not 4.0.6. I tried to build 4.0.6 but gets the following error in kernel.

Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:attached (2-dist) on project wso2carbon-core: Failed to create assembly: Error adding file to archive: /home/shamika/wso2/workspace/kernel/branches/4.0.0/distribution/kernel/4.0.6/../../../core/org.wso2.carbon.core/4.0.5/target/Version.aar isn't a file. -> [Help 1]


On Fri, Jan 4, 2013 at 2:43 PM, Amila Maha Arachchi <[hidden email]> wrote:


On Fri, Jan 4, 2013 at 1:58 PM, Chanaka Fernando <[hidden email]> wrote:
Thanks all.

Build was successful.

I used the MAVEN_OPTS mentioned in this mail thread and now i can build from the start without using -rf option.

One more question,
What is the purpose of building from patch-releases folder rather than building from the root folder?

We have done 4.0.0, 4.0.1, 4.0.2,....., 4.0.5 release using the 4.0.0 branch. After each release we deploy jars to a repository so that the next releases can make use of them. Therefore, you dont need to build from 4.0.0 root. Older versions are available in the online repository.


On Fri, Jan 4, 2013 at 1:46 PM, Eranda Sooriyabandara <[hidden email]> wrote:
Hi Chanaka,
-rf means resume from. That means you don't need to start the build from the beginning but continue it from wso2carbon-core.

thanks
Eranda


On Fri, Jan 4, 2013 at 1:34 PM, Chanaka Fernando <[hidden email]> wrote:
I have set the
MAVEN_OPTS = -Xmx2048m -Xms512m -XX:MaxPermSize=800m -XX:ReservedCodeCacheSize=256m

Build was successful with the following command.
 mvn clean install -rf :wso2carbon-core -Dmaven.test.skip=true

I put this -rf :wso2carbon-core option from the previous error message. But i don't know whether this is an acceptable build.


On Fri, Jan 4, 2013 at 1:26 PM, Supun Malinga <[hidden email]> wrote:
Issue is as indicated,
Out of memory. [90108-140]: PermGen space.

you need to set MAVEN_OPTS for a higher memory value.

thanks,


On Fri, Jan 4, 2013 at 1:08 PM, Chanaka Fernando <[hidden email]> wrote:
I am using Maven 3.0.4 and java version 1.6.0_28.

I got the following error when i am running the build.

[INFO] --- maven-antrun-plugin:1.1:run (1-run-ant) @ wso2carbon-core ---
[INFO] Executing tasks
     [echo] ########### Create Default Database ##############
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Axis2 - Parent ............................. SUCCESS [44.903s]
[INFO] Apache Axis2 - Resource bundle .................... SUCCESS [41.495s]
[INFO] Apache Axis2 - Kernel ............................. SUCCESS [1:30.977s]
[INFO] Apache Axis2 - Data Binding ....................... SUCCESS [9.907s]
[INFO] Apache Axis2 - Transport - Local .................. SUCCESS [2.893s]
[INFO] Apache Axis2 - Transport - HTTP ................... SUCCESS [7.309s]
[INFO] Apache Axis2 - Code Generation .................... SUCCESS [3.464s]
[INFO] Apache Axis2 - ADB Codegen ........................ SUCCESS [22.508s]
[INFO] Apache Axis2 - Addressing ......................... SUCCESS [2.515s]
[INFO] Apache Axis2 - Java2WSDL .......................... SUCCESS [1:32.440s]
[INFO] Apache Axis2 - tool - Repository Maven Plugin ..... SUCCESS [35.071s]
[INFO] Apache Axis2 - Fast Infoset ....................... SUCCESS [1.829s]
[INFO] Apache Axis2 - Clustering ......................... SUCCESS [3.151s]
[INFO] Apache Axis2 - Scripting .......................... SUCCESS [1.145s]
[INFO] Apache Axis2 - JAXB-RI Data Binding ............... SUCCESS [4.930s]
[INFO] Apache Axis2 - SAAJ ............................... SUCCESS [10.940s]
[INFO] Apache Axis2 - Metadata ........................... SUCCESS [18.103s]
[INFO] Apache Axis2 - JAXWS .............................. SUCCESS [6.651s]
[INFO] Apache Axis2 - Test Utilities ..................... SUCCESS [0.578s]
[INFO] Apache Axis2 - JAXWS Integration Tests ............ SUCCESS [1.360s]
[INFO] Apache Axis2 - JiBX Data Binding .................. SUCCESS [4.561s]
[INFO] Apache Axis2 - JSON ............................... SUCCESS [3.647s]
[INFO] Apache Axis2 - MTOM Policy ........................ SUCCESS [1.042s]
[INFO] Apache Axis2 - spring ............................. SUCCESS [8.604s]
[INFO] Apache Axis2 - OSGi Integration ................... SUCCESS [2.756s]
[INFO] Apache Axis2 - XMLBeans Data Binding .............. SUCCESS [1.059s]
[INFO] Apache Axis2 - Integration ........................ SUCCESS [0.801s]
[INFO] Apache Axis2 - MEX ................................ SUCCESS [0.975s]
[INFO] Apache Axis2 - MTOM Policy module ................. SUCCESS [0.672s]
[INFO] Apache Axis2 - Ping ............................... SUCCESS [2.039s]
[INFO] Apache Axis2 - Version Service .................... SUCCESS [1.268s]
[INFO] Apache Axis2 - SOAP Monitor Servlet ............... SUCCESS [0.949s]
[INFO] Apache Axis2 - SOAP Monitor Module ................ SUCCESS [0.661s]
[INFO] Apache Axis2 - tool - AAR Maven Plugin ............ SUCCESS [0.837s]
[INFO] Apache Axis2 - tool - Ant Plugin .................. SUCCESS [1.053s]
[INFO] Apache Axis2 - tool - Java2WSDL Maven Plugin ...... SUCCESS [1.576s]
[INFO] Apache Axis2 - tool - MAR Maven Plugin ............ SUCCESS [0.801s]
[INFO] Apache Axis2 - tool - WSDL2Code Maven Plugin ...... SUCCESS [0.948s]
[INFO] Apache Axis2 - CORBA .............................. SUCCESS [2.874s]
[INFO] Apache Axis2 - JAXWS (mar) ........................ SUCCESS [0.715s]
[INFO] Apache Axis2 - Web Application module ............. SUCCESS [1:12.478s]
[INFO] Apache Axis2 - Root ............................... SUCCESS [14.685s]
[INFO] axis2.wso2 ........................................ SUCCESS [17.683s]
[INFO] axis2.json.wso2 ................................... SUCCESS [0.124s]
[INFO] axis2.client.wso2 ................................. SUCCESS [23.151s]
[INFO] axis2.jaxbri.wso2 ................................. SUCCESS [0.114s]
[INFO] axis2.jibx.wso2 ................................... SUCCESS [0.125s]
[INFO] WSO2 Carbon - Aggregate Pom ....................... SUCCESS [0.048s]
[INFO] WSO2 Carbon - Patch releases - dependencies - Aggregator Module  SUCCESS [0.003s]
[INFO] WSO2 Carbon - User Management Stub ................ SUCCESS [25.782s]
[INFO] WSO2 Carbon - Patch releases - service-stubs - Aggregator Module  SUCCESS [0.005s]
[INFO] WSO2 Carbon - Utilities ........................... SUCCESS [1:02.404s]
[INFO] WSO2 Carbon - User Manager Kernel ................. SUCCESS [40.838s]
[INFO] WSO2 Carbon - Registry Kernel ..................... SUCCESS [4:06.931s]
[INFO] WSO2 Carbon - Kernel .............................. SUCCESS [10.767s]
[INFO] WSO2 Carbon - carbon tomcat bundle ................ SUCCESS [11.182s]
[INFO] WSO2 Carbon - Carbon specific tomcat extensions ... SUCCESS [8.314s]
[INFO] WSO2 Carbon - User Management Common .............. SUCCESS [1.643s]
[INFO] WSO2 Carbon - User Management ..................... SUCCESS [16.263s]
[INFO] WSO2 Carbon - User Management UI .................. SUCCESS [2.430s]
[INFO] WSO2 Carbon - Services ............................ SUCCESS [8.378s]
[INFO] WSO2 Carbon - UI .................................. SUCCESS [11.249s]
[INFO] WSO2 Carbon - New Data Sources Core ............... SUCCESS [5.215s]
[INFO] WSO2 Carbon - Internationalization ................ SUCCESS [0.178s]
[INFO] WSO2 Carbon - Feature Manager UI .................. SUCCESS [4.048s]
[INFO] WSO2 Carbon - Application Deployer ................ SUCCESS [4.696s]
[INFO] WSO2 Carbon - Feature Manager Core ................ SUCCESS [3.698s]
[INFO] WSO2 Carbon - Servlet Bridge ...................... SUCCESS [2.935s]
[INFO] WSO2 Carbon - Patch releases - core - Aggregator Module  SUCCESS [0.024s]
[INFO] WSO2 Carbon - Carbon Common Feature ............... SUCCESS [11.595s]
[INFO] WSO2 Carbon - Carbon UI Feature ................... SUCCESS [2.464s]
[INFO] WSO2 Carbon - Carbon Server Feature ............... SUCCESS [2.739s]
[INFO] WSO2 Carbon - Carbon Feature ...................... SUCCESS [5.077s]
[INFO] WSO2 Carbon - Patch releases - features - Aggregator Module  SUCCESS [0.168s]
[INFO] WSO2 Carbon Core - Distribution ................... FAILURE [7.730s]

[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: 17:51.503s
[INFO] Finished at: Fri Jan 04 12:47:46 IST 2013
[INFO] Final Memory: 80M/767M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.1:run (1-run-ant) on project wso2carbon-core: Error executing ant tasks: org.h2.jdbc.JdbcSQLException: Out of memory. [90108-140]: PermGen space -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :wso2carbon-core


any ideas?


On Fri, Jan 4, 2013 at 12:14 PM, Nirmal Fernando <[hidden email]> wrote:



On Fri, Jan 4, 2013 at 11:51 AM, Malaka Silva <[hidden email]> wrote:
Yes indeed Maven 3.0.4
 and
Java version: 1.6.0_21, vendor: Sun Microsystems Inc.

And on a side note, recommended java version is 1.6.0_24 or above.



On Fri, Jan 4, 2013 at 11:46 AM, Nirmal Fernando <[hidden email]> wrote:


On Fri, Jan 4, 2013 at 11:41 AM, Malaka Silva <[hidden email]> wrote:
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/





--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - [hidden email]
mobile - <a href="tel:071%2056%2091%20321" value="+94715691321" target="_blank">071 56 91 321


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Eranda Sooriyabandara
Software Engineer;
Integration Technologies Team;
WSO2 Inc.; http://wso2.com




_______________________________________________
Dev mailing list
[hidden email]
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: <a href="tel:%2B94719371446" value="+94719371446" target="_blank">+94719371446


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

Amila Maha Arachchi


On Fri, Jan 4, 2013 at 3:31 PM, Shamika Ariyawansa <[hidden email]> wrote:
Hi,

Why we build 4.0.5 but not 4.0.6. I tried to build 4.0.6 but gets the following error in kernel.

No specific reason :). Yes you should have started from 4.0.6. Even after building 4.0.5 you will have to build 4.0.6. But, spending some time with the build will allow you to learn our build model, maven related stuff and other things.

Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:attached (2-dist) on project wso2carbon-core: Failed to create assembly: Error adding file to archive: /home/shamika/wso2/workspace/kernel/branches/4.0.0/distribution/kernel/4.0.6/../../../core/org.wso2.carbon.core/4.0.5/target/Version.aar isn't a file. -> [Help 1]


On Fri, Jan 4, 2013 at 2:43 PM, Amila Maha Arachchi <[hidden email]> wrote:


On Fri, Jan 4, 2013 at 1:58 PM, Chanaka Fernando <[hidden email]> wrote:
Thanks all.

Build was successful.

I used the MAVEN_OPTS mentioned in this mail thread and now i can build from the start without using -rf option.

One more question,
What is the purpose of building from patch-releases folder rather than building from the root folder?

We have done 4.0.0, 4.0.1, 4.0.2,....., 4.0.5 release using the 4.0.0 branch. After each release we deploy jars to a repository so that the next releases can make use of them. Therefore, you dont need to build from 4.0.0 root. Older versions are available in the online repository.


On Fri, Jan 4, 2013 at 1:46 PM, Eranda Sooriyabandara <[hidden email]> wrote:
Hi Chanaka,
-rf means resume from. That means you don't need to start the build from the beginning but continue it from wso2carbon-core.

thanks
Eranda


On Fri, Jan 4, 2013 at 1:34 PM, Chanaka Fernando <[hidden email]> wrote:
I have set the
MAVEN_OPTS = -Xmx2048m -Xms512m -XX:MaxPermSize=800m -XX:ReservedCodeCacheSize=256m

Build was successful with the following command.
 mvn clean install -rf :wso2carbon-core -Dmaven.test.skip=true

I put this -rf :wso2carbon-core option from the previous error message. But i don't know whether this is an acceptable build.


On Fri, Jan 4, 2013 at 1:26 PM, Supun Malinga <[hidden email]> wrote:
Issue is as indicated,
Out of memory. [90108-140]: PermGen space.

you need to set MAVEN_OPTS for a higher memory value.

thanks,


On Fri, Jan 4, 2013 at 1:08 PM, Chanaka Fernando <[hidden email]> wrote:
I am using Maven 3.0.4 and java version 1.6.0_28.

I got the following error when i am running the build.

[INFO] --- maven-antrun-plugin:1.1:run (1-run-ant) @ wso2carbon-core ---
[INFO] Executing tasks
     [echo] ########### Create Default Database ##############
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Axis2 - Parent ............................. SUCCESS [44.903s]
[INFO] Apache Axis2 - Resource bundle .................... SUCCESS [41.495s]
[INFO] Apache Axis2 - Kernel ............................. SUCCESS [1:30.977s]
[INFO] Apache Axis2 - Data Binding ....................... SUCCESS [9.907s]
[INFO] Apache Axis2 - Transport - Local .................. SUCCESS [2.893s]
[INFO] Apache Axis2 - Transport - HTTP ................... SUCCESS [7.309s]
[INFO] Apache Axis2 - Code Generation .................... SUCCESS [3.464s]
[INFO] Apache Axis2 - ADB Codegen ........................ SUCCESS [22.508s]
[INFO] Apache Axis2 - Addressing ......................... SUCCESS [2.515s]
[INFO] Apache Axis2 - Java2WSDL .......................... SUCCESS [1:32.440s]
[INFO] Apache Axis2 - tool - Repository Maven Plugin ..... SUCCESS [35.071s]
[INFO] Apache Axis2 - Fast Infoset ....................... SUCCESS [1.829s]
[INFO] Apache Axis2 - Clustering ......................... SUCCESS [3.151s]
[INFO] Apache Axis2 - Scripting .......................... SUCCESS [1.145s]
[INFO] Apache Axis2 - JAXB-RI Data Binding ............... SUCCESS [4.930s]
[INFO] Apache Axis2 - SAAJ ............................... SUCCESS [10.940s]
[INFO] Apache Axis2 - Metadata ........................... SUCCESS [18.103s]
[INFO] Apache Axis2 - JAXWS .............................. SUCCESS [6.651s]
[INFO] Apache Axis2 - Test Utilities ..................... SUCCESS [0.578s]
[INFO] Apache Axis2 - JAXWS Integration Tests ............ SUCCESS [1.360s]
[INFO] Apache Axis2 - JiBX Data Binding .................. SUCCESS [4.561s]
[INFO] Apache Axis2 - JSON ............................... SUCCESS [3.647s]
[INFO] Apache Axis2 - MTOM Policy ........................ SUCCESS [1.042s]
[INFO] Apache Axis2 - spring ............................. SUCCESS [8.604s]
[INFO] Apache Axis2 - OSGi Integration ................... SUCCESS [2.756s]
[INFO] Apache Axis2 - XMLBeans Data Binding .............. SUCCESS [1.059s]
[INFO] Apache Axis2 - Integration ........................ SUCCESS [0.801s]
[INFO] Apache Axis2 - MEX ................................ SUCCESS [0.975s]
[INFO] Apache Axis2 - MTOM Policy module ................. SUCCESS [0.672s]
[INFO] Apache Axis2 - Ping ............................... SUCCESS [2.039s]
[INFO] Apache Axis2 - Version Service .................... SUCCESS [1.268s]
[INFO] Apache Axis2 - SOAP Monitor Servlet ............... SUCCESS [0.949s]
[INFO] Apache Axis2 - SOAP Monitor Module ................ SUCCESS [0.661s]
[INFO] Apache Axis2 - tool - AAR Maven Plugin ............ SUCCESS [0.837s]
[INFO] Apache Axis2 - tool - Ant Plugin .................. SUCCESS [1.053s]
[INFO] Apache Axis2 - tool - Java2WSDL Maven Plugin ...... SUCCESS [1.576s]
[INFO] Apache Axis2 - tool - MAR Maven Plugin ............ SUCCESS [0.801s]
[INFO] Apache Axis2 - tool - WSDL2Code Maven Plugin ...... SUCCESS [0.948s]
[INFO] Apache Axis2 - CORBA .............................. SUCCESS [2.874s]
[INFO] Apache Axis2 - JAXWS (mar) ........................ SUCCESS [0.715s]
[INFO] Apache Axis2 - Web Application module ............. SUCCESS [1:12.478s]
[INFO] Apache Axis2 - Root ............................... SUCCESS [14.685s]
[INFO] axis2.wso2 ........................................ SUCCESS [17.683s]
[INFO] axis2.json.wso2 ................................... SUCCESS [0.124s]
[INFO] axis2.client.wso2 ................................. SUCCESS [23.151s]
[INFO] axis2.jaxbri.wso2 ................................. SUCCESS [0.114s]
[INFO] axis2.jibx.wso2 ................................... SUCCESS [0.125s]
[INFO] WSO2 Carbon - Aggregate Pom ....................... SUCCESS [0.048s]
[INFO] WSO2 Carbon - Patch releases - dependencies - Aggregator Module  SUCCESS [0.003s]
[INFO] WSO2 Carbon - User Management Stub ................ SUCCESS [25.782s]
[INFO] WSO2 Carbon - Patch releases - service-stubs - Aggregator Module  SUCCESS [0.005s]
[INFO] WSO2 Carbon - Utilities ........................... SUCCESS [1:02.404s]
[INFO] WSO2 Carbon - User Manager Kernel ................. SUCCESS [40.838s]
[INFO] WSO2 Carbon - Registry Kernel ..................... SUCCESS [4:06.931s]
[INFO] WSO2 Carbon - Kernel .............................. SUCCESS [10.767s]
[INFO] WSO2 Carbon - carbon tomcat bundle ................ SUCCESS [11.182s]
[INFO] WSO2 Carbon - Carbon specific tomcat extensions ... SUCCESS [8.314s]
[INFO] WSO2 Carbon - User Management Common .............. SUCCESS [1.643s]
[INFO] WSO2 Carbon - User Management ..................... SUCCESS [16.263s]
[INFO] WSO2 Carbon - User Management UI .................. SUCCESS [2.430s]
[INFO] WSO2 Carbon - Services ............................ SUCCESS [8.378s]
[INFO] WSO2 Carbon - UI .................................. SUCCESS [11.249s]
[INFO] WSO2 Carbon - New Data Sources Core ............... SUCCESS [5.215s]
[INFO] WSO2 Carbon - Internationalization ................ SUCCESS [0.178s]
[INFO] WSO2 Carbon - Feature Manager UI .................. SUCCESS [4.048s]
[INFO] WSO2 Carbon - Application Deployer ................ SUCCESS [4.696s]
[INFO] WSO2 Carbon - Feature Manager Core ................ SUCCESS [3.698s]
[INFO] WSO2 Carbon - Servlet Bridge ...................... SUCCESS [2.935s]
[INFO] WSO2 Carbon - Patch releases - core - Aggregator Module  SUCCESS [0.024s]
[INFO] WSO2 Carbon - Carbon Common Feature ............... SUCCESS [11.595s]
[INFO] WSO2 Carbon - Carbon UI Feature ................... SUCCESS [2.464s]
[INFO] WSO2 Carbon - Carbon Server Feature ............... SUCCESS [2.739s]
[INFO] WSO2 Carbon - Carbon Feature ...................... SUCCESS [5.077s]
[INFO] WSO2 Carbon - Patch releases - features - Aggregator Module  SUCCESS [0.168s]
[INFO] WSO2 Carbon Core - Distribution ................... FAILURE [7.730s]

[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: 17:51.503s
[INFO] Finished at: Fri Jan 04 12:47:46 IST 2013
[INFO] Final Memory: 80M/767M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.1:run (1-run-ant) on project wso2carbon-core: Error executing ant tasks: org.h2.jdbc.JdbcSQLException: Out of memory. [90108-140]: PermGen space -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :wso2carbon-core


any ideas?


On Fri, Jan 4, 2013 at 12:14 PM, Nirmal Fernando <[hidden email]> wrote:



On Fri, Jan 4, 2013 at 11:51 AM, Malaka Silva <[hidden email]> wrote:
Yes indeed Maven 3.0.4
 and
Java version: 1.6.0_21, vendor: Sun Microsystems Inc.

And on a side note, recommended java version is 1.6.0_24 or above.



On Fri, Jan 4, 2013 at 11:46 AM, Nirmal Fernando <[hidden email]> wrote:


On Fri, Jan 4, 2013 at 11:41 AM, Malaka Silva <[hidden email]> wrote:
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/





--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - [hidden email]
mobile - <a href="tel:071%2056%2091%20321" value="+94715691321" target="_blank">071 56 91 321


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Eranda Sooriyabandara
Software Engineer;
Integration Technologies Team;
WSO2 Inc.; http://wso2.com




_______________________________________________
Dev mailing list
[hidden email]
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: <a href="tel:%2B94719371446" value="+94719371446" target="_blank">+94719371446


_______________________________________________
Dev mailing list
[hidden email]
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [Dev] Build Failed for https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.0.0

Shamika Ariyawansa
+1


On Fri, Jan 4, 2013 at 3:42 PM, Amila Maha Arachchi <[hidden email]> wrote:


On Fri, Jan 4, 2013 at 3:31 PM, Shamika Ariyawansa <[hidden email]> wrote:
Hi,

Why we build 4.0.5 but not 4.0.6. I tried to build 4.0.6 but gets the following error in kernel.

No specific reason :). Yes you should have started from 4.0.6. Even after building 4.0.5 you will have to build 4.0.6. But, spending some time with the build will allow you to learn our build model, maven related stuff and other things.

Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.4:attached (2-dist) on project wso2carbon-core: Failed to create assembly: Error adding file to archive: /home/shamika/wso2/workspace/kernel/branches/4.0.0/distribution/kernel/4.0.6/../../../core/org.wso2.carbon.core/4.0.5/target/Version.aar isn't a file. -> [Help 1]


On Fri, Jan 4, 2013 at 2:43 PM, Amila Maha Arachchi <[hidden email]> wrote:


On Fri, Jan 4, 2013 at 1:58 PM, Chanaka Fernando <[hidden email]> wrote:
Thanks all.

Build was successful.

I used the MAVEN_OPTS mentioned in this mail thread and now i can build from the start without using -rf option.

One more question,
What is the purpose of building from patch-releases folder rather than building from the root folder?

We have done 4.0.0, 4.0.1, 4.0.2,....., 4.0.5 release using the 4.0.0 branch. After each release we deploy jars to a repository so that the next releases can make use of them. Therefore, you dont need to build from 4.0.0 root. Older versions are available in the online repository.


On Fri, Jan 4, 2013 at 1:46 PM, Eranda Sooriyabandara <[hidden email]> wrote:
Hi Chanaka,
-rf means resume from. That means you don't need to start the build from the beginning but continue it from wso2carbon-core.

thanks
Eranda


On Fri, Jan 4, 2013 at 1:34 PM, Chanaka Fernando <[hidden email]> wrote:
I have set the
MAVEN_OPTS = -Xmx2048m -Xms512m -XX:MaxPermSize=800m -XX:ReservedCodeCacheSize=256m

Build was successful with the following command.
 mvn clean install -rf :wso2carbon-core -Dmaven.test.skip=true

I put this -rf :wso2carbon-core option from the previous error message. But i don't know whether this is an acceptable build.


On Fri, Jan 4, 2013 at 1:26 PM, Supun Malinga <[hidden email]> wrote:
Issue is as indicated,
Out of memory. [90108-140]: PermGen space.

you need to set MAVEN_OPTS for a higher memory value.

thanks,


On Fri, Jan 4, 2013 at 1:08 PM, Chanaka Fernando <[hidden email]> wrote:
I am using Maven 3.0.4 and java version 1.6.0_28.

I got the following error when i am running the build.

[INFO] --- maven-antrun-plugin:1.1:run (1-run-ant) @ wso2carbon-core ---
[INFO] Executing tasks
     [echo] ########### Create Default Database ##############
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Axis2 - Parent ............................. SUCCESS [44.903s]
[INFO] Apache Axis2 - Resource bundle .................... SUCCESS [41.495s]
[INFO] Apache Axis2 - Kernel ............................. SUCCESS [1:30.977s]
[INFO] Apache Axis2 - Data Binding ....................... SUCCESS [9.907s]
[INFO] Apache Axis2 - Transport - Local .................. SUCCESS [2.893s]
[INFO] Apache Axis2 - Transport - HTTP ................... SUCCESS [7.309s]
[INFO] Apache Axis2 - Code Generation .................... SUCCESS [3.464s]
[INFO] Apache Axis2 - ADB Codegen ........................ SUCCESS [22.508s]
[INFO] Apache Axis2 - Addressing ......................... SUCCESS [2.515s]
[INFO] Apache Axis2 - Java2WSDL .......................... SUCCESS [1:32.440s]
[INFO] Apache Axis2 - tool - Repository Maven Plugin ..... SUCCESS [35.071s]
[INFO] Apache Axis2 - Fast Infoset ....................... SUCCESS [1.829s]
[INFO] Apache Axis2 - Clustering ......................... SUCCESS [3.151s]
[INFO] Apache Axis2 - Scripting .......................... SUCCESS [1.145s]
[INFO] Apache Axis2 - JAXB-RI Data Binding ............... SUCCESS [4.930s]
[INFO] Apache Axis2 - SAAJ ............................... SUCCESS [10.940s]
[INFO] Apache Axis2 - Metadata ........................... SUCCESS [18.103s]
[INFO] Apache Axis2 - JAXWS .............................. SUCCESS [6.651s]
[INFO] Apache Axis2 - Test Utilities ..................... SUCCESS [0.578s]
[INFO] Apache Axis2 - JAXWS Integration Tests ............ SUCCESS [1.360s]
[INFO] Apache Axis2 - JiBX Data Binding .................. SUCCESS [4.561s]
[INFO] Apache Axis2 - JSON ............................... SUCCESS [3.647s]
[INFO] Apache Axis2 - MTOM Policy ........................ SUCCESS [1.042s]
[INFO] Apache Axis2 - spring ............................. SUCCESS [8.604s]
[INFO] Apache Axis2 - OSGi Integration ................... SUCCESS [2.756s]
[INFO] Apache Axis2 - XMLBeans Data Binding .............. SUCCESS [1.059s]
[INFO] Apache Axis2 - Integration ........................ SUCCESS [0.801s]
[INFO] Apache Axis2 - MEX ................................ SUCCESS [0.975s]
[INFO] Apache Axis2 - MTOM Policy module ................. SUCCESS [0.672s]
[INFO] Apache Axis2 - Ping ............................... SUCCESS [2.039s]
[INFO] Apache Axis2 - Version Service .................... SUCCESS [1.268s]
[INFO] Apache Axis2 - SOAP Monitor Servlet ............... SUCCESS [0.949s]
[INFO] Apache Axis2 - SOAP Monitor Module ................ SUCCESS [0.661s]
[INFO] Apache Axis2 - tool - AAR Maven Plugin ............ SUCCESS [0.837s]
[INFO] Apache Axis2 - tool - Ant Plugin .................. SUCCESS [1.053s]
[INFO] Apache Axis2 - tool - Java2WSDL Maven Plugin ...... SUCCESS [1.576s]
[INFO] Apache Axis2 - tool - MAR Maven Plugin ............ SUCCESS [0.801s]
[INFO] Apache Axis2 - tool - WSDL2Code Maven Plugin ...... SUCCESS [0.948s]
[INFO] Apache Axis2 - CORBA .............................. SUCCESS [2.874s]
[INFO] Apache Axis2 - JAXWS (mar) ........................ SUCCESS [0.715s]
[INFO] Apache Axis2 - Web Application module ............. SUCCESS [1:12.478s]
[INFO] Apache Axis2 - Root ............................... SUCCESS [14.685s]
[INFO] axis2.wso2 ........................................ SUCCESS [17.683s]
[INFO] axis2.json.wso2 ................................... SUCCESS [0.124s]
[INFO] axis2.client.wso2 ................................. SUCCESS [23.151s]
[INFO] axis2.jaxbri.wso2 ................................. SUCCESS [0.114s]
[INFO] axis2.jibx.wso2 ................................... SUCCESS [0.125s]
[INFO] WSO2 Carbon - Aggregate Pom ....................... SUCCESS [0.048s]
[INFO] WSO2 Carbon - Patch releases - dependencies - Aggregator Module  SUCCESS [0.003s]
[INFO] WSO2 Carbon - User Management Stub ................ SUCCESS [25.782s]
[INFO] WSO2 Carbon - Patch releases - service-stubs - Aggregator Module  SUCCESS [0.005s]
[INFO] WSO2 Carbon - Utilities ........................... SUCCESS [1:02.404s]
[INFO] WSO2 Carbon - User Manager Kernel ................. SUCCESS [40.838s]
[INFO] WSO2 Carbon - Registry Kernel ..................... SUCCESS [4:06.931s]
[INFO] WSO2 Carbon - Kernel .............................. SUCCESS [10.767s]
[INFO] WSO2 Carbon - carbon tomcat bundle ................ SUCCESS [11.182s]
[INFO] WSO2 Carbon - Carbon specific tomcat extensions ... SUCCESS [8.314s]
[INFO] WSO2 Carbon - User Management Common .............. SUCCESS [1.643s]
[INFO] WSO2 Carbon - User Management ..................... SUCCESS [16.263s]
[INFO] WSO2 Carbon - User Management UI .................. SUCCESS [2.430s]
[INFO] WSO2 Carbon - Services ............................ SUCCESS [8.378s]
[INFO] WSO2 Carbon - UI .................................. SUCCESS [11.249s]
[INFO] WSO2 Carbon - New Data Sources Core ............... SUCCESS [5.215s]
[INFO] WSO2 Carbon - Internationalization ................ SUCCESS [0.178s]
[INFO] WSO2 Carbon - Feature Manager UI .................. SUCCESS [4.048s]
[INFO] WSO2 Carbon - Application Deployer ................ SUCCESS [4.696s]
[INFO] WSO2 Carbon - Feature Manager Core ................ SUCCESS [3.698s]
[INFO] WSO2 Carbon - Servlet Bridge ...................... SUCCESS [2.935s]
[INFO] WSO2 Carbon - Patch releases - core - Aggregator Module  SUCCESS [0.024s]
[INFO] WSO2 Carbon - Carbon Common Feature ............... SUCCESS [11.595s]
[INFO] WSO2 Carbon - Carbon UI Feature ................... SUCCESS [2.464s]
[INFO] WSO2 Carbon - Carbon Server Feature ............... SUCCESS [2.739s]
[INFO] WSO2 Carbon - Carbon Feature ...................... SUCCESS [5.077s]
[INFO] WSO2 Carbon - Patch releases - features - Aggregator Module  SUCCESS [0.168s]
[INFO] WSO2 Carbon Core - Distribution ................... FAILURE [7.730s]

[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: 17:51.503s
[INFO] Finished at: Fri Jan 04 12:47:46 IST 2013
[INFO] Final Memory: 80M/767M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.1:run (1-run-ant) on project wso2carbon-core: Error executing ant tasks: org.h2.jdbc.JdbcSQLException: Out of memory. [90108-140]: PermGen space -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[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/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :wso2carbon-core


any ideas?


On Fri, Jan 4, 2013 at 12:14 PM, Nirmal Fernando <[hidden email]> wrote:



On Fri, Jan 4, 2013 at 11:51 AM, Malaka Silva <[hidden email]> wrote:
Yes indeed Maven 3.0.4
 and
Java version: 1.6.0_21, vendor: Sun Microsystems Inc.

And on a side note, recommended java version is 1.6.0_24 or above.



On Fri, Jan 4, 2013 at 11:46 AM, Nirmal Fernando <[hidden email]> wrote:


On Fri, Jan 4, 2013 at 11:41 AM, Malaka Silva <[hidden email]> wrote:
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
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/





--

Thanks & regards,
Nirmal

Software Engineer- Platform Technologies Team, WSO2 Inc.
Mobile: <a href="tel:%2B94715779733" value="+94715779733" target="_blank">+94715779733
Blog: http://nirmalfdo.blogspot.com/


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Supun Malinga,

Software Engineer,
WSO2 Inc.
http://wso2.com
http://wso2.org
email - [hidden email]
mobile - <a href="tel:071%2056%2091%20321" value="+94715691321" target="_blank">071 56 91 321


_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev




--
Eranda Sooriyabandara
Software Engineer;
Integration Technologies Team;
WSO2 Inc.; http://wso2.com




_______________________________________________
Dev mailing list
[hidden email]
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: <a href="tel:%2B94719371446" value="+94719371446" target="_blank">+94719371446


_______________________________________________
Dev mailing list
[hidden email]
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: <a href="tel:%2B94719371446" value="+94719371446" target="_blank">+94719371446



_______________________________________________
Dev mailing list
[hidden email]
http://wso2.org/cgi-bin/mailman/listinfo/dev
12