Hi, I followed the documentation [1] for creating a new device type in IoT server 1.0.0-Alpha I received the following error when tried to execute mvn clean install -f device-deployer.xml
[ERROR] Failed to execute goal org.wso2.maven:carbon-p2-plugin:1.5.3:p2-repo-gen (2-p2-repo-generation) on project devicetype-feature-installation: Error occured when processing the Feature Artifact: org.wso2.carbon:org.wso2.carbon.org.wso2.carbon.helloworld.feature:1.0.0-SNAPSHOT: ERROR: Failure to find org.wso2.carbon:org.wso2.carbon.org.wso2.carbon.helloworld.feature:zip:1.0.0-SNAPSHOT in http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in the local repository, resolution will not be reattempted until the update interval of wso2-nexus has elapsed or updates are forced [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=org.wso2.carbon -DartifactId=org.wso2.carbon.org.wso2.carbon.helloworld.feature -Dversion=1.0.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon -DartifactId=org.wso2.carbon.org.wso2.carbon.helloworld.feature -Dversion=1.0.0-SNAPSHOT -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] [ERROR] org.wso2.carbon:org.wso2.carbon.org.wso2.carbon.helloworld.feature:zip:1.0.0-SNAPSHOT [ERROR] [ERROR] from the specified remote repositories: [ERROR] wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/, releases=true, snapshots=true), [ERROR] wso2.releases ( http://maven.wso2.org/nexus/content/repositories/releases/, releases=true, snapshots=true), [ERROR] wso2.snapshots ( http://maven.wso2.org/nexus/content/repositories/snapshots/, releases=false, snapshots=true), [ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false) [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :devicetype-feature-installation [1] https://docs.wso2.com/display/IoTS100/Creating+a+New+Device+Type Regards, -- Yasith Lokuge Software Engineer M: +94 7713 53682 | E: yas...@wso2telco.com W: www.yasith.me WSO2.Telco Inc. Level 4, 20, Palm Grove, Colombo 03 Sri Lanka. www.wso2telco.com
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev