When creating a shared library, what should the common logic application's pom.xml Maven configuration classifier be?

Prepare for the MuleSoft Developer 2 Certification Exam. Access practice quizzes featuring flashcards and multiple choice questions with explanations. Get confident and ready for your certification success!

Multiple Choice

When creating a shared library, what should the common logic application's pom.xml Maven configuration classifier be?

Explanation:
In MuleSoft, shared libraries are delivered as Mule plugins. Using the classifier mule-plugin tells Maven to build the artifact as a Mule plugin jar meant to be loaded by the runtime as a shared library that multiple apps can reuse. This is different from a Mule application (which would be mule-app), a domain (mule-domain) that groups multiple apps, or a Mule extension (mule-extension) which is for runtime extensions rather than a reusable library. The mule-plugin classifier ensures the artifact is recognized by the Mule runtime as a shared library rather than an executable app or a different type of module.

In MuleSoft, shared libraries are delivered as Mule plugins. Using the classifier mule-plugin tells Maven to build the artifact as a Mule plugin jar meant to be loaded by the runtime as a shared library that multiple apps can reuse. This is different from a Mule application (which would be mule-app), a domain (mule-domain) that groups multiple apps, or a Mule extension (mule-extension) which is for runtime extensions rather than a reusable library. The mule-plugin classifier ensures the artifact is recognized by the Mule runtime as a shared library rather than an executable app or a different type of module.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy