SYNAXON / GraphiteReceiver

A vmware statsfeeder receiver to export the stats directly into graphite.
Apache License 2.0
20 stars 7 forks source link

] The POM for com.vmware.tools:statsfeeder-core:jar:4.1 is missing, no dependency information available #14

Open exbane opened 9 years ago

exbane commented 9 years ago

Not sure if this is the right place for this.. I'm attempting to deploy the stats feeder graphite tool and I'm hitting the following error when I run the mvn package command from within the GraphiteReceiver directory. Thoughts? It looks as though the files are no longer in the Maven Repository..

[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building statsfeeder-GraphiteReceiver 1.0-IPM-3.2 [INFO] ------------------------------------------------------------------------ [WARNING] The POM for com.vmware.tools:statsfeeder-core:jar:4.1 is missing, no dependency information available [WARNING] The POM for com.vmware.tools:statsfeeder-common:jar:4.1 is missing, no dependency information available [WARNING] The POM for com.vmware.tools:vsphere-sdk:jar:4.1 is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.453 s [INFO] Finished at: 2015-05-14T11:31:40-04:00 [INFO] Final Memory: 4M/117M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project statsfeeder-GraphiteReceiver: Could not resolve dependencies for project de.synaxon:statsfeeder-GraphiteReceiver:jar:1.0-IPM-3.2: Failure to find com.vmware.tools:vsphere-sdk:jar:4.1 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central 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

lesaux commented 9 years ago

You need to copy vsphere-sdk-4.1.jar as well:

cp ../statsfeeder/lib/statsfeeder-common-4.1.jar ~/.m2/repository/com/vmware/tools/statsfeeder-common/4.1/
cp ../statsfeeder/lib/statsfeeder-core-4.1.jar ~/.m2/repository/com/vmware/tools/statsfeeder-core/4.1/
cp ../statsfeeder/lib/vsphere-sdk-4.1.jar ~/.m2/repository/com/vmware/tools/vsphere-sdk/4.1/
exbane commented 9 years ago

Excellent - i'll try that out.. Thank you.

keith4 commented 8 years ago

Copying vsphere-sdk-4.1.jar as suggested allowed the maven build to succeed, thank you.

alexandruionica commented 8 years ago

please also add the above instruction to https://github.com/SYNAXON/GraphiteReceiver/blob/master/README.md in order to prevent further issues. Thank you

Papalloon commented 7 years ago

Please, could you also add the third line (cp ../statsfeeder/lib/vsphere-sdk-4.1.jar ~/.m2/repository/com/vmware/tools/vsphere-sdk/4.1/) to https://github.com/SYNAXON/GraphiteReceiver/blob/master/README.md in order to prevent further issues. Thank you