I am trying to build the source, and am getting the following error:

Downloading: http://repo1.maven.org/maven2/com/microsoft/sqljdbc/4.0/sqljdbc-4.0.jar
Downloading: http://repo1.maven.org/maven2/com/oracle/ojdbc6/12.1.0.2/ojdbc6-12.1.0.2.jar
[INFO] Unable to find resource 'com.microsoft:sqljdbc:jar:4.0' in repository central (http://repo1.maven.org/maven2)
[INFO] Unable to find resource 'com.oracle:ojdbc6:jar:12.1.0.2' in repository central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) com.microsoft:sqljdbc:jar:4.0

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=com.microsoft -DartifactId=sqljdbc -Dversion=4.0 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=com.microsoft -DartifactId=sqljdbc -Dversion=4.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.joget:wflow-jdbc:jar:4.0-SNAPSHOT
        2) com.microsoft:sqljdbc:jar:4.0

2) com.oracle:ojdbc6:jar:12.1.0.2

  Try downloading the file manually from the project website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=12.1.0.2 -Dpackaging=jar -Dfile=/path/to/file

  Alternatively, if you host your own repository you can deploy the file there:
      mvn deploy:deploy-file -DgroupId=com.oracle -DartifactId=ojdbc6 -Dversion=12.1.0.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) org.joget:wflow-jdbc:jar:4.0-SNAPSHOT
        2) com.oracle:ojdbc6:jar:12.1.0.2

----------
2 required artifacts are missing.

for artifact:
  org.joget:wflow-jdbc:jar:4.0-SNAPSHOT

from the specified remote repositories:
  central ([http://repo1.maven.org/maven2)
]

... A couple of questions...

First, why is it looking for MS SQLServer, or Oracle, when it runs on mysql?

Second, how do I get around this.  I have no experience with Maven, and there doesn't seem to be anyone else that got stuck on this.  I understand the error message says to manually download them, but from where?

thanks.

  • No labels

1 Comment

  1. Hey,

    By default, Joget preload and support those databases that you talked about thus it is asking for them.

    You will need to follow the steps under "Install 3rd Party Libraries" in Building from Source to preload the libraries used by Joget first so that you won't need to go and hunt them around.

    Thanks.