What is the maven repository for jconn4.jar?

Andrew Sumner picture Andrew Sumner · Oct 14, 2014 · Viewed 32.9k times · Source

jConn3 is the only one I can find.

'com.sybase.jdbc3.jdbc:jconn3:6.05'

Answer

Stephen C picture Stephen C · Oct 14, 2014

My research tells me that jconn3.jar and jconn4.jar are part of Sybase jConnect. In order to download (at least) the latest version of jConnect, you need to "register" an account ... and maybe do other stuff like a click-through license. (I'm not giving them my email address just to find out.)

Based on that, I suspect that the copy of jconn3.jar you can see in Maven Central is unauthorized, and should not be there.

My advice would be to:

  1. Register for an account on the Sybase site.
  2. Download the JAR.
  3. Add a copy of the JAR with a minimal POM file to either your local repo, or your private institutional repo.
  4. Don't export it without reading the jConnect license carefully first to check that it is permitted.

If you are providing your software to 3rd parties, then check what the jConnect license says about this first.

If you intend to make your software available in a public Maven repo, you may need provide instructions on how downstream projects should deal with the jconn.jar problem.


The other approach might be to ask Sybase / SAP for permission to upload the JAR to Maven Central.

(I don't rate your chances though. The fact that they have put the downloads behind a "signup" wall suggests that they want to track who is using jConnect for "business reasons". Convincing them to change their strategy could be difficult.)


UPDATE - According to @Hlex's 2015 research (see below), the software is available for free from the SAP Store. However, you still need to sign up for an account.