wso2 / product-iots

Welcome to the WSO2 IoT Server source code! For info on working with the WSO2 IoT Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
182 stars 181 forks source link

WSO2 IoT Server installation SenseMe error in sample deployment #1951

Open reabdulafif opened 2 years ago

reabdulafif commented 2 years ago

Description: I have problem in installation senseme (sample deployment) please help me :")

Suggested Labels: wso2,senseme,sample

Affected Product Version: wso2 version 3.1.0

oem@HP-PavilionG4:~/wso2iot-3.1.0-update1/samples$ mvn clean install -f SenseMe-deployer.xml [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.iot:org.wso2.iot.senseme.plugin:bundle:1.0.0-SNAPSHOT [WARNING] 'artifactId' contains an expression but should be a constant. @ org.wso2.iot:${project-base-package}.plugin:1.0.0-SNAPSHOT, /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/pom.xml, line 31, column 17 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.iot:org.wso2.iot.senseme.api:war:1.0.0-SNAPSHOT [WARNING] 'artifactId' contains an expression but should be a constant. @ org.wso2.iot:${project-base-package}.api:1.0.0-SNAPSHOT, /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/pom.xml, line 30, column 14 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.iot:org.wso2.iot.senseme.ui:pom:1.0.0-SNAPSHOT [WARNING] 'artifactId' contains an expression but should be a constant. @ org.wso2.iot:${project-base-package}.ui:1.0.0-SNAPSHOT, /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/ui/pom.xml, line 29, column 17 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.iot:org.wso2.iot.senseme.analytics:pom:1.0.0-SNAPSHOT [WARNING] 'artifactId' contains an expression but should be a constant. @ org.wso2.iot:${groupId}.senseme.analytics:1.0.0-SNAPSHOT, /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/pom.xml, line 28, column 17 [WARNING] The expression ${groupId} is deprecated. Please use ${project.groupId} instead. @ org.wso2.iot:${groupId}.senseme.analytics:1.0.0-SNAPSHOT, /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/pom.xml [WARNING] The expression ${groupId} is deprecated. Please use ${project.groupId} instead. [WARNING] The expression ${groupId} is deprecated. Please use ${project.groupId} instead. [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.iot:senseme-component:pom:1.0.0-SNAPSHOT [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions:jar -> duplicate declaration of version ${carbon.device.mgt.version} @ org.wso2.iot:senseme:1.0.0-SNAPSHOT, /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/pom.xml, line 274, column 25 [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions:jar -> duplicate declaration of version ${carbon.device.mgt.version} @ org.wso2.iot:senseme:1.0.0-SNAPSHOT, /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/pom.xml, line 299, column 25 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.iot:org.wso2.iot.senseme.feature:pom:1.0.0-SNAPSHOT [WARNING] 'artifactId' contains an expression but should be a constant. @ org.wso2.iot:${project-base-package}.feature:1.0.0-SNAPSHOT, /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/pom.xml, line 28, column 17 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.iot:senseme:pom:1.0.0-SNAPSHOT [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions:jar -> duplicate declaration of version ${carbon.device.mgt.version} @ line 274, column 25 [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions:jar -> duplicate declaration of version ${carbon.device.mgt.version} @ line 299, column 25 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.iot.devicemgt-plugins:iot-devicetype-samples:pom:1.0.0 [WARNING] 'parent.relativePath' of POM org.wso2.iot.devicemgt-plugins:iot-devicetype-samples:1.0.0 (/home/oem/wso2iot-3.1.0-update1/samples/SenseMe-deployer.xml) points at org.wso2.iot:wso2iot-parent instead of org.wso2:wso2, please verify your project structure @ line 21, column 13 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] senseme [pom] [INFO] senseme-component [pom] [INFO] org.wso2.iot.senseme.plugin [bundle] [INFO] org.wso2.iot.senseme.api [war] [INFO] org.wso2.iot.senseme.ui [pom] [INFO] org.wso2.iot.senseme.analytics [pom] [INFO] senseme-feature [pom] [INFO] org.wso2.iot.senseme.feature [pom] [INFO] Creating custom distribution [pom] [INFO] [INFO] ------------------------< org.wso2.iot:senseme >------------------------ [INFO] Building senseme 1.0.0-SNAPSHOT [1/9] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ senseme --- [INFO] Deleting /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/target [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ senseme --- [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ senseme --- [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/pom.xml to /home/oem/.m2/repository/org/wso2/iot/senseme/1.0.0-SNAPSHOT/senseme-1.0.0-SNAPSHOT.pom [INFO] [INFO] -------------------< org.wso2.iot:senseme-component >------------------- [INFO] Building senseme-component 1.0.0-SNAPSHOT [2/9] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ senseme-component --- [INFO] Deleting /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/target [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ senseme-component --- [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ senseme-component --- [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/pom.xml to /home/oem/.m2/repository/org/wso2/iot/senseme-component/1.0.0-SNAPSHOT/senseme-component-1.0.0-SNAPSHOT.pom [INFO] [INFO] --------------< org.wso2.iot:org.wso2.iot.senseme.plugin >-------------- [INFO] Building org.wso2.iot.senseme.plugin 1.0.0-SNAPSHOT [3/9] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ org.wso2.iot.senseme.plugin --- [INFO] Deleting /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/target [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.wso2.iot.senseme.plugin --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.wso2.iot.senseme.plugin --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ org.wso2.iot.senseme.plugin --- [INFO] Compiling 10 source files to /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/target/classes [INFO] [INFO] --- maven-scr-plugin:1.7.2:scr (generate-scr-scrdescriptor) @ org.wso2.iot.senseme.plugin --- [WARNING] Class org.wso2.iot.senseme.plugin.internal.ServiceComponent is using deprecated javadoc tags at file:/home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/src/main/java/org/wso2/iot/senseme/plugin/internal/ServiceComponent.java:34 [WARNING] It is highly recommended to fix these problems, as future versions might not support these features anymore. [INFO] Generating 2 MetaType Descriptors to /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/target/scr-plugin-generated/OSGI-INF/metatype/metatype.xml [INFO] Writing abstract service descriptor /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml with 1 entries. [INFO] Generating 1 Service Component Descriptors to /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ org.wso2.iot.senseme.plugin --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ org.wso2.iot.senseme.plugin --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.18:test (default-test) @ org.wso2.iot.senseme.plugin --- [INFO] [INFO] --- maven-bundle-plugin:1.4.0:bundle (default-bundle) @ org.wso2.iot.senseme.plugin --- [WARNING] Warning building bundle org.wso2.iot:org.wso2.iot.senseme.plugin:bundle:1.0.0-SNAPSHOT : Did not find matching referal for org.wso2.carbon.device.mgt.extensions.feature.mgt. [WARNING] Warning building bundle org.wso2.iot:org.wso2.iot.senseme.plugin:bundle:1.0.0-SNAPSHOT : Did not find matching referal for org.wso2.carbon.device.mgt.iot. [WARNING] Warning building bundle org.wso2.iot:org.wso2.iot.senseme.plugin:bundle:1.0.0-SNAPSHOT : Importing packages that are never refered to by any class on the Bundle-Classpath[Jar:dot]: [org.apache.commons.codec.binary, org.wso2.carbon.context, org.wso2.carbon.core, org.wso2.carbon.event.output.adapter.core, org.wso2.carbon.event.output.adapter.core.exception] [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ org.wso2.iot.senseme.plugin --- [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/target/org.wso2.iot.senseme.plugin-1.0.0-SNAPSHOT.jar to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.plugin/1.0.0-SNAPSHOT/org.wso2.iot.senseme.plugin-1.0.0-SNAPSHOT.jar [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/pom.xml to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.plugin/1.0.0-SNAPSHOT/org.wso2.iot.senseme.plugin-1.0.0-SNAPSHOT.pom [INFO] [INFO] --- maven-bundle-plugin:1.4.0:install (default-install) @ org.wso2.iot.senseme.plugin --- [INFO] Parsing file:/home/oem/.m2/repository/repository.xml [INFO] Installing org/wso2/iot/org.wso2.iot.senseme.plugin/1.0.0-SNAPSHOT/org.wso2.iot.senseme.plugin-1.0.0-SNAPSHOT.jar [INFO] Writing OBR metadata [INFO] [INFO] ---------------< org.wso2.iot:org.wso2.iot.senseme.api >---------------- [INFO] Building org.wso2.iot.senseme.api 1.0.0-SNAPSHOT [4/9] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ org.wso2.iot.senseme.api --- [INFO] Deleting /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/target [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.wso2.iot.senseme.api --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.wso2.iot.senseme.api --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ org.wso2.iot.senseme.api --- [INFO] Compiling 8 source files to /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/target/classes [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ org.wso2.iot.senseme.api --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ org.wso2.iot.senseme.api --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.18:test (default-test) @ org.wso2.iot.senseme.api --- [INFO] [INFO] --- maven-war-plugin:2.6:war (default-war) @ org.wso2.iot.senseme.api --- [INFO] Packaging webapp [INFO] Assembling webapp [org.wso2.iot.senseme.api] in [/home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/target/org.wso2.iot.senseme.api-1.0.0-SNAPSHOT] [INFO] Processing war project [INFO] Copying webapp resources [/home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/src/main/webapp] [INFO] Webapp assembled in [51 msecs] [INFO] Building war: /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/target/org.wso2.iot.senseme.api.war [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ org.wso2.iot.senseme.api --- [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/target/org.wso2.iot.senseme.api.war to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.api/1.0.0-SNAPSHOT/org.wso2.iot.senseme.api-1.0.0-SNAPSHOT.war [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/pom.xml to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.api/1.0.0-SNAPSHOT/org.wso2.iot.senseme.api-1.0.0-SNAPSHOT.pom [INFO] [INFO] ----------------< org.wso2.iot:org.wso2.iot.senseme.ui >---------------- [INFO] Building org.wso2.iot.senseme.ui 1.0.0-SNAPSHOT [5/9] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ org.wso2.iot.senseme.ui --- [INFO] Deleting /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/ui/target [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.wso2.iot.senseme.ui --- [INFO] [INFO] --- maven-assembly-plugin:2.5.5:single (create-archive) @ org.wso2.iot.senseme.ui --- [INFO] Reading assembly descriptor: src/assembly/src.xml [WARNING] The assembly descriptor contains a filesystem-root relative reference, which is not cross platform compatible / [INFO] Building zip: /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/ui/target/org.wso2.iot.senseme.ui-1.0.0-SNAPSHOT.zip [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ org.wso2.iot.senseme.ui --- [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/ui/pom.xml to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.ui/1.0.0-SNAPSHOT/org.wso2.iot.senseme.ui-1.0.0-SNAPSHOT.pom [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/ui/target/org.wso2.iot.senseme.ui-1.0.0-SNAPSHOT.zip to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.ui/1.0.0-SNAPSHOT/org.wso2.iot.senseme.ui-1.0.0-SNAPSHOT.zip [INFO] [INFO] ------------< org.wso2.iot:org.wso2.iot.senseme.analytics >------------- [INFO] Building org.wso2.iot.senseme.analytics 1.0.0-SNAPSHOT [6/9] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ org.wso2.iot.senseme.analytics --- [INFO] Deleting /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/target [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (auto-clean) @ org.wso2.iot.senseme.analytics --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.wso2.iot.senseme.analytics --- [INFO] [INFO] --- maven-antrun-plugin:1.6:run (default) @ org.wso2.iot.senseme.analytics --- [INFO] Executing tasks

main:

clean:

zip: [mkdir] Created dir: /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/target/carbonapps [zip] Building zip: /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/target/carbonapps/PIR.car [zip] Building zip: /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/target/carbonapps/TEMPERATURE.car [INFO] Executed tasks [INFO] [INFO] --- maven-assembly-plugin:2.5.5:single (create-archive) @ org.wso2.iot.senseme.analytics --- [INFO] Reading assembly descriptor: src/assembly/src.xml [WARNING] The assembly descriptor contains a filesystem-root relative reference, which is not cross platform compatible / [INFO] Building zip: /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/target/org.wso2.iot.senseme.analytics-1.0.0-SNAPSHOT.zip [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ org.wso2.iot.senseme.analytics --- [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/pom.xml to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.analytics/1.0.0-SNAPSHOT/org.wso2.iot.senseme.analytics-1.0.0-SNAPSHOT.pom [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/target/org.wso2.iot.senseme.analytics-1.0.0-SNAPSHOT.zip to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.analytics/1.0.0-SNAPSHOT/org.wso2.iot.senseme.analytics-1.0.0-SNAPSHOT.zip [INFO] [INFO] --------------------< org.wso2.iot:senseme-feature >-------------------- [INFO] Building senseme-feature 1.0.0-SNAPSHOT [7/9] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ senseme-feature --- [INFO] Deleting /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/target [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ senseme-feature --- [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ senseme-feature --- [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/pom.xml to /home/oem/.m2/repository/org/wso2/iot/senseme-feature/1.0.0-SNAPSHOT/senseme-feature-1.0.0-SNAPSHOT.pom [INFO] [INFO] -------------< org.wso2.iot:org.wso2.iot.senseme.feature >-------------- [INFO] Building org.wso2.iot.senseme.feature 1.0.0-SNAPSHOT [8/9] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ org.wso2.iot.senseme.feature --- [INFO] Deleting /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/target [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.wso2.iot.senseme.feature --- [INFO] [INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ org.wso2.iot.senseme.feature --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/resources [INFO] [INFO] --- maven-dependency-plugin:2.9:unpack (unpack) @ org.wso2.iot.senseme.feature --- [INFO] Configured Artifact: org.wso2.iot:org.wso2.iot.senseme.analytics:1.0.0-SNAPSHOT:zip [INFO] Configured Artifact: org.wso2.iot:org.wso2.iot.senseme.ui:1.0.0-SNAPSHOT:zip [INFO] Unpacking /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/target/org.wso2.iot.senseme.analytics-1.0.0-SNAPSHOT.zip to /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/target/maven-shared-archive-resources/carbonapps with includes "*/" and excludes "" [INFO] Unpacking /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/ui/target/org.wso2.iot.senseme.ui-1.0.0-SNAPSHOT.zip to /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/target/maven-shared-archive-resources/jaggeryapps/devicemgt with includes "*/" and excludes "" [INFO] [INFO] --- maven-dependency-plugin:2.9:copy (copy-jaxrs-war) @ org.wso2.iot.senseme.feature --- [INFO] Configured Artifact: org.wso2.iot:org.wso2.iot.senseme.api:?:war [INFO] Copying org.wso2.iot.senseme.api.war to /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/target/maven-shared-archive-resources/webapps/senseme.war [INFO] [INFO] --- maven-antrun-plugin:1.8:run (create-senseme-plugin-mgt-schema) @ org.wso2.iot.senseme.feature --- [WARNING] Parameter tasks is deprecated, use target instead [INFO] Executing tasks

main: [mkdir] Created dir: /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/target/maven-shared-archive-resources/database [sql] Executing resource: /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/src/main/resources/dbscripts/h2.sql [sql] 1 of 1 SQL statements executed successfully [INFO] Executed tasks [INFO] [INFO] --- carbon-p2-plugin:1.5.3:p2-feature-gen (p2-feature-generation) @ org.wso2.iot.senseme.feature --- [INFO] /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/src/main/resources [INFO] /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/target/maven-shared-archive-resources [INFO] Generating feature manifest [INFO] Generating MANIFEST.MF [INFO] Updating Advice file (p2.inf) [INFO] Copying bundle dependencies [INFO] org.wso2.iot.senseme.plugin:1.0.0.SNAPSHOT [INFO] Generating feature archive: /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/target/org.wso2.iot.senseme.feature-1.0.0-SNAPSHOT.zip [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ org.wso2.iot.senseme.feature --- [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/pom.xml to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.feature/1.0.0-SNAPSHOT/org.wso2.iot.senseme.feature-1.0.0-SNAPSHOT.pom [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/target/org.wso2.iot.senseme.feature-1.0.0-SNAPSHOT.zip to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.feature/1.0.0-SNAPSHOT/org.wso2.iot.senseme.feature-1.0.0-SNAPSHOT.zip [INFO] [INFO] -------< org.wso2.iot.devicemgt-plugins:iot-devicetype-samples >-------- [INFO] Building Creating custom distribution 1.0.0 [9/9] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ iot-devicetype-samples --- [INFO] Deleting /home/oem/wso2iot-3.1.0-update1/samples/target [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ iot-devicetype-samples --- [INFO] [INFO] --- carbon-p2-plugin:1.5.4:p2-repo-gen (2-p2-repo-generation) @ iot-devicetype-samples --- [INFO] Extracting feature org.wso2.iot:org.wso2.iot.senseme.feature [INFO] Copying resources [INFO] /home/oem/wso2iot-3.1.0-update1/samples/target/maven-shared-archive-resources [INFO] Running Equinox P2 Publisher Application for Repository Generation [INFO] Command line: /bin/sh -c cd /home/oem/wso2iot-3.1.0-update1/samples && /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -jar /home/oem/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar -nosplash -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -source /home/oem/wso2iot-3.1.0-update1/samples/target/tmp.1641885666229/featureExtract -metadataRepository file:/home/oem/wso2iot-3.1.0-update1/samples/p2-repo -metadataRepositoryName iot-devicetype-samples -artifactRepository file:/home/oem/wso2iot-3.1.0-update1/samples/p2-repo -artifactRepositoryName iot-devicetype-samples -publishArtifacts -publishArtifactRepository -compress -append Generating metadata for .. Generation completed with success [0 seconds]. [INFO] Running Equinox P2 Category Publisher Application for the Generated Repository [INFO] [INFO] --- carbon-p2-plugin:1.5.4:p2-profile-gen (default-feature-install) @ iot-devicetype-samples --- [INFO] Running Equinox P2 Director Application [INFO] Command line: /bin/sh -c cd /home/oem/wso2iot-3.1.0-update1/samples && /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -jar /home/oem/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar -nosplash -application org.eclipse.equinox.p2.director -metadataRepository file:/home/oem/wso2iot-3.1.0-update1/samples/p2-repo -artifactRepository file:/home/oem/wso2iot-3.1.0-update1/samples/p2-repo -profileProperties org.eclipse.update.install.features=true -installIU org.wso2.iot.senseme.feature.group/1.0.0.SNAPSHOT, -bundlepool /home/oem/wso2iot-3.1.0-update1/samples/../core/repository/components -shared /home/oem/wso2iot-3.1.0-update1/samples/../core/repository/components/p2 -destination /home/oem/wso2iot-3.1.0-update1/samples/../core/repository/components/default -profile default -roaming Installing org.wso2.iot.senseme.feature.group 1.0.0.SNAPSHOT. Installation failed. Cannot complete the install because one or more required items could not be found. Software being installed: org.wso2.iot.senseme.feature 1.0.0.SNAPSHOT (org.wso2.iot.senseme.feature.group 1.0.0.SNAPSHOT) Missing requirement: org.wso2.iot.senseme.feature 1.0.0.SNAPSHOT (org.wso2.iot.senseme.feature.group 1.0.0.SNAPSHOT) requires 'org.wso2.carbon.device.mgt.server.feature.group [2.0.10,2.1.0)' but it could not be found Application failed, log file location: /home/oem/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1641885669114.log

[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] senseme 1.0.0-SNAPSHOT ............................. SUCCESS [ 0.985 s] [INFO] senseme-component 1.0.0-SNAPSHOT ................... SUCCESS [ 0.065 s] [INFO] org.wso2.iot.senseme.plugin 1.0.0-SNAPSHOT ......... SUCCESS [ 14.640 s] [INFO] org.wso2.iot.senseme.api 1.0.0-SNAPSHOT ............ SUCCESS [ 7.520 s] [INFO] org.wso2.iot.senseme.ui 1.0.0-SNAPSHOT ............. SUCCESS [ 0.990 s] [INFO] org.wso2.iot.senseme.analytics 1.0.0-SNAPSHOT ...... SUCCESS [ 0.608 s] [INFO] senseme-feature 1.0.0-SNAPSHOT ..................... SUCCESS [ 0.045 s] [INFO] org.wso2.iot.senseme.feature 1.0.0-SNAPSHOT ........ SUCCESS [ 7.199 s] [INFO] Creating custom distribution 1.0.0 ................. FAILURE [ 4.916 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 37.840 s [INFO] Finished at: 2022-01-11T14:21:10+07:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.4:p2-profile-gen (default-feature-install) on project iot-devicetype-samples: P2 publisher return code was 13 -> [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 -rf :iot-devicetype-samples oem@HP-PavilionG4:~/wso2iot-3.1.0-update1/samples$

zaidrabeh commented 2 years ago

Description: I have problem in installation senseme (sample deployment) please help me :")

Suggested Labels: wso2,senseme,sample

Affected Product Version: wso2 version 3.1.0

oem@HP-PavilionG4:~/wso2iot-3.1.0-update1/samples$ mvn clean install -f SenseMe-deployer.xml [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.iot:org.wso2.iot.senseme.plugin:bundle:1.0.0-SNAPSHOT [WARNING] 'artifactId' contains an expression but should be a constant. @ org.wso2.iot:${project-base-package}.plugin:1.0.0-SNAPSHOT, /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/pom.xml, line 31, column 17 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.iot:org.wso2.iot.senseme.api:war:1.0.0-SNAPSHOT [WARNING] 'artifactId' contains an expression but should be a constant. @ org.wso2.iot:${project-base-package}.api:1.0.0-SNAPSHOT, /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/pom.xml, line 30, column 14 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.iot:org.wso2.iot.senseme.ui:pom:1.0.0-SNAPSHOT [WARNING] 'artifactId' contains an expression but should be a constant. @ org.wso2.iot:${project-base-package}.ui:1.0.0-SNAPSHOT, /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/ui/pom.xml, line 29, column 17 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.iot:org.wso2.iot.senseme.analytics:pom:1.0.0-SNAPSHOT [WARNING] 'artifactId' contains an expression but should be a constant. @ org.wso2.iot:${groupId}.senseme.analytics:1.0.0-SNAPSHOT, /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/pom.xml, line 28, column 17 [WARNING] The expression ${groupId} is deprecated. Please use ${project.groupId} instead. @ org.wso2.iot:${groupId}.senseme.analytics:1.0.0-SNAPSHOT, /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/pom.xml [WARNING] The expression ${groupId} is deprecated. Please use ${project.groupId} instead. [WARNING] The expression ${groupId} is deprecated. Please use ${project.groupId} instead. [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.iot:senseme-component:pom:1.0.0-SNAPSHOT [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions:jar -> duplicate declaration of version ${carbon.device.mgt.version} @ org.wso2.iot:senseme:1.0.0-SNAPSHOT, /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/pom.xml, line 274, column 25 [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions:jar -> duplicate declaration of version ${carbon.device.mgt.version} @ org.wso2.iot:senseme:1.0.0-SNAPSHOT, /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/pom.xml, line 299, column 25 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.iot:org.wso2.iot.senseme.feature:pom:1.0.0-SNAPSHOT [WARNING] 'artifactId' contains an expression but should be a constant. @ org.wso2.iot:${project-base-package}.feature:1.0.0-SNAPSHOT, /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/pom.xml, line 28, column 17 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.iot:senseme:pom:1.0.0-SNAPSHOT [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions:jar -> duplicate declaration of version ${carbon.device.mgt.version} @ line 274, column 25 [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.extensions:jar -> duplicate declaration of version ${carbon.device.mgt.version} @ line 299, column 25 [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.iot.devicemgt-plugins:iot-devicetype-samples:pom:1.0.0 [WARNING] 'parent.relativePath' of POM org.wso2.iot.devicemgt-plugins:iot-devicetype-samples:1.0.0 (/home/oem/wso2iot-3.1.0-update1/samples/SenseMe-deployer.xml) points at org.wso2.iot:wso2iot-parent instead of org.wso2:wso2, please verify your project structure @ line 21, column 13 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] senseme [pom] [INFO] senseme-component [pom] [INFO] org.wso2.iot.senseme.plugin [bundle] [INFO] org.wso2.iot.senseme.api [war] [INFO] org.wso2.iot.senseme.ui [pom] [INFO] org.wso2.iot.senseme.analytics [pom] [INFO] senseme-feature [pom] [INFO] org.wso2.iot.senseme.feature [pom] [INFO] Creating custom distribution [pom] [INFO] [INFO] ------------------------< org.wso2.iot:senseme >------------------------ [INFO] Building senseme 1.0.0-SNAPSHOT [1/9] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ senseme --- [INFO] Deleting /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/target [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ senseme --- [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ senseme --- [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/pom.xml to /home/oem/.m2/repository/org/wso2/iot/senseme/1.0.0-SNAPSHOT/senseme-1.0.0-SNAPSHOT.pom [INFO] [INFO] -------------------< org.wso2.iot:senseme-component >------------------- [INFO] Building senseme-component 1.0.0-SNAPSHOT [2/9] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ senseme-component --- [INFO] Deleting /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/target [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ senseme-component --- [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ senseme-component --- [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/pom.xml to /home/oem/.m2/repository/org/wso2/iot/senseme-component/1.0.0-SNAPSHOT/senseme-component-1.0.0-SNAPSHOT.pom [INFO] [INFO] --------------< org.wso2.iot:org.wso2.iot.senseme.plugin >-------------- [INFO] Building org.wso2.iot.senseme.plugin 1.0.0-SNAPSHOT [3/9] [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ org.wso2.iot.senseme.plugin --- [INFO] Deleting /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/target [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.wso2.iot.senseme.plugin --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.wso2.iot.senseme.plugin --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ org.wso2.iot.senseme.plugin --- [INFO] Compiling 10 source files to /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/target/classes [INFO] [INFO] --- maven-scr-plugin:1.7.2:scr (generate-scr-scrdescriptor) @ org.wso2.iot.senseme.plugin --- [WARNING] Class org.wso2.iot.senseme.plugin.internal.ServiceComponent is using deprecated javadoc tags at file:/home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/src/main/java/org/wso2/iot/senseme/plugin/internal/ServiceComponent.java:34 [WARNING] It is highly recommended to fix these problems, as future versions might not support these features anymore. [INFO] Generating 2 MetaType Descriptors to /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/target/scr-plugin-generated/OSGI-INF/metatype/metatype.xml [INFO] Writing abstract service descriptor /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/target/scr-plugin-generated/OSGI-INF/scr-plugin/scrinfo.xml with 1 entries. [INFO] Generating 1 Service Component Descriptors to /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/target/scr-plugin-generated/OSGI-INF/serviceComponents.xml [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ org.wso2.iot.senseme.plugin --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ org.wso2.iot.senseme.plugin --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.18:test (default-test) @ org.wso2.iot.senseme.plugin --- [INFO] [INFO] --- maven-bundle-plugin:1.4.0:bundle (default-bundle) @ org.wso2.iot.senseme.plugin --- [WARNING] Warning building bundle org.wso2.iot:org.wso2.iot.senseme.plugin:bundle:1.0.0-SNAPSHOT : Did not find matching referal for org.wso2.carbon.device.mgt.extensions.feature.mgt. [WARNING] Warning building bundle org.wso2.iot:org.wso2.iot.senseme.plugin:bundle:1.0.0-SNAPSHOT : Did not find matching referal for org.wso2.carbon.device.mgt.iot. [WARNING] Warning building bundle org.wso2.iot:org.wso2.iot.senseme.plugin:bundle:1.0.0-SNAPSHOT : Importing packages that are never refered to by any class on the Bundle-Classpath[Jar:dot]: [org.apache.commons.codec.binary, org.wso2.carbon.context, org.wso2.carbon.core, org.wso2.carbon.event.output.adapter.core, org.wso2.carbon.event.output.adapter.core.exception] [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ org.wso2.iot.senseme.plugin --- [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/target/org.wso2.iot.senseme.plugin-1.0.0-SNAPSHOT.jar to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.plugin/1.0.0-SNAPSHOT/org.wso2.iot.senseme.plugin-1.0.0-SNAPSHOT.jar [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/plugin/pom.xml to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.plugin/1.0.0-SNAPSHOT/org.wso2.iot.senseme.plugin-1.0.0-SNAPSHOT.pom [INFO] [INFO] --- maven-bundle-plugin:1.4.0:install (default-install) @ org.wso2.iot.senseme.plugin --- [INFO] Parsing file:/home/oem/.m2/repository/repository.xml [INFO] Installing org/wso2/iot/org.wso2.iot.senseme.plugin/1.0.0-SNAPSHOT/org.wso2.iot.senseme.plugin-1.0.0-SNAPSHOT.jar [INFO] Writing OBR metadata [INFO] [INFO] ---------------< org.wso2.iot:org.wso2.iot.senseme.api >---------------- [INFO] Building org.wso2.iot.senseme.api 1.0.0-SNAPSHOT [4/9] [INFO] --------------------------------[ war ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ org.wso2.iot.senseme.api --- [INFO] Deleting /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/target [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.wso2.iot.senseme.api --- [INFO] [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ org.wso2.iot.senseme.api --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/src/main/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ org.wso2.iot.senseme.api --- [INFO] Compiling 8 source files to /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/target/classes [INFO] [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ org.wso2.iot.senseme.api --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/src/test/resources [INFO] Copying 3 resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ org.wso2.iot.senseme.api --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.18:test (default-test) @ org.wso2.iot.senseme.api --- [INFO] [INFO] --- maven-war-plugin:2.6:war (default-war) @ org.wso2.iot.senseme.api --- [INFO] Packaging webapp [INFO] Assembling webapp [org.wso2.iot.senseme.api] in [/home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/target/org.wso2.iot.senseme.api-1.0.0-SNAPSHOT] [INFO] Processing war project [INFO] Copying webapp resources [/home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/src/main/webapp] [INFO] Webapp assembled in [51 msecs] [INFO] Building war: /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/target/org.wso2.iot.senseme.api.war [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ org.wso2.iot.senseme.api --- [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/target/org.wso2.iot.senseme.api.war to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.api/1.0.0-SNAPSHOT/org.wso2.iot.senseme.api-1.0.0-SNAPSHOT.war [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/api/pom.xml to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.api/1.0.0-SNAPSHOT/org.wso2.iot.senseme.api-1.0.0-SNAPSHOT.pom [INFO] [INFO] ----------------< org.wso2.iot:org.wso2.iot.senseme.ui >---------------- [INFO] Building org.wso2.iot.senseme.ui 1.0.0-SNAPSHOT [5/9] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ org.wso2.iot.senseme.ui --- [INFO] Deleting /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/ui/target [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.wso2.iot.senseme.ui --- [INFO] [INFO] --- maven-assembly-plugin:2.5.5:single (create-archive) @ org.wso2.iot.senseme.ui --- [INFO] Reading assembly descriptor: src/assembly/src.xml [WARNING] The assembly descriptor contains a filesystem-root relative reference, which is not cross platform compatible / [INFO] Building zip: /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/ui/target/org.wso2.iot.senseme.ui-1.0.0-SNAPSHOT.zip [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ org.wso2.iot.senseme.ui --- [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/ui/pom.xml to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.ui/1.0.0-SNAPSHOT/org.wso2.iot.senseme.ui-1.0.0-SNAPSHOT.pom [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/ui/target/org.wso2.iot.senseme.ui-1.0.0-SNAPSHOT.zip to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.ui/1.0.0-SNAPSHOT/org.wso2.iot.senseme.ui-1.0.0-SNAPSHOT.zip [INFO] [INFO] ------------< org.wso2.iot:org.wso2.iot.senseme.analytics >------------- [INFO] Building org.wso2.iot.senseme.analytics 1.0.0-SNAPSHOT [6/9] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ org.wso2.iot.senseme.analytics --- [INFO] Deleting /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/target [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (auto-clean) @ org.wso2.iot.senseme.analytics --- [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.wso2.iot.senseme.analytics --- [INFO] [INFO] --- maven-antrun-plugin:1.6:run (default) @ org.wso2.iot.senseme.analytics --- [INFO] Executing tasks

main:

clean:

zip: [mkdir] Created dir: /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/target/carbonapps [zip] Building zip: /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/target/carbonapps/PIR.car [zip] Building zip: /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/target/carbonapps/TEMPERATURE.car [INFO] Executed tasks [INFO] [INFO] --- maven-assembly-plugin:2.5.5:single (create-archive) @ org.wso2.iot.senseme.analytics --- [INFO] Reading assembly descriptor: src/assembly/src.xml [WARNING] The assembly descriptor contains a filesystem-root relative reference, which is not cross platform compatible / [INFO] Building zip: /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/target/org.wso2.iot.senseme.analytics-1.0.0-SNAPSHOT.zip [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ org.wso2.iot.senseme.analytics --- [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/pom.xml to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.analytics/1.0.0-SNAPSHOT/org.wso2.iot.senseme.analytics-1.0.0-SNAPSHOT.pom [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/target/org.wso2.iot.senseme.analytics-1.0.0-SNAPSHOT.zip to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.analytics/1.0.0-SNAPSHOT/org.wso2.iot.senseme.analytics-1.0.0-SNAPSHOT.zip [INFO] [INFO] --------------------< org.wso2.iot:senseme-feature >-------------------- [INFO] Building senseme-feature 1.0.0-SNAPSHOT [7/9] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ senseme-feature --- [INFO] Deleting /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/target [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ senseme-feature --- [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ senseme-feature --- [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/pom.xml to /home/oem/.m2/repository/org/wso2/iot/senseme-feature/1.0.0-SNAPSHOT/senseme-feature-1.0.0-SNAPSHOT.pom [INFO] [INFO] -------------< org.wso2.iot:org.wso2.iot.senseme.feature >-------------- [INFO] Building org.wso2.iot.senseme.feature 1.0.0-SNAPSHOT [8/9] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ org.wso2.iot.senseme.feature --- [INFO] Deleting /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/target [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ org.wso2.iot.senseme.feature --- [INFO] [INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ org.wso2.iot.senseme.feature --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/resources [INFO] [INFO] --- maven-dependency-plugin:2.9:unpack (unpack) @ org.wso2.iot.senseme.feature --- [INFO] Configured Artifact: org.wso2.iot:org.wso2.iot.senseme.analytics:1.0.0-SNAPSHOT:zip [INFO] Configured Artifact: org.wso2.iot:org.wso2.iot.senseme.ui:1.0.0-SNAPSHOT:zip [INFO] Unpacking /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/analytics/target/org.wso2.iot.senseme.analytics-1.0.0-SNAPSHOT.zip to /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/target/maven-shared-archive-resources/carbonapps with includes "*/" and excludes "" [INFO] Unpacking /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/component/ui/target/org.wso2.iot.senseme.ui-1.0.0-SNAPSHOT.zip to /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/target/maven-shared-archive-resources/jaggeryapps/devicemgt with includes "*/" and excludes "" [INFO] [INFO] --- maven-dependency-plugin:2.9:copy (copy-jaxrs-war) @ org.wso2.iot.senseme.feature --- [INFO] Configured Artifact: org.wso2.iot:org.wso2.iot.senseme.api:?:war [INFO] Copying org.wso2.iot.senseme.api.war to /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/target/maven-shared-archive-resources/webapps/senseme.war [INFO] [INFO] --- maven-antrun-plugin:1.8:run (create-senseme-plugin-mgt-schema) @ org.wso2.iot.senseme.feature --- [WARNING] Parameter tasks is deprecated, use target instead [INFO] Executing tasks

main: [mkdir] Created dir: /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/target/maven-shared-archive-resources/database [sql] Executing resource: /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/src/main/resources/dbscripts/h2.sql [sql] 1 of 1 SQL statements executed successfully [INFO] Executed tasks [INFO] [INFO] --- carbon-p2-plugin:1.5.3:p2-feature-gen (p2-feature-generation) @ org.wso2.iot.senseme.feature --- [INFO] /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/src/main/resources [INFO] /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/target/maven-shared-archive-resources [INFO] Generating feature manifest [INFO] Generating MANIFEST.MF [INFO] Updating Advice file (p2.inf) [INFO] Copying bundle dependencies [INFO] org.wso2.iot.senseme.plugin:1.0.0.SNAPSHOT [INFO] Generating feature archive: /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/target/org.wso2.iot.senseme.feature-1.0.0-SNAPSHOT.zip [INFO] [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ org.wso2.iot.senseme.feature --- [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/pom.xml to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.feature/1.0.0-SNAPSHOT/org.wso2.iot.senseme.feature-1.0.0-SNAPSHOT.pom [INFO] Installing /home/oem/wso2iot-3.1.0-update1/samples/SenseMe/feature/feature/target/org.wso2.iot.senseme.feature-1.0.0-SNAPSHOT.zip to /home/oem/.m2/repository/org/wso2/iot/org.wso2.iot.senseme.feature/1.0.0-SNAPSHOT/org.wso2.iot.senseme.feature-1.0.0-SNAPSHOT.zip [INFO] [INFO] -------< org.wso2.iot.devicemgt-plugins:iot-devicetype-samples >-------- [INFO] Building Creating custom distribution 1.0.0 [9/9] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.6.1:clean (default-clean) @ iot-devicetype-samples --- [INFO] Deleting /home/oem/wso2iot-3.1.0-update1/samples/target [INFO] [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ iot-devicetype-samples --- [INFO] [INFO] --- carbon-p2-plugin:1.5.4:p2-repo-gen (2-p2-repo-generation) @ iot-devicetype-samples --- [INFO] Extracting feature org.wso2.iot:org.wso2.iot.senseme.feature [INFO] Copying resources [INFO] /home/oem/wso2iot-3.1.0-update1/samples/target/maven-shared-archive-resources [INFO] Running Equinox P2 Publisher Application for Repository Generation [INFO] Command line: /bin/sh -c cd /home/oem/wso2iot-3.1.0-update1/samples && /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -jar /home/oem/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar -nosplash -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -source /home/oem/wso2iot-3.1.0-update1/samples/target/tmp.1641885666229/featureExtract -metadataRepository file:/home/oem/wso2iot-3.1.0-update1/samples/p2-repo -metadataRepositoryName iot-devicetype-samples -artifactRepository file:/home/oem/wso2iot-3.1.0-update1/samples/p2-repo -artifactRepositoryName iot-devicetype-samples -publishArtifacts -publishArtifactRepository -compress -append Generating metadata for .. Generation completed with success [0 seconds]. [INFO] Running Equinox P2 Category Publisher Application for the Generated Repository [INFO] [INFO] --- carbon-p2-plugin:1.5.4:p2-profile-gen (default-feature-install) @ iot-devicetype-samples --- [INFO] Running Equinox P2 Director Application [INFO] Command line: /bin/sh -c cd /home/oem/wso2iot-3.1.0-update1/samples && /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java -jar /home/oem/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/plugins/org.eclipse.equinox.launcher_1.2.0.v20110725-1610.jar -nosplash -application org.eclipse.equinox.p2.director -metadataRepository file:/home/oem/wso2iot-3.1.0-update1/samples/p2-repo -artifactRepository file:/home/oem/wso2iot-3.1.0-update1/samples/p2-repo -profileProperties org.eclipse.update.install.features=true -installIU org.wso2.iot.senseme.feature.group/1.0.0.SNAPSHOT, -bundlepool /home/oem/wso2iot-3.1.0-update1/samples/../core/repository/components -shared /home/oem/wso2iot-3.1.0-update1/samples/../core/repository/components/p2 -destination /home/oem/wso2iot-3.1.0-update1/samples/../core/repository/components/default -profile default -roaming Installing org.wso2.iot.senseme.feature.group 1.0.0.SNAPSHOT. Installation failed. Cannot complete the install because one or more required items could not be found. Software being installed: org.wso2.iot.senseme.feature 1.0.0.SNAPSHOT (org.wso2.iot.senseme.feature.group 1.0.0.SNAPSHOT) Missing requirement: org.wso2.iot.senseme.feature 1.0.0.SNAPSHOT (org.wso2.iot.senseme.feature.group 1.0.0.SNAPSHOT) requires 'org.wso2.carbon.device.mgt.server.feature.group [2.0.10,2.1.0)' but it could not be found Application failed, log file location: /home/oem/.m2/repository/org/eclipse/tycho/tycho-p2-runtime/0.13.0/eclipse/configuration/1641885669114.log

[INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] [INFO] senseme 1.0.0-SNAPSHOT ............................. SUCCESS [ 0.985 s] [INFO] senseme-component 1.0.0-SNAPSHOT ................... SUCCESS [ 0.065 s] [INFO] org.wso2.iot.senseme.plugin 1.0.0-SNAPSHOT ......... SUCCESS [ 14.640 s] [INFO] org.wso2.iot.senseme.api 1.0.0-SNAPSHOT ............ SUCCESS [ 7.520 s] [INFO] org.wso2.iot.senseme.ui 1.0.0-SNAPSHOT ............. SUCCESS [ 0.990 s] [INFO] org.wso2.iot.senseme.analytics 1.0.0-SNAPSHOT ...... SUCCESS [ 0.608 s] [INFO] senseme-feature 1.0.0-SNAPSHOT ..................... SUCCESS [ 0.045 s] [INFO] org.wso2.iot.senseme.feature 1.0.0-SNAPSHOT ........ SUCCESS [ 7.199 s] [INFO] Creating custom distribution 1.0.0 ................. FAILURE [ 4.916 s] [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 37.840 s [INFO] Finished at: 2022-01-11T14:21:10+07:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.4:p2-profile-gen (default-feature-install) on project iot-devicetype-samples: P2 publisher return code was 13 -> [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 -rf :iot-devicetype-samples oem@HP-PavilionG4:~/wso2iot-3.1.0-update1/samples$

Hello, I've had a similar problem, try this command : mvn dependency:tree