blob: 5f6725e3245c2670c220ef4054ca370d33832659 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!-- NOTE: Using handwritten descriptor to decouple from MPLUGIN-136/MNG-3741 -->
<plugin>
<description>A test plugin whose mojos are implemented via Ant scripts.</description>
<groupId>org.apache.maven.its.plugins</groupId>
<artifactId>maven-it-plugin-ant-based</artifactId>
<version>2.1-SNAPSHOT</version>
<goalPrefix>itant-based</goalPrefix>
<isolatedRealm>false</isolatedRealm>
<inheritedByDefault>true</inheritedByDefault>
<mojos>
<mojo>
<goal>touch</goal>
<description>Creates a touch file.</description>
<requiresDirectInvocation>false</requiresDirectInvocation>
<requiresProject>true</requiresProject>
<requiresReports>false</requiresReports>
<aggregator>false</aggregator>
<requiresOnline>false</requiresOnline>
<inheritedByDefault>false</inheritedByDefault>
<implementation>/touch.build.xml:touch</implementation>
<language>ant-mojo</language>
<configurator>map-oriented</configurator>
<composer>map-oriented</composer>
<instantiationStrategy>per-lookup</instantiationStrategy>
<executionStrategy>once-per-session</executionStrategy>
<parameters>
<parameter>
<name>outputFile</name>
<type>java.io.File</type>
<required>false</required>
<editable>true</editable>
<description>The path to the touch file.</description>
</parameter>
<parameter>
<name>basedir</name>
<alias>ant.basedir</alias>
<type>java.io.File</type>
<required>true</required>
<editable>true</editable>
<description>The base directory from which to execute the Ant script.</description>
</parameter>
<parameter>
<name>messageLevel</name>
<alias>ant.messageLevel</alias>
<type>java.lang.String</type>
<required>false</required>
<editable>true</editable>
<description>The message-level used to tune the verbosity of Ant logging.</description>
</parameter>
</parameters>
<configuration>
<outputFile implementation="java.io.File" default-value="target/touch.txt"/>
<basedir implementation="java.io.File" default-value="${basedir}">${antBasedir}</basedir>
<messageLevel implementation="java.lang.String" default-value="info">${antMessageLevel}</messageLevel>
</configuration>
</mojo>
</mojos>
<dependencies>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-script-ant</artifactId>
<type>jar</type>
<version>2.0.6</version>
</dependency>
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>3.8.6</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-ant-factory</artifactId>
<type>jar</type>
<version>1.0-alpha-2</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
<type>jar</type>
<version>1.0.5</version>
</dependency>
<dependency>
<groupId>classworlds</groupId>
<artifactId>classworlds</artifactId>
<type>jar</type>
<version>1.1-alpha-2</version>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-container-default</artifactId>
<type>jar</type>
<version>1.0-alpha-9-stable-1</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<type>jar</type>
<version>3.8.1</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<type>jar</type>
<version>1.7.1</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant-launcher</artifactId>
<type>jar</type>
<version>1.7.1</version>
</dependency>
</dependencies>
</plugin>