-
Notifications
You must be signed in to change notification settings - Fork 22
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
Compile dependency com.opengamma.external.json:json is not available in maven central repository #11
Comments
Hi, You need to include the opengamma maven repository. From the POM: <repositories>
<repository>
<id>og-public</id>
<name>OG Public</name>
<url>http://maven.opengamma.com/nexus/content/groups/public</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>og-public</id>
<name>OG Public</name>
<url>http://maven.opengamma.com/nexus/content/groups/public</url>
</pluginRepository>
</pluginRepositories> I'm going to try and get rid of them eventually and switch to exclusively using libraries in Maven central, but if you add these you should be able to build fine. |
What Jim said, with some Gradle flavor:
For completeness, here's all the magic text we need in our
|
I hope you don't mind but I've added this info to the README, many thanks for sharing! |
I'm now getting a "Bad Gateway" from maven.opengamma.com. Any ideas if it's gone for good or just a temporary problem? |
I've just tried to replace their json library with the original one (http://mvnrepository.com/artifact/org.json/json) and it builds and tests fine.. any specific reason why you used theirs? |
Hi Mirko, Sorry you've been having trouble. I think OpenGamma's artifactory repo is Cheers, Jim On 2 September 2016 at 13:39, Mirko Stocker notifications@github.com
|
I didn't realize they had this in their license, thanks for making me aware! And yes, it's up again. Thanks! |
Hello. I've tried to use your library in my application with Gradle build system (with maven central repository) but I got this error during compilation:
Could not resolve all dependencies for configuration ':app-core:compile'.
I've checked, and, indeed, there isn't no library with groupId "com.opengamma.external.json" available in maven central: http://search.maven.org/#search%7Cga%7C1%7Ccom.opengamma.external.json
Also: http://mvnrepository.com/artifact/com.opengamma.external.json/json/1.0.0.v20101106
The text was updated successfully, but these errors were encountered: