Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unsolved Dependacy error #74

Open
Lauren-Buchholz-Moxe opened this issue Mar 24, 2020 · 1 comment
Open

Unsolved Dependacy error #74

Lauren-Buchholz-Moxe opened this issue Mar 24, 2020 · 1 comment

Comments

@Lauren-Buchholz-Moxe
Copy link

Probably a stupid user issue, but I am seeing this when I try and run the ant job.

generatePackageXmlAndBuildXml:
[exec] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
[exec] General error during conversion: Error grabbing Grapes -- [unresolved dependency: com.force.api#force-metadata-api;48.1.0: not found, unresolved dependency: com.force.api#force-partner-api;48.1.0: not found]
[exec]
[exec] java.lang.RuntimeException: Error grabbing Grapes -- [unresolved dependency: com.force.api#force-metadata-api;48.1.0: not found, unresolved dependency: com.force.api#force-partner-api;48.1.0: not found]

Any suggestions on where to look to debug?

@alan-morey
Copy link
Owner

Both jars exist in the Maven Central repository

https://search.maven.org/artifact/com.force.api/force-metadata-api/48.1.0/jar
https://search.maven.org/artifact/com.force.api/force-partner-api/48.1.0/jar

You could try removing local repository caches for maven and groovy grapes:

Linux/Mac

rm -rf ~/.m2/repository ~/.groovy/grapes

Windows

del /s "%USERPROFILE%/.m2/repository/*" "%USERPROFILE%/.groovy/grapes/*"

Then try running ant again to see if dependencies can be resolved.

Other things to consider

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants