Documentation Center

Configuring online CILs in your Java Web application

Configure references to Maven from a Project Object Model (POM) file, pom.xml, to reference and use the online versions of the CILs from your Web application

Procedure

  1. If your Web application does not yet have a POM file, following the documentation found at the Apache Maven Web site (http://maven.apache.org) to create one.
  2. Open your (new or existing) pom.xml file for editing.
  3. Ensure that the file contains the following:
    <dependency>
      <groupId>com.sdl.web</groupId>
      <artifactId>cil</artifactId>
      <version>8.5.0-VERSION</version>
    </dependency>

    where VERSION is a version number, and where 8.5.0-VERSION is the name of a subdirectory located at the URL https://oss.sonatype.org/content/groups/public/com/sdl/web/cil/, indicating a version of the CIL.

  4. Save and close pom.xml.
  5. Restart your Web application.