This documentation relates to uPortal 4.0
If you are using a different version, please click on "Click for all versions" on the left side of the page and select the relevant version.

Page History

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

Step 1: Obtain the MS JDBC driverdriver 

 

Since the MS SQL Server JDBC driver is not available in the central Maven repository, it must be placed into the local repository of each machine on which you wish to build uPortal.

 

Info
titleOption: Local Maven caching repository
As an alternative to this, you could set up a maven repository for use by multiple machines.

 

  • Download MS JDBC driver directly from Microsift, here: http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=11774
  • Follow the installation instructions, noting where the driver JAR file is located
  • Note the location of the driver JAR file and the version
  • Install the driver into the local Maven repository

    Code Block
    languagebash
    titleInstall MS SQL Server driver
    mvn install:install-file -DgroupId=com.microsoft.sqlserver -DartifactId=sqljdbc4 -Dversion=<version> -Dpackaging=jar -DgeneratePom=true -Dfile=<driver JAR file>
  • Again, note the groupId, artifactId and version. These will be used in Step 3.

...