MicroStrategy ONE

Locating the dependency list for MicroStrategy Library

Starting in MicroStrategy ONE (June 2024), the MicroStrategyLibrary web application includes a comprehensive list of all dependencies used in the project. The list is generated as a tree structure and can be found in the deployed WAR file in Tomcat's webapps directory.

The dependency list file has multiple purposes:

  • Reference: You can refer to the dependencies used in MicroStrategyLibrary and compare them to those in their own projects.

  • Integration: You can introduce these dependencies into their own Maven or Gradle projects.

Dependency List Location

After deploying the MicroStrategyLibrary web application, you can find the dependency list file that contains a tree structure of all the dependencies used in the MicroStrategyLibrary project in the following location:

Copy
{Path to MicroStrategyLibrary}/WEB-INF/restful-api-jar-dependency-list.txt

Introduce Dependencies in Maven and Gradle Projects

You can use the dependency list to add dependencies into Maven and Gradle projects. The steps below use the following example dependency:

Copy
org.springframework:spring-core:jar:6.1.6

Maven

  1. Open your pom.xml file.

  2. Use the following dependency:

    Copy
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-core</artifactId>
        <version>6.1.6</version>
    </dependency>
  3. Add the above dependency to the <dependencies> section of the pom.xml file, as shown below:

    Copy
    <dependencies>
        <!-- Other dependencies -->

        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-core</artifactId>
            <version>6.1.6</version>
        </dependency>
    </dependencies>
  4. Save the file and run mvn clean install.

Gradle

  1. Open your build.gradle file.

  2. Use the following dependency:

    Copy
    dependencies {
        implementation 'org.springframework:spring-core:6.1.6'
    }
  3. Add the above dependency to the <dependencies> section of the build.gradle file, as shown below:

    Copy
    dependencies {
        // Other dependencies

        implementation 'org.springframework:spring-core:6.1.6'
    }
  4. Save the file and run gradle build.