Expand my Community achievements bar.

SOLVED

How to resolve this dependency "com.adobe.fmdita.api.maps.MapUtilities;

Avatar

Level 4

Working in AEM as cloud SDK .As mentioned in document need to include this bundle in your code to use these APIs. but this version is not available in adobe nexus repo while including in pom.xml as dependency .

Bundle details:

  • Group ID: com.adobe.fmdita

  • Artifact ID: api

  • Version: 3.2

  • Package: com.adobe.fmdita.api.maps

code sample

 

List<Node> mapDependents = MapUtilities.getAllDependencies(ditamapNode);
List<AssetObject> listOfDitaObject = new ArrayList<>();

 

compilation error like in abode repo this bundle is not available in public repo .How to resolve this plz help if anyone already faced this kind of issue.

 

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @djohn98390536,

Please have a look into this chapter of official documentation:

It describes multiple ways how to handle dependency including manual installation in your local maven.

You can also add below dependency, which includes com.adobe.fmdita.api.maps.MapUtilities and other classes from DITA api.

 

<dependency>
   <groupId>com.adobe.aem</groupId>
   <artifactId>aem-guides-sdk-api</artifactId>
   <version>2022.5</version>
</dependency>

 

Above dependency is also mention in the Adobe documentation I have pointed out at the beginning of this message.

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

Hi @djohn98390536,

Please have a look into this chapter of official documentation:

It describes multiple ways how to handle dependency including manual installation in your local maven.

You can also add below dependency, which includes com.adobe.fmdita.api.maps.MapUtilities and other classes from DITA api.

 

<dependency>
   <groupId>com.adobe.aem</groupId>
   <artifactId>aem-guides-sdk-api</artifactId>
   <version>2022.5</version>
</dependency>

 

Above dependency is also mention in the Adobe documentation I have pointed out at the beginning of this message.