Hi Prabath, Thank you very much. I'll check it.
Best Regards Menaka On Thu, Nov 5, 2015 at 7:58 AM, Prabath Abeysekera <[email protected]> wrote: > Hi Menaka, > > I'm seeing quite a few maven warnings printed as part of the above shared > exception trace. Please fix those as well. > > Cheers, > Prabath > > On Tue, Nov 3, 2015 at 12:51 PM, Menaka Jayawardena <[email protected]> > wrote: > >> Build successful and server is running properly. >> >> Thank you very much :-) >> >> On Tue, Nov 3, 2015 at 12:13 PM, Rasika Perera <[email protected]> wrote: >> >>> This is fixed now. >>> >>> On Tue, Nov 3, 2015 at 12:01 AM, Menaka Jayawardena <[email protected]> >>> wrote: >>> >>>> Hello, >>>> >>>> I built the given repositories in order with mvn clean install. All of >>>> those build successfully except the IOT server. [1] >>>> >>>> [1] https://github.com/wso2-incubator/product-iot-server >>>> >>>> This is the full stack trace. >>>> >>>> menaka@menaka-ThinkPad-T530:~/Documents/WSO2/product-iot-server$ mvn >>>> clean install -e >>>> [INFO] Error stacktraces are turned on. >>>> [INFO] Scanning for projects... >>>> [ERROR] The build could not read 1 project -> [Help 1] >>>> org.apache.maven.project.ProjectBuildingException: Some problems were >>>> encountered while processing the POMs: >>>> [FATAL] Non-resolvable parent POM: Could not find artifact >>>> org.wso2.iot:wso2iot-parent:pom:1.0.0-SNAPSHOT and 'parent.relativePath' >>>> points at wrong local POM @ line 24, column 10 >>>> [WARNING] >>>> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' >>>> must be unique: >>>> org.wso2.carbon.devicemgt:org.wso2.carbon.policy.mgt.core:jar -> duplicate >>>> declaration of version ${carbon.device.mgt.version} @ >>>> org.wso2.iot:wso2iot-parent:1.0.0-SNAPSHOT, >>>> /home/menaka/Documents/WSO2/product-iot-server/pom.xml, line 415, column 25 >>>> [WARNING] >>>> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' >>>> must be unique: >>>> org.wso2.carbon.devicemgt:org.wso2.carbon.policy.mgt.common:jar -> >>>> duplicate declaration of version ${carbon.device.mgt.version} @ >>>> org.wso2.iot:wso2iot-parent:1.0.0-SNAPSHOT, >>>> /home/menaka/Documents/WSO2/product-iot-server/pom.xml, line 420, column 25 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.firealarm.plugin.impl:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/firealarm/src/org.wso2.carbon.device.mgt.iot.sample.firealarm.plugin.impl/pom.xml, >>>> line 24, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.firealarm:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/firealarm/src/pom.xml, >>>> line 13, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.firealarm.service.impl:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/firealarm/src/org.wso2.carbon.device.mgt.iot.sample.firealarm.service.impl/pom.xml, >>>> line 14, column 14 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.firealarm:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/firealarm/src/pom.xml, >>>> line 13, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:iot-server-samples:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/pom.xml, >>>> line 27, column 14 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.android.sense.plugin.impl:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/android_sense/src/org.wso2.carbon.device.mgt.iot.sample.android.sense.plugin.impl/pom.xml, >>>> line 24, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.android.sense:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/android_sense/src/pom.xml, >>>> line 13, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.android.sense.service.impl:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/android_sense/src/org.wso2.carbon.device.mgt.iot.sample.android.sense.service.impl/pom.xml, >>>> line 14, column 14 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.android.sense:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/android_sense/src/pom.xml, >>>> line 13, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.arduino.plugin.impl:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/arduino/src/org.wso2.carbon.device.mgt.iot.sample.arduino.plugin.impl/pom.xml, >>>> line 24, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.arduino:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/arduino/src/pom.xml, >>>> line 13, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.arduino.service.impl:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/arduino/src/org.wso2.carbon.device.mgt.iot.sample.arduino.service.impl/pom.xml, >>>> line 14, column 12 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.arduino:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/arduino/src/pom.xml, >>>> line 13, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.digitaldisplay.plugin.impl:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/digital_display/src/org.wso2.carbon.device.mgt.iot.sample.digitaldisplay.plugin.impl/pom.xml, >>>> line 24, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.digitaldisplay:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/digital_display/src/pom.xml, >>>> line 13, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.digitaldisplay.service.impl:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/digital_display/src/org.wso2.carbon.device.mgt.iot.sample.digitaldisplay.service.impl/pom.xml, >>>> line 14, column 14 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.digitaldisplay:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/digital_display/src/pom.xml, >>>> line 13, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.raspberrypi.plugin.impl:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/raspberrypi/src/org.wso2.carbon.device.mgt.iot.sample.raspberrypi.plugin.impl/pom.xml, >>>> line 24, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.raspberrypi:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/raspberrypi/src/pom.xml, >>>> line 13, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.raspberrypi.service.impl:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/raspberrypi/src/org.wso2.carbon.device.mgt.iot.sample.raspberrypi.service.impl/pom.xml, >>>> line 14, column 14 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.raspberrypi:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/raspberrypi/src/pom.xml, >>>> line 13, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.sensebot.plugin.impl:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/sensebot/src/org.wso2.carbon.device.mgt.iot.sample.sensebot.plugin.impl/pom.xml, >>>> line 24, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.sensebot:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/sensebot/src/pom.xml, >>>> line 13, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.sensebot.service.impl:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/sensebot/src/org.wso2.carbon.device.mgt.iot.sample.sensebot.service.impl/pom.xml, >>>> line 14, column 14 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.sensebot:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/sensebot/src/pom.xml, >>>> line 13, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.virtual.firealarm.plugin.impl:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/virtual_firealarm/src/org.wso2.carbon.device.mgt.iot.sample.virtual.firealarm.plugin.impl/pom.xml, >>>> line 24, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.virtual.firealarm:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/virtual_firealarm/src/pom.xml, >>>> line 13, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.virtual.firealarm.service.impl:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/virtual_firealarm/src/org.wso2.carbon.device.mgt.iot.sample.virtual.firealarm.service.impl/pom.xml, >>>> line 14, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:org.wso2.carbon.device.mgt.iot.sample.virtual.firealarm:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/virtual_firealarm/src/pom.xml, >>>> line 13, column 11 >>>> [WARNING] 'version' contains an expression but should be a constant. @ >>>> org.wso2.carbon.device.mgt.iot.server.sample:iot-server-samples:${carbon.iot.device.mgt.version}, >>>> /home/menaka/Documents/WSO2/product-iot-server/modules/samples/pom.xml, >>>> line 27, column 14 >>>> [WARNING] >>>> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' >>>> must be unique: >>>> org.wso2.carbon.devicemgt:org.wso2.carbon.policy.mgt.core:jar -> duplicate >>>> declaration of version ${carbon.device.mgt.version} @ line 415, column 25 >>>> [WARNING] >>>> 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' >>>> must be unique: >>>> org.wso2.carbon.devicemgt:org.wso2.carbon.policy.mgt.common:jar -> >>>> duplicate declaration of version ${carbon.device.mgt.version} @ line 420, >>>> column 25 >>>> >>>> at >>>> org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:363) >>>> at >>>> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636) >>>> at >>>> org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:585) >>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234) >>>> 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: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) >>>> [ERROR] >>>> [ERROR] The project org.wso2.iot:wso2iot:1.0.0-SNAPSHOT >>>> (/home/menaka/Documents/WSO2/product-iot-server/modules/distribution/pom.xml) >>>> has 1 error >>>> [ERROR] Non-resolvable parent POM: Could not find artifact >>>> org.wso2.iot:wso2iot-parent:pom:1.0.0-SNAPSHOT and 'parent.relativePath' >>>> points at wrong local POM @ line 24, column 10 -> [Help 2] >>>> org.apache.maven.model.resolution.UnresolvableModelException: Could not >>>> find artifact org.wso2.iot:wso2iot-parent:pom:1.0.0-SNAPSHOT >>>> at >>>> org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:159) >>>> at >>>> org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:813) >>>> at >>>> org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:685) >>>> at >>>> org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:310) >>>> at >>>> org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:232) >>>> at >>>> org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:410) >>>> at >>>> org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:379) >>>> at >>>> org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:495) >>>> at >>>> org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:379) >>>> at >>>> org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:343) >>>> at >>>> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:636) >>>> at >>>> org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:585) >>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:234) >>>> 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: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: org.sonatype.aether.resolution.ArtifactResolutionException: >>>> Could not find artifact org.wso2.iot:wso2iot-parent:pom:1.0.0-SNAPSHOT >>>> at >>>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538) >>>> at >>>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216) >>>> at >>>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193) >>>> at >>>> org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:286) >>>> at >>>> org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:155) >>>> ... 24 more >>>> Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: >>>> Could not find artifact org.wso2.iot:wso2iot-parent:pom:1.0.0-SNAPSHOT >>>> at >>>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:528) >>>> ... 28 more >>>> [ERROR] >>>> [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/ProjectBuildingException >>>> [ERROR] [Help 2] >>>> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException >>>> >>>> Regards >>>> Menaka >>>> -- >>>> Menaka Madushanka Jayawardena >>>> Software Engineering Intern >>>> [email protected] >>>> Mobile:- +94 71 8851183/ +94 71 3505470 >>>> LinkedIn - Menaka Jayawardena >>>> <https://lk.linkedin.com/in/menakajayawardena> >>>> >>> >>> >>> >>> -- >>> With Regards, >>> >>> *Rasika Perera* >>> Software Engineer >>> M: +94 71 680 9060 E: [email protected] >>> LinkedIn: http://lk.linkedin.com/in/rasika90 >>> >>> WSO2 Inc. www.wso2.com >>> lean.enterprise.middleware >>> >> >> >> >> -- >> Menaka Madushanka Jayawardena >> Software Engineering Intern >> [email protected] >> Mobile:- +94 71 8851183/ +94 71 3505470 >> LinkedIn - Menaka Jayawardena >> <https://lk.linkedin.com/in/menakajayawardena> >> > > > > -- > Prabath Abeysekara > Technical Lead > WSO2 Inc. > Email: [email protected] > Mobile: +94774171471 > -- Menaka Madushanka Jayawardena Software Engineering Intern [email protected] Mobile:- +94 71 8851183/ +94 71 3505470 LinkedIn - Menaka Jayawardena <https://lk.linkedin.com/in/menakajayawardena>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
