ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 48 - MCD - Level 2 discussion

Report
Export

The Center for Enablement team published a common application as a reusable module to the central Nexus repository.

How can the common application be included in all API implementations?

A.
Download the common application from Naxus and copy it to the src/main/resources folder in the API
Answers
A.
Download the common application from Naxus and copy it to the src/main/resources folder in the API
B.
Copy the common application's source XML file and out it in a new flow file in the src/main/mule folder
Answers
B.
Copy the common application's source XML file and out it in a new flow file in the src/main/mule folder
C.
Add a Maven dependency in the PCM file with multiple-plugin as <classifier>
Answers
C.
Add a Maven dependency in the PCM file with multiple-plugin as <classifier>
D.
Add a Maven dependency in the POM file with jar as <classifier>
Answers
D.
Add a Maven dependency in the POM file with jar as <classifier>
Suggested answer: D

Explanation:

To include a common application as a reusable module in all API implementations, the developer should add a Maven dependency in the POM file with jar as <classifier>. This way, the developer can reuse Mule code from another application by packaging it as a JAR file and adding it as a dependency in the POM file of the API implementation. The classifier element specifies that it is a JAR file.

Reference: https://docs.mulesoft.com/mule-runtime/4.3/mmp-concept#add-a-maven-dependency-to-the-pom-file

asked 18/09/2024
Han Valk
46 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first