Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<plugin>
  <name>Maven Provision Plugin</name>
  <description>maven Provision Plugin</description>
  <groupId>org.fusesource.mvnplugins</groupId>
  <artifactId>maven-provision-plugin</artifactId>
  <version>1.13</version>
  <goalPrefix>provision</goalPrefix>
  <isolatedRealm>false</isolatedRealm>
  <inheritedByDefault>true</inheritedByDefault>
  <mojos>
    <mojo>
      <goal>provision</goal>
      <description>A Maven Mojo to install a provision in the local repo if its not already there and then
provision an artifact into an output directory</description>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <executePhase>install</executePhase>
      <implementation>org.fusesource.mvnplugins.provision.ProvisionMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>chmod</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Whether to run the &quot;chmod&quot; command on the remote site after the deploy.
Defaults to &quot;true&quot;.</description>
        </parameter>
        <parameter>
          <name>chmodMode</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The mode used by the &quot;chmod&quot; command. Only used if chmod = true.
Defaults to &quot;g+w,a+rX&quot;.</description>
        </parameter>
        <parameter>
          <name>chmodOptions</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The options used by the &quot;chmod&quot; command. Only used if chmod = true.
Defaults to &quot;-Rf&quot;.</description>
        </parameter>
        <parameter>
          <name>localRepository</name>
          <type>org.apache.maven.artifact.repository.ArtifactRepository</type>
          <required>false</required>
          <editable>false</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>mvOptions</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The options used by the &quot;mv&quot; command to move the current update site out of the way
Defaults to &quot;&quot;.</description>
        </parameter>
        <parameter>
          <name>oldBuildDateFormat</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The date format to use for old build directories</description>
        </parameter>
        <parameter>
          <name>outputDirectory</name>
          <type>java.io.File</type>
          <required>true</required>
          <editable>true</editable>
          <description>The directory where the output files will be located.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>false</editable>
          <description>The maven project.</description>
        </parameter>
        <parameter>
          <name>remoteDirectory</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The directory used to put the update site in. Defaults to &quot;update&quot;.
&lt;p/&gt;
If you use the htacess generation then this directory is used as part of the redirects</description>
        </parameter>
        <parameter>
          <name>remoteServerId</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The Server ID used to deploy the site which should reference a &amp;lt;server&amp;gt; in your
~/.m2/settings.xml file for username/pwd</description>
        </parameter>
        <parameter>
          <name>remoteServerUrl</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The Server Server URL to deploy the site to which uses the same URL format as the
distributionManagement / site / url expression in the pom.xml</description>
        </parameter>
        <parameter>
          <name>settings</name>
          <type>org.apache.maven.settings.Settings</type>
          <required>true</required>
          <editable>false</editable>
          <description>The current user system settings for use in Maven.</description>
        </parameter>
      </parameters>
      <configuration>
        <chmod implementation="boolean" default-value="true">${maven.updatesite.chmod}</chmod>
        <chmodMode implementation="java.lang.String" default-value="g+w,a+rX">${maven.updatesite.chmod.mode}</chmodMode>
        <chmodOptions implementation="java.lang.String" default-value="-Rf">${maven.updatesite.chmod.options}</chmodOptions>
        <localRepository implementation="org.apache.maven.artifact.repository.ArtifactRepository">${localRepository}</localRepository>
        <mvOptions implementation="java.lang.String" default-value="">${maven.updatesite.mv.options}</mvOptions>
        <oldBuildDateFormat implementation="java.lang.String" default-value="yyyy-MM-dd-HH-mm-ss-SSS">${maven.updatesite.oldBuild.dateFormat}</oldBuildDateFormat>
        <outputDirectory implementation="java.io.File">${outputDirectory}</outputDirectory>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <remoteDirectory implementation="java.lang.String" default-value="update"/>
        <remoteServerId implementation="java.lang.String">${updatesite.remoteServerId}</remoteServerId>
        <remoteServerUrl implementation="java.lang.String">${updatesite.remoteServerUrl}</remoteServerUrl>
        <settings implementation="org.apache.maven.settings.Settings">${settings}</settings>
      </configuration>
      <requirements>
        <requirement>
          <role>org.apache.maven.artifact.factory.ArtifactFactory</role>
          <field-name>artifactFactory</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.artifact.resolver.ArtifactResolver</role>
          <field-name>artifactResolver</field-name>
        </requirement>
        <requirement>
          <role>org.apache.maven.artifact.manager.WagonManager</role>
          <field-name>wagonManager</field-name>
        </requirement>
      </requirements>
    </mojo>
  </mojos>
  <dependencies>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-project</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-settings</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-profile</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-model</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-artifact-manager</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-repository-metadata</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-provider-api</artifactId>
      <type>jar</type>
      <version>1.0-beta-6</version>
    </dependency>
    <dependency>
      <groupId>backport-util-concurrent</groupId>
      <artifactId>backport-util-concurrent</artifactId>
      <type>jar</type>
      <version>3.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-registry</artifactId>
      <type>jar</type>
      <version>2.2.1</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-interpolation</artifactId>
      <type>jar</type>
      <version>1.11</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-utils</artifactId>
      <type>jar</type>
      <version>1.5.15</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-artifact</artifactId>
      <type>jar</type>
      <version>2.2.1</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>classworlds</groupId>
      <artifactId>classworlds</artifactId>
      <type>jar</type>
      <version>1.1-alpha-2</version>
    </dependency>
  </dependencies>
</plugin>
New to GrepCode? Check out our FAQ X