Strategy 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
MicroStrategyLibraryand 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:
{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:
org.springframework:spring-core:jar:6.1.6
Maven
-
Open your
pom.xmlfile. -
Use the following dependency:
Copy<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>6.1.6</version>
</dependency> -
Add the above dependency to the
<dependencies>section of thepom.xmlfile, as shown below:Copy<dependencies>
<!-- Other dependencies -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>6.1.6</version>
</dependency>
</dependencies> -
Save the file and run
mvn clean install.
Gradle
-
Open your
build.gradlefile. -
Use the following dependency:
Copydependencies {
implementation 'org.springframework:spring-core:6.1.6'
} -
Add the above dependency to the
<dependencies>section of thebuild.gradlefile, as shown below:Copydependencies {
// Other dependencies
implementation 'org.springframework:spring-core:6.1.6'
} -
Save the file and run
gradle build.
