You can use Sourcegraph with JVM dependencies from any Maven repository, including Maven Central, Sonatype, or Artifactory.
This integration makes it possible to search and navigate through the source code of the JDK (Java standard library) or published Java, Scala, and Kotlin libraries (for example, com.google.guava:guava:27.0-jre
).
Feature | Supported? |
---|---|
Repository syncing | ✅ |
Repository permissions | ❌ |
Multiple JVM dependencies code hosts | ❌ |
See the "JVM dependencies" documentation.
Site admins can add JVM packages to Sourcegraph.
See the issue sourcegraph#32461 for more details about this limitation. In most situations, it's possible to work around this limitation by configurating multiple Maven repositories to the same JVM dependency code host.