Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>

<!-- Generated by maven-plugin-tools 3.1 on 2013-06-04 -->

<plugin>
  <name>libraries utilities mojo - 1.0-beta2</name>
  <description>plugin to install &amp; deploy libraries from folder</description>
  <groupId>org.bsc.maven.plugin</groupId>
  <artifactId>bulk-deploy</artifactId>
  <version>1.0-beta2</version>
  <goalPrefix>bulk-deploy</goalPrefix>
  <mojos>
    <mojo>
      <goal>commit</goal>
      <description>Remove backup file(s)</description>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <implementation>org.bsc.maven.plugin.libutils.CommitPomUpdateMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>false</threadSafe>
      <parameters/>
    </mojo>
    <mojo>
      <goal>deploy-folder</goal>
      <description>Installs artifacts from folder to remote repository.</description>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <implementation>org.bsc.maven.plugin.libutils.DeployFolderMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>false</threadSafe>
      <parameters>
        <parameter>
          <name>_updatePom</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>add generated dependency to pom</description>
        </parameter>
        <parameter>
          <name>artifactIdPostfix</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>ArtifactId postfix of the artifacts to be deployed. Retrieved from POM file if specified.</description>
        </parameter>
        <parameter>
          <name>artifactIdPrefix</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>ArtifactId prefix of the artifacts to be deployed. Retrieved from POM file if specified.</description>
        </parameter>
        <parameter>
          <name>description</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Description passed to a generated POM file (in case of generatePom=true)</description>
        </parameter>
        <parameter>
          <name>excludes</name>
          <type>java.lang.String[]</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>filePattern</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>reg-ex pattern. If it matchs then group(1) will be artifactId and group(2) will be version</description>
        </parameter>
        <parameter>
          <name>generatePom</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Upload a POM for this artifact. Will generate a default POM if none is supplied with the pomFile argument.</description>
        </parameter>
        <parameter>
          <name>groupId</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>GroupId of the artifact to be deployed. Retrieved from POM file if specified.</description>
        </parameter>
        <parameter>
          <name>includes</name>
          <type>java.lang.String[]</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>outputFolder</name>
          <type>java.io.File</type>
          <required>true</required>
          <editable>true</editable>
          <description>Folder to be deployed.</description>
        </parameter>
        <parameter>
          <name>preview</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>preview mode</description>
        </parameter>
        <parameter>
          <name>repositoryId</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Server Id to map on the &lt;id&gt; under &lt;server&gt; section of settings.xml In most cases, this parameter will be required for authentication.</description>
        </parameter>
        <parameter>
          <name>repositoryLayout</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The type of remote repository layout to deploy to. Try legacy for a Maven 1.x-style repository layout.</description>
        </parameter>
        <parameter>
          <name>sourceFolder</name>
          <type>java.io.File</type>
          <required>true</required>
          <editable>true</editable>
          <description>Folder to be deployed.</description>
        </parameter>
        <parameter>
          <name>uniqueVersion</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Whether to deploy snapshots with a unique version or not.</description>
        </parameter>
        <parameter>
          <name>url</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>URL where the artifact will be deployed.
ie ( file://C:\m2-repo or scp://host.com/path/to/repo )</description>
        </parameter>
        <parameter>
          <name>version</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Version of the artifact to be deployed. Retrieved from POM file if specified.</description>
        </parameter>
      </parameters>
      <configuration>
        <_updatePom implementation="boolean" default-value="false">${deploy.updatePom}</_updatePom>
        <artifactIdPostfix implementation="java.lang.String" default-value="">${artifactId-postfix}</artifactIdPostfix>
        <artifactIdPrefix implementation="java.lang.String" default-value="">${artifactId-prefix}</artifactIdPrefix>
        <description implementation="java.lang.String">${generatePom.description}</description>
        <filePattern implementation="java.lang.String">${filePattern}</filePattern>
        <generatePom implementation="boolean" default-value="true">${generatePom}</generatePom>
        <groupId implementation="java.lang.String">${groupId}</groupId>
        <outputFolder implementation="java.io.File">${project.build.directory}</outputFolder>
        <preview implementation="boolean" default-value="false"/>
        <repositoryId implementation="java.lang.String" default-value="remote-repository">${repositoryId}</repositoryId>
        <repositoryLayout implementation="java.lang.String" default-value="default">${repositoryLayout}</repositoryLayout>
        <sourceFolder implementation="java.io.File">${sourceFolder}</sourceFolder>
        <uniqueVersion implementation="boolean" default-value="true">${uniqueVersion}</uniqueVersion>
        <url implementation="java.lang.String">${url}</url>
        <version implementation="java.lang.String">${version}</version>
      </configuration>
    </mojo>
    <mojo>
      <goal>help</goal>
      <description>Display help information on bulk-deploy.
Call mvn bulk-deploy:help -Ddetail=true -Dgoal=&lt;goal-name&gt; to display parameter details.</description>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>false</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <implementation>org.bsc.maven.plugin.libutils.HelpMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>true</threadSafe>
      <parameters>
        <parameter>
          <name>detail</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>If true, display all settable properties for each goal.</description>
        </parameter>
        <parameter>
          <name>goal</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The name of the goal for which to show help. If unspecified, all goals will be displayed.</description>
        </parameter>
        <parameter>
          <name>indentSize</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>The number of spaces per indentation level, should be positive.</description>
        </parameter>
        <parameter>
          <name>lineLength</name>
          <type>int</type>
          <required>false</required>
          <editable>true</editable>
          <description>The maximum length of a display line, should be positive.</description>
        </parameter>
      </parameters>
      <configuration>
        <detail implementation="boolean" default-value="false">${detail}</detail>
        <goal implementation="java.lang.String">${goal}</goal>
        <indentSize implementation="int" default-value="2">${indentSize}</indentSize>
        <lineLength implementation="int" default-value="80">${lineLength}</lineLength>
      </configuration>
    </mojo>
    <mojo>
      <goal>rollback</goal>
      <description>Restore POM from backup</description>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <implementation>org.bsc.maven.plugin.libutils.RollbackPomUpdateMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>false</threadSafe>
      <parameters/>
    </mojo>
  </mojos>
</plugin>
New to GrepCode? Check out our FAQ X