Failed to execute goal on project mps-energy-agent

Follow

Originally posted by Pillar on 2014-01-16 02:40:39

I added Cumulocity P2 to my settings.xml. and type mvn clean install -P cumulocity to built. but it appear some errors again.

[INFO]
[INFO] ————————————————————————
[INFO] Building mps-energy-agent 4.7.0
[INFO] ————————————————————————
[WARNING] The POM for com.nsn.cumulocity.clients-java:java-client:jar:4.7.0 is missing, no dependency information available
[WARNING] The POM for com.nsn.cumulocity.model:device-capability-model:jar:4.7.0 is missing, no dependency information available
[INFO] ————————————————————————
[INFO] Reactor Summary:
[INFO]
[INFO] cumulocity-examples …………………………. SUCCESS [3.493s]
[INFO] hello-agent ………………………………… SUCCESS [17.992s]
[INFO] Cumulocity :: Agents :: MPS :: MPS Device Emulator SUCCESS [3:50.437s]
[INFO] Cumulocity :: Agents :: MPS :: MPS Device Emulator RPM SUCCESS [28.921s]
[INFO] mps-energy-agent ……………………………. FAILURE [1.503s]
[INFO] kontron-shock-agent …………………………. SKIPPED
[INFO] ————————————————————————
[INFO] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Total time: 5:38.133s
[INFO] Finished at: Wed Jan 15 00:58:00 CST 2014
[INFO] Final Memory: 16M/65M
[INFO] ————————————————————————
[ERROR] Failed to execute goal on project mps-energy-agent: Could not resolve dependencies for project com.cumulocity.example:mps-energy-agent:jar:4.7.0: The following artifacts could not be resolved: com.nsn.cumulocity.clients-java:java-client:jar:4.7.0, com.nsn.cumulocity.model:device-capability-model:jar:4.7.0: Failure to find com.nsn.cumulocity.clients-java:java-client:jar:4.7.0 in http://resources.cumulocity.com/p2/repository">http://resources.cumulocity.com/p2/repository was cached in the local repository, resolution will not be reattempted until the update interval of cumulocity-sdk-repo has elapsed or updates are forced -> [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/DependencyResolutionException">http://cwiki.apache.org/confluence/disp … nException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :mps-energy-agent
what is wrong ? how to reslove it ?
Have more questions? Submit a request

Comments