Last active
September 20, 2018 14:47
-
-
Save Marthijs-Berfelo/a380810dab9eb9f501c72d0bf73336ff to your computer and use it in GitHub Desktop.
Example initial POM.xml for 1 of the 2 API's used in: https://www.hybrit.org/blog-mulesoft-parent-pom-in-5-steps/ a blog about creating a parent POM.xml for Mulesoft projects
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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> | |
<groupId>org.hybrit</groupId> | |
<artifactId>orders-system-api</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
<packaging>mule</packaging> | |
<name>Mule orders-system-api Application</name> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | |
<mule.version>3.9.0</mule.version> | |
<mule.tools.version>1.2</mule.tools.version> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.mule.tools.maven</groupId> | |
<artifactId>mule-app-maven-plugin</artifactId> | |
<version>${mule.tools.version}</version> | |
<extensions>true</extensions> | |
<configuration> | |
<copyToAppsDirectory>true</copyToAppsDirectory> | |
<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> | |
<version>1.7</version> | |
<executions> | |
<execution> | |
<id>add-resource</id> | |
<phase>generate-resources</phase> | |
<goals> | |
<goal>add-resource</goal> | |
</goals> | |
<configuration> | |
<resources> | |
<resource> | |
<directory>src/main/app/</directory> | |
</resource> | |
<resource> | |
<directory>src/main/api/</directory> | |
</resource> | |
<resource> | |
<directory>mappings/</directory> | |
</resource> | |
</resources> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
<!-- Mule Dependencies --> | |
<dependencies> | |
<!-- Xml configuration --> | |
<dependency> | |
<groupId>com.mulesoft.muleesb</groupId> | |
<artifactId>mule-core-ee</artifactId> | |
<version>${mule.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<!-- Xml configuration --> | |
<dependency> | |
<groupId>com.mulesoft.muleesb.modules</groupId> | |
<artifactId>mule-module-spring-config-ee</artifactId> | |
<version>${mule.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<!-- Mule Transports --> | |
<dependency> | |
<groupId>org.mule.transports</groupId> | |
<artifactId>mule-transport-file</artifactId> | |
<version>${mule.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.mule.transports</groupId> | |
<artifactId>mule-transport-http</artifactId> | |
<version>${mule.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.mulesoft.muleesb.transports</groupId> | |
<artifactId>mule-transport-jdbc-ee</artifactId> | |
<version>${mule.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.mulesoft.muleesb.transports</groupId> | |
<artifactId>mule-transport-jms-ee</artifactId> | |
<version>${mule.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.mule.transports</groupId> | |
<artifactId>mule-transport-vm</artifactId> | |
<version>${mule.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<!-- Mule Modules --> | |
<dependency> | |
<groupId>org.mule.modules</groupId> | |
<artifactId>mule-module-scripting</artifactId> | |
<version>${mule.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.mule.modules</groupId> | |
<artifactId>mule-module-xml</artifactId> | |
<version>${mule.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<!-- for testing --> | |
<dependency> | |
<groupId>org.mule.tests</groupId> | |
<artifactId>mule-tests-functional</artifactId> | |
<version>${mule.version}</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.mule.modules</groupId> | |
<artifactId>mule-module-http</artifactId> | |
<version>${mule.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.mule.modules</groupId> | |
<artifactId>mule-module-mongo</artifactId> | |
<version>3.6.1</version> | |
</dependency> | |
<dependency> | |
<groupId>org.hybrit</groupId> | |
<artifactId>order-management</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
<scope>test</scope> | |
<type>zip</type> | |
</dependency> | |
</dependencies> | |
<repositories> | |
<repository> | |
<id>Central</id> | |
<name>Central</name> | |
<url>http://repo1.maven.org/maven2/</url> | |
<layout>default</layout> | |
</repository> | |
<repository> | |
<id>mulesoft-releases</id> | |
<name>MuleSoft Releases Repository</name> | |
<url>http://repository.mulesoft.org/releases/</url> | |
<layout>default</layout> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>mulesoft-release</id> | |
<name>mulesoft release repository</name> | |
<layout>default</layout> | |
<url>http://repository.mulesoft.org/releases/</url> | |
<snapshots> | |
<enabled>false</enabled> | |
</snapshots> | |
</pluginRepository> | |
</pluginRepositories> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment