Last active
September 20, 2018 14:46
-
-
Save Marthijs-Berfelo/d295827d24422c53426f26c60588d71f to your computer and use it in GitHub Desktop.
Step 1 of 5 refactorings described 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
<!-- properties section --> | |
... | |
<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> | |
<build-helper-maven-plugin.version>1.7</build-helper-maven-plugin.version> | |
<mule-module-mongo.version>3.6.1</mule-module-mongo.version> | |
<order-management.version>1.0.0-SNAPSHOT</order-management.version> | |
</properties> | |
... | |
<!-- dependencies --> | |
... | |
<dependency> | |
<groupId>org.mule.modules</groupId> | |
<artifactId>mule-module-mongo</artifactId> | |
<version>${mule-module-mongo.version}</version> | |
</dependency> | |
<dependency> | |
<groupId>org.hybrit</groupId> | |
<artifactId>order-management</artifactId> | |
<version>${order-management.version}</version> | |
<scope>test</scope> | |
<type>zip</type> | |
</dependency> | |
... | |
<!-- plugins --> | |
... | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>build-helper-maven-plugin</artifactId> | |
<version>${build-helper-maven-plugin.version}</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> | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment