mule-extensions-maven-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.mule.runtime.plugins</groupId> <artifactId>mule-extensions-maven-plugin</artifactId> <version>1.1.1</version> </dependency>
<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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.mule.runtime.plugins</groupId> <artifactId>mule-plugins-maven-plugin-parent</artifactId> <version>1.1.1</version> </parent> <artifactId>mule-extensions-maven-plugin</artifactId> <packaging>maven-plugin</packaging> <name>Mule Extensions Maven Plugin</name> <properties> <formatterConfigPath>../formatter.xml</formatterConfigPath> <velocity.version>1.7</velocity.version> <jruby.version>1.7.17</jruby.version> <asciidoctor.version>1.5.2</asciidoctor.version> <commons.io.version>2.4</commons.io.version> <junit.version>4.12</junit.version> <mockito.version>1.10.19</mockito.version> <zt.zip.version>1.11</zt.zip.version> </properties> <dependencies> <dependency> <groupId>org.mule.runtime.plugins</groupId> <artifactId>mule-packager-plugins-base</artifactId> <version>${project.version}</version> </dependency> <!-- Documentation --> <dependency> <groupId>org.apache.velocity</groupId> <artifactId>velocity</artifactId> <version>${velocity.version}</version> </dependency> <dependency> <groupId>org.jruby</groupId> <artifactId>jruby-complete</artifactId> <version>${jruby.version}</version> </dependency> <dependency> <groupId>org.asciidoctor</groupId> <artifactId>asciidoctorj</artifactId> <version>${asciidoctor.version}</version> </dependency> <dependency> <groupId>org.zeroturnaround</groupId> <artifactId>zt-zip</artifactId> <version>${zt.zip.version}</version> </dependency> <!-- Mule --> <dependency> <groupId>org.mule.runtime</groupId> <artifactId>mule-extensions-api</artifactId> <version>${mule.extensions.api.version}</version> </dependency> <dependency> <groupId>org.mule.runtime</groupId> <artifactId>mule-extensions-api-persistence</artifactId> <version>${mule.extensions.api.version}</version> </dependency> <!-- Test --> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> </dependencies> <profiles> <profile> <id>uber</id> <activation> <activeByDefault>false</activeByDefault> <property> <name>uber</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.1.0</version> <configuration> <artifactSet> <excludes> <exclude>org.apache.maven:*</exclude> <exclude>org.apache.maven.plugin-tools:*</exclude> <exclude>com.rackspace.apache:xerces2*</exclude> <exclude>xml-apis:*</exclude> <exclude>stax:*</exclude> </excludes> </artifactSet> </configuration> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>integration</id> <activation> <activeByDefault>false</activeByDefault> <property> <name>!muleExtensionsMavenPluginIntegration</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-invoker-plugin</artifactId> <version>${maven.invoker.plugin.version}</version> <configuration> <debug>${debug}</debug> <streamLogs>${debug}</streamLogs> <showErrors>${debug}</showErrors> <failIfNoProjects>true</failIfNoProjects> <projectsDirectory>src/it</projectsDirectory> <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> <postBuildHookScript>verify</postBuildHookScript> <scriptVariables> <pluginVersion>${project.version}</pluginVersion> <muleVersion>${mule.version}</muleVersion> </scriptVariables> <addTestClassPath>true</addTestClassPath> <mavenOpts>${mavenOpts}</mavenOpts> <invokerPropertiesFile>invoker.properties</invokerPropertiesFile> <properties> <mule.version>${mule.version}</mule.version> <mule.extensions.api.version>${mule.extensions.api.version}</mule.extensions.api.version> </properties> <goals> <goal>clean</goal> <goal>install</goal> </goals> </configuration> <executions> <execution> <id>integration-test</id> <phase>integration-test</phase> <goals> <goal>install</goal> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>