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.2 on 2014-07-30 -->

<plugin>
  <name>Overture Example Packager Maven plug-in</name>
  <description>A maven plugin to bundle up the VDM examples in the Overture Project&apos;s main repository</description>
  <groupId>org.overturetool.build</groupId>
  <artifactId>example-packager-plugin</artifactId>
  <version>2.1.0</version>
  <goalPrefix>example-packager</goalPrefix>
  <mojos>
    <mojo>
      <goal>package-examples</goal>
      <description>Example Packager</description>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>process-resources</phase>
      <implementation>org.overture.tools.maven.examplepackager.ExamplePackagerMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>false</threadSafe>
      <parameters>
        <parameter>
          <name>examplePPBaseDirectories</name>
          <alias>ppExamples</alias>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>A list of directories containing subdirectories with example VDM-PP projects. Note that the name of the output bundle will be derived from the name of the base directory.</description>
        </parameter>
        <parameter>
          <name>exampleRTBaseDirectories</name>
          <alias>rtExamples</alias>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>A list of directories containing subdirectories with example VDM-RT projects. Note that the name of the output bundle will be derived from the name of the base directory.</description>
        </parameter>
        <parameter>
          <name>exampleSLBaseDirectories</name>
          <alias>slExamples</alias>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>A list of directories containing subdirectories with example VDM-SL projects. Note that the name of the output bundle will be derived from the name of the base directory.</description>
        </parameter>
        <parameter>
          <name>markdownOutputDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>Name of the directory into which the markdown web pages would be generated.</description>
        </parameter>
        <parameter>
          <name>outputDirectory</name>
          <type>java.io.File</type>
          <required>false</required>
          <editable>true</editable>
          <description>Name of the directory into which the packaged examples will be placed. Readonly at the moment as the only place they should be dropped is in the project&apos;s usual target directory.</description>
        </parameter>
        <parameter>
          <name>outputMarkdownFiles</name>
          <alias>markdown</alias>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>A boolean indicating whether example webpages will be create in Markdown language.</description>
        </parameter>
        <parameter>
          <name>outputPrefix</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>A prefix to the output zip filename.</description>
        </parameter>
        <parameter>
          <name>outputWebFiles</name>
          <alias>output-web</alias>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>A boolean indicating whether web pages should be generated</description>
        </parameter>
        <parameter>
          <name>outputZipFiles</name>
          <alias>output-zip</alias>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>A boolean indicating whether example zips should be generated</description>
        </parameter>
      </parameters>
      <configuration>
        <markdownOutputDirectory implementation="java.io.File" default-value="${project.build.directory}"/>
        <outputDirectory implementation="java.io.File" default-value="${project.build.directory}"/>
        <outputPrefix implementation="java.lang.String" default-value="Examples-"/>
      </configuration>
    </mojo>
  </mojos>
</plugin>
New to GrepCode? Check out our FAQ X