Created
March 1, 2023 16:35
-
-
Save alexandramartinez/a8dad8e5a33e03588684c90a73fcf35b to your computer and use it in GitHub Desktop.
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"?> | |
<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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>com.mycompany</groupId> | |
<artifactId>github-actions</artifactId> | |
<version>1.0.0-SNAPSHOT</version> | |
<packaging>mule-application</packaging> | |
<name>github-actions</name> | |
<properties> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> | |
<app.runtime>4.4.0</app.runtime> | |
<mule.maven.plugin.version>3.8.0</mule.maven.plugin.version> | |
<app.name>amartinez-github-actions</app.name> | |
<env>Sandbox</env> | |
<!-- Start: MUnits --> | |
<munit.version>2.3.13</munit.version> | |
<!-- End: MUnits --> | |
</properties> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-clean-plugin</artifactId> | |
<version>3.0.0</version> | |
</plugin> | |
<plugin> | |
<groupId>org.mule.tools.maven</groupId> | |
<artifactId>mule-maven-plugin</artifactId> | |
<version>${mule.maven.plugin.version}</version> | |
<extensions>true</extensions> | |
<configuration> | |
<cloudHubDeployment> | |
<uri>https://anypoint.mulesoft.com</uri> | |
<muleVersion>${app.runtime}</muleVersion> | |
<username>${anypoint.username}</username> | |
<password>${anypoint.password}</password> | |
<applicationName>${app.name}</applicationName> | |
<environment>${env}</environment> | |
<workerType>MICRO</workerType> | |
<region>us-east-2</region> | |
<workers>1</workers> | |
<objectStoreV2>true</objectStoreV2> | |
<!-- Start: SECURED PROPERTIES CI/CD --> | |
<!-- Make sure `secure.key` matches with your property in the Mule app --> | |
<properties> | |
<secure.key>${decryption.key}</secure.key> | |
</properties> | |
<!-- End: SECURED PROPERTIES CI/CD --> | |
</cloudHubDeployment> | |
<classifier>mule-application</classifier> | |
</configuration> | |
</plugin> | |
<!-- Start: MUnits --> | |
<plugin> | |
<groupId>com.mulesoft.munit.tools</groupId> | |
<artifactId>munit-maven-plugin</artifactId> | |
<version>${munit.version}</version> | |
<executions> | |
<execution> | |
<id>test</id> | |
<phase>test</phase> | |
<goals> | |
<goal>test</goal> | |
<goal>coverage-report</goal> | |
</goals> | |
</execution> | |
</executions> | |
<configuration> | |
<coverage> | |
<runCoverage>true</runCoverage> | |
<formats> | |
<format>html</format> | |
</formats> | |
</coverage> | |
</configuration> | |
</plugin> | |
<!-- End: MUnits --> | |
</plugins> | |
</build> | |
<dependencies> | |
<dependency> | |
<groupId>org.mule.connectors</groupId> | |
<artifactId>mule-http-connector</artifactId> | |
<version>1.6.0</version> | |
<classifier>mule-plugin</classifier> | |
</dependency> | |
<dependency> | |
<groupId>org.mule.connectors</groupId> | |
<artifactId>mule-sockets-connector</artifactId> | |
<version>1.2.2</version> | |
<classifier>mule-plugin</classifier> | |
</dependency> | |
<!-- Start: SECURED PROPERTIES CI/CD --> | |
<!-- This dependency should be added to configure the global elements in your Mule app --> | |
<dependency> | |
<groupId>com.mulesoft.modules</groupId> | |
<artifactId>mule-secure-configuration-property-module</artifactId> | |
<version>1.2.5</version> | |
<classifier>mule-plugin</classifier> | |
</dependency> | |
<!-- End: SECURED PROPERTIES CI/CD --> | |
<!-- Start: MUnits --> | |
<dependency> | |
<groupId>com.mulesoft.munit</groupId> | |
<artifactId>munit-runner</artifactId> | |
<version>2.3.13</version> | |
<classifier>mule-plugin</classifier> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>com.mulesoft.munit</groupId> | |
<artifactId>munit-tools</artifactId> | |
<version>2.3.13</version> | |
<classifier>mule-plugin</classifier> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.mule.weave</groupId> | |
<artifactId>assertions</artifactId> | |
<version>1.0.2</version> | |
<scope>test</scope> | |
</dependency> | |
<!-- End: MUnits --> | |
</dependencies> | |
<repositories> | |
<repository> | |
<id>anypoint-exchange-v3</id> | |
<name>Anypoint Exchange</name> | |
<url>https://maven.anypoint.mulesoft.com/api/v3/maven</url> | |
<layout>default</layout> | |
</repository> | |
<repository> | |
<id>mulesoft-releases</id> | |
<name>MuleSoft Releases Repository</name> | |
<url>https://repository.mulesoft.org/releases/</url> | |
<layout>default</layout> | |
</repository> | |
</repositories> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>mulesoft-releases</id> | |
<name>MuleSoft Releases Repository</name> | |
<layout>default</layout> | |
<url>https://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