Hi Chamin, You have to build patch0003 before patch0009. patch0009 has dependencies on patch0003.
Thanks and Best Regards, Saneth Dharmakeerthi Senior Software Engineer WSO2, Inc. Mobile: +94772325511 On Mon, May 18, 2015 at 6:35 PM, Manoj Kumara <ma...@wso2.com> wrote: > Additionally you might have to build previous patches as well. > > > *Manoj Kumara* > Software Engineer > WSO2 Inc. http://wso2.com/ > *lean.enterprise.middleware* > Mobile: +94713448188 > > On Mon, May 18, 2015 at 6:34 PM, Thusitha Thilina Dayaratne < > thusit...@wso2.com> wrote: > >> Hi Chamin, >> >> It seems that you have to use Maven 3.0.x with JDK 1.6 >> >> http://stackoverflow.com/questions/25376891/not-able-to-build-wso2-orbit-kernel-4-2-0-and-platform-4-1-7 >> >> Thanks >> >> On Mon, May 18, 2015 at 6:30 PM, Chamin Dias <cham...@wso2.com> wrote: >> >>> Hi, >>> >>> I am trying to build a patch (patch no 9), for carbon 4.2.0. It can be >>> located here : [ >>> https://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.2.0/patches/] >>> >>> However, when trying to build the patch using Maven 3.2.5 and JDK 1.7, I >>> get an error. (Error is included) >>> >>> Also I have tried the same thing with JDK 1.6, but still the error >>> appears. (Error is included) >>> >>> Any help is appreciated. >>> >>> Thank you. >>> >>> >>> >>> *Error appeared with JDK 1.7* >>> >>> [WARNING] Error injecting: >>> org.apache.maven.reporting.exec.DefaultMavenReportExecutor >>> >>> java.lang.NoClassDefFoundError: >>> org/sonatype/aether/graph/DependencyFilter >>> >>> at java.lang.Class.getDeclaredConstructors0(Native Method) >>> >>> at java.lang.Class.privateGetDeclaredConstructors(Class.java:2585) >>> >>> at java.lang.Class.getDeclaredConstructors(Class.java:1906) >>> >>> at >>> com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245) >>> >>> at >>> com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99) >>> >>> at >>> com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:657) >>> >>> at >>> com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:875) >>> >>> at >>> com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:798) >>> >>> at >>> com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:281) >>> >>> at >>> com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:213) >>> >>> at >>> com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:998) >>> >>> at >>> com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1031) >>> >>> at >>> com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:994) >>> >>> at >>> com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1044) >>> >>> at >>> org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48) >>> >>> at >>> com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) >>> >>> at >>> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:54) >>> >>> at >>> com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70) >>> >>> at >>> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:113) >>> >>> at >>> org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176) >>> >>> at >>> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:122) >>> >>> at >>> com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68) >>> >>> at >>> com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) >>> >>> at >>> com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:46) >>> >>> at >>> com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) >>> >>> at >>> com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1066) >>> >>> at >>> com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) >>> >>> at com.google.inject.Scopes$1$1.get(Scopes.java:59) >>> >>> at >>> com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) >>> >>> at >>> com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1009) >>> >>> at >>> com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1059) >>> >>> at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1005) >>> >>> at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82) >>> >>> at >>> org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51) >>> >>> at >>> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263) >>> >>> at >>> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:243) >>> >>> at >>> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:237) >>> >>> at >>> org.apache.maven.plugins.site.AbstractSiteRenderingMojo.getReports(AbstractSiteRenderingMojo.java:234) >>> >>> at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:121) >>> >>> at >>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) >>> >>> at >>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) >>> >>> at >>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) >>> >>> at >>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) >>> >>> at >>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) >>> >>> at >>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) >>> >>> at >>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) >>> >>> at >>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) >>> >>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) >>> >>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) >>> >>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) >>> >>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) >>> >>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) >>> >>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>> >>> at >>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >>> >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>> >>> at java.lang.reflect.Method.invoke(Method.java:606) >>> >>> at >>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) >>> >>> at >>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) >>> >>> at >>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) >>> >>> at >>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) >>> >>> Caused by: java.lang.ClassNotFoundException: >>> org.sonatype.aether.graph.DependencyFilter >>> >>> at >>> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) >>> >>> at >>> org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) >>> >>> at >>> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) >>> >>> at >>> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) >>> >>> ... 60 more >>> >>> >>> >>> *Error appeared with JDK 1.6* >>> >>> [WARNING] Error injecting: >>> org.apache.maven.reporting.exec.DefaultMavenReportExecutor >>> >>> java.lang.NoClassDefFoundError: >>> org/sonatype/aether/graph/DependencyFilter >>> >>> at java.lang.Class.getDeclaredConstructors0(Native Method) >>> >>> at java.lang.Class.privateGetDeclaredConstructors(Class.java:2446) >>> >>> at java.lang.Class.getDeclaredConstructors(Class.java:1872) >>> >>> at >>> com.google.inject.spi.InjectionPoint.forConstructorOf(InjectionPoint.java:245) >>> >>> at >>> com.google.inject.internal.ConstructorBindingImpl.create(ConstructorBindingImpl.java:99) >>> >>> at >>> com.google.inject.internal.InjectorImpl.createUninitializedBinding(InjectorImpl.java:657) >>> >>> at >>> com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:875) >>> >>> at >>> com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:798) >>> >>> at >>> com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:281) >>> >>> at >>> com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:213) >>> >>> at >>> com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:998) >>> >>> at >>> com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1031) >>> >>> at >>> com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:994) >>> >>> at >>> com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1044) >>> >>> at >>> org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48) >>> >>> at >>> com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86) >>> >>> at >>> com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:54) >>> >>> at >>> com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70) >>> >>> at >>> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:113) >>> >>> at >>> org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176) >>> >>> at >>> com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:122) >>> >>> at >>> com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68) >>> >>> at >>> com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) >>> >>> at >>> com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:46) >>> >>> at >>> com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) >>> >>> at >>> com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1066) >>> >>> at >>> com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) >>> >>> at com.google.inject.Scopes$1$1.get(Scopes.java:59) >>> >>> at >>> com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) >>> >>> at >>> com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1009) >>> >>> at >>> com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1059) >>> >>> at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1005) >>> >>> at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82) >>> >>> at >>> org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51) >>> >>> at >>> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263) >>> >>> at >>> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:243) >>> >>> at >>> org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:237) >>> >>> at >>> org.apache.maven.plugins.site.AbstractSiteRenderingMojo.getReports(AbstractSiteRenderingMojo.java:234) >>> >>> at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:121) >>> >>> at >>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) >>> >>> at >>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) >>> >>> at >>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) >>> >>> at >>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) >>> >>> at >>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116) >>> >>> at >>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80) >>> >>> at >>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51) >>> >>> at >>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120) >>> >>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355) >>> >>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155) >>> >>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584) >>> >>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216) >>> >>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:160) >>> >>> 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:289) >>> >>> at >>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) >>> >>> at >>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) >>> >>> at >>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) >>> >>> Caused by: java.lang.ClassNotFoundException: >>> org.sonatype.aether.graph.DependencyFilter >>> >>> at >>> org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) >>> >>> at >>> org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) >>> >>> at >>> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:254) >>> >>> at >>> org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) >>> >>> ... 60 more >>> >>> -- >>> Chamin Dias >>> *Software Engineer* >>> Mobile : +94 (0) 716 097455 <%2B94%20%280%29%20773%20451194> >>> cham...@wso2.com >>> >> >> >> >> -- >> Thusitha Dayaratne >> Software Engineer >> WSO2 Inc. - lean . enterprise . middleware | wso2.com >> >> Mobile +94712756809 >> Blog alokayasoya.blogspot.com >> About http://about.me/thusithathilina >> >> >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev