An organization if struggling frequent plugin version upgrades and external plugin project dependencies.
The team wants to minimize the impact on applications by creating best practices that will define a set of default dependencies across all new and in progress projects.
How can these best practices be achieved with the applications having the least amount of responsibility?
Show answer and explanation
Correct answer: D
Requirement Analysis: The organization wants to standardize dependencies across all new and ongoing MuleSoft projects to minimize the impact of frequent plugin version upgrades and external plugin project dependencies. Solution: Creating a parent POM (Project Object Model) file with all required dependencies and referencing it in each application's POM.xml file is the best practice.
Implementation Steps:
pom</artifactId> <version>1.0.0</version> <packaging>pom</packaging> <dependencyManagement>
<dependencies> <dependency>
<groupId>org.mule.runtime</groupId> <artifactId>mule-core-extensions-maven-plugin</artifactId>
<version>1.0.0</version> </dependency> <!--Add other dependencies here --> </dependencies> </ dependencyManagement> </project> uk.co.certification.simulator.questionpool.PList@1b368240
<project> <modelVersion>4.0.0</modelVersion> <parent>
<groupId>com.example</groupId> <artifactId>parent-pom</artifactId> <version>1.0.0</version> </parent>
<artifactId>child-application</artifactId> <version>1.0.0</version> <!--Application specific dependencies
and configurations --> </ project> uk.co.certification.simulator.questionpool.PList@1b368950
References:
MuleSoft Documentation on Managing dependencies with Maven Apache Maven Documentation on POM Reference

