Hi Shashika, I'm using Java 1.6
On Sat, Mar 7, 2015 at 8:17 PM, Shashika Karunatilaka <[email protected]> wrote: > HI Yasith, > > Whats the Java version you are building the source.. > > Thank you > > On Sat, Mar 7, 2015 at 8:14 PM, Yasith Lokuge <[email protected]> wrote: > >> I tried "mvn compile -x" >> >> This is what I got; >> >> >> >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 55.941 s >> [INFO] Finished at: 2015-03-07T20:03:03+05:30 >> [INFO] Final Memory: 779M/2455M >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-dependency-plugin:2.8:copy (copy-mars) on >> project rampart-integration: Artifac >> t has not been packaged yet. When used on reactor artifact, copy should >> be executed after packaging: see MDEP-187. -> [Help 1] >> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute >> goal org.apache.maven.plugins:maven-dependency-plugin:2.8:copy (co >> py-mars) on project rampart-integration: Artifact has not been packaged >> yet. When used on reactor artifact, copy should be executed after pa >> ckaging: see MDEP-187. >> at >> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216) >> 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: org.apache.maven.plugin.MojoExecutionException: Artifact has >> not been packaged yet. When used on reactor artifact, copy should be >> executed after packaging: see MDEP-187. >> at >> org.apache.maven.plugin.dependency.AbstractDependencyMojo.copyFile(AbstractDependencyMojo.java:224) >> at >> org.apache.maven.plugin.dependency.fromConfiguration.CopyMojo.copyArtifact(CopyMojo.java:133) >> at >> org.apache.maven.plugin.dependency.fromConfiguration.CopyMojo.doExecute(CopyMojo.java:111) >> at >> org.apache.maven.plugin.dependency.AbstractDependencyMojo.execute(AbstractDependencyMojo.java:167) >> at >> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132) >> at >> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208) >> ... 19 more >> [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/MojoExecutionException >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with the >> command >> [ERROR] mvn <goals> -rf :rampart-integration >> >> On Sat, Mar 7, 2015 at 8:13 PM, Yasith Lokuge <[email protected]> wrote: >> >>> Hi Tharindu, >>> >>> I have already added that part to the POM file but got the error when >>> building platform. >>> >>> >>> >>> On Sat, Mar 7, 2015 at 8:10 PM, Yasith Lokuge <[email protected]> wrote: >>> >>>> Thanks for the reply Tharindu, I'll try and let you know. >>>> >>>> On Sat, Mar 7, 2015 at 8:08 PM, Tharindu Edirisinghe < >>>> [email protected]> wrote: >>>> >>>>> Hi Yasith, >>>>> >>>>> I assume you have built Orbit and Kernel and then you are trying to >>>>> build the Platform (turing). You are getting this error because the >>>>> required dependencies are not resolved. Please try adding the following >>>>> repository details under the <project> tag in the pom file of the platform >>>>> and then build the platform. >>>>> >>>>> <repositories> >>>>> <repository> >>>>> <id>wso2-nexus</id> >>>>> <name>WSO2 internal Repository</name> >>>>> <url> >>>>> http://maven.wso2.org/nexus/content/groups/wso2-public/</url> >>>>> <releases> >>>>> <enabled>true</enabled> >>>>> <updatePolicy>daily</updatePolicy> >>>>> <checksumPolicy>ignore</checksumPolicy> >>>>> </releases> >>>>> </repository> >>>>> </repositories> >>>>> >>>>> Let us know if it doesn't resolve your issue. >>>>> >>>>> >>>>> On Sat, Mar 7, 2015 at 7:50 PM, Yasith Lokuge <[email protected]> >>>>> wrote: >>>>> >>>>>> Hi, >>>>>> >>>>>> I received the following error when building the Carbon Platform from >>>>>> source. >>>>>> Can anyone instruct me how to resolve this error >>>>>> $subject. >>>>>> >>>>>> >>>>>> [ERROR] Failed to execute goal on project >>>>>> org.wso2.carbon.repomanager.axis2: Could not resolve dependencies for >>>>>> project >>>>>> >>>>>> [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/DependencyResolutionException >>>>>> [ERROR] >>>>>> [ERROR] After correcting the problems, you can resume the build with >>>>>> the command >>>>>> [ERROR] mvn <goals> -rf :org.wso2.carbon.repomanager.axis2 >>>>>> >>>>>> Thanks, >>>>>> >>>>>> -- >>>>>> *Regards,* >>>>>> *Yasith Kanchana Lokuge* >>>>>> >>>>>> *University of Colombo School of Computing**| UCSC* >>>>>> *Microsoft Student Ambassador * >>>>>> *Student Member IEEE* >>>>>> *Junior Inventor of the Year 2007* >>>>>> >>>>>> website : http://www.techsurgeinnovations.com/ >>>>>> facebook : https://www.facebook.com/yasithlokuge >>>>>> linkedin : http://lk.linkedin.com/pub/yasith-lokuge/1b/713/229/ >>>>>> Mobile : +94771353682 >>>>>> Skype : yasith11 >>>>>> Twitter : @YasithLokuge >>>>>> >>>>>> _______________________________________________ >>>>>> Dev mailing list >>>>>> [email protected] >>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> >>>>> Tharindu Edirisinghe >>>>> Software Engineer | WSO2 Inc >>>>> Identity Server Team >>>>> mobile : +94 775 181586 >>>>> >>>> >>>> >>>> >>>> -- >>>> *Regards,* >>>> *Yasith Kanchana Lokuge* >>>> >>>> *University of Colombo School of Computing**| UCSC* >>>> *Microsoft Student Ambassador * >>>> *Student Member IEEE* >>>> *Junior Inventor of the Year 2007* >>>> >>>> website : http://www.techsurgeinnovations.com/ >>>> facebook : https://www.facebook.com/yasithlokuge >>>> linkedin : http://lk.linkedin.com/pub/yasith-lokuge/1b/713/229/ >>>> Mobile : +94771353682 >>>> Skype : yasith11 >>>> Twitter : @YasithLokuge >>>> >>> >>> >>> >>> -- >>> *Regards,* >>> *Yasith Kanchana Lokuge* >>> >>> *University of Colombo School of Computing**| UCSC* >>> *Microsoft Student Ambassador * >>> *Student Member IEEE* >>> *Junior Inventor of the Year 2007* >>> >>> website : http://www.techsurgeinnovations.com/ >>> facebook : https://www.facebook.com/yasithlokuge >>> linkedin : http://lk.linkedin.com/pub/yasith-lokuge/1b/713/229/ >>> Mobile : +94771353682 >>> Skype : yasith11 >>> Twitter : @YasithLokuge >>> >> >> >> >> -- >> *Regards,* >> *Yasith Kanchana Lokuge* >> >> *University of Colombo School of Computing**| UCSC* >> *Microsoft Student Ambassador * >> *Student Member IEEE* >> *Junior Inventor of the Year 2007* >> >> website : http://www.techsurgeinnovations.com/ >> facebook : https://www.facebook.com/yasithlokuge >> linkedin : http://lk.linkedin.com/pub/yasith-lokuge/1b/713/229/ >> Mobile : +94771353682 >> Skype : yasith11 >> Twitter : @YasithLokuge >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > Shashika Prabath Karunatilaka, > Software Engineer, > WSO2, Inc: http://wso2.com/ > mobile : +94 77 7487792 > -- *Regards,* *Yasith Kanchana Lokuge* *University of Colombo School of Computing**| UCSC* *Microsoft Student Ambassador * *Student Member IEEE* *Junior Inventor of the Year 2007* website : http://www.techsurgeinnovations.com/ facebook : https://www.facebook.com/yasithlokuge linkedin : http://lk.linkedin.com/pub/yasith-lokuge/1b/713/229/ Mobile : +94771353682 Skype : yasith11 Twitter : @YasithLokuge
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
