Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Step 5 of 5 refactorings (change packaging) described in: https://www.hybrit.org/blog-mulesoft-parent-pom-in-5-steps/ a blog about creating a parent POM.xml for Mulesoft projects
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>orders-system-api</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>mule</packaging>
<name>Mule orders-system-api Application</name>
<parent>
<groupId>org.hybrit</groupId>
<artifactId>order-management-parent-pom</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<properties/>
<build>
<plugins>
<plugin>
<groupId>org.mule.tools.maven</groupId>
<artifactId>mule-app-maven-plugin</artifactId>
<configuration>
<inclusions>
<inclusion>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-mongo</artifactId>
</inclusion>
</inclusions>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
<!-- Mule Dependencies -->
<dependencies>
<dependency>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-http</artifactId>
</dependency>
<dependency>
<groupId>org.mule.modules</groupId>
<artifactId>mule-module-mongo</artifactId>
</dependency>
<dependency>
<groupId>org.hybrit</groupId>
<artifactId>order-management</artifactId>
<type>zip</type>
</dependency>
</dependencies>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.