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 2013-10-20 -->

<plugin>
  <name>sirius-maven-plugin</name>
  <description>Sonatype helps open source projects to set up Maven repositories on https://oss.sonatype.org/</description>
  <groupId>com.github.mkolisnyk</groupId>
  <artifactId>sirius-maven-plugin</artifactId>
  <version>1.0</version>
  <goalPrefix>sirius</goalPrefix>
  <mojos>
    <mojo>
      <goal>cucumber</goal>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>site</phase>
      <implementation>sirius.utils.retriever.CucumberReportingPlugin</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>false</threadSafe>
      <parameters/>
    </mojo>
    <mojo>
      <goal>generate</goal>
      <description>Generates various output based on issues information in the GitHub. At the moment it has options to get the output in a form of Cucumber features or GitHub Wiki page with traceability matrix.</description>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>generate-sources</phase>
      <implementation>sirius.utils.retriever.IssueGetPlugin</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>false</threadSafe>
      <parameters>
        <parameter>
          <name>groups</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The semi-colon separated list of labels which can be used as filter while quering issues. If multiple values are specified the issues returned should have at least one of the specified labels.</description>
        </parameter>
        <parameter>
          <name>outputLocation</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The folder where output should be produced to</description>
        </parameter>
        <parameter>
          <name>outputType</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Identifies the output type to be produced. At the moment the following values are supported:
-	trace - the output is the traceability matrix in a GitHub Wiki markdown format
-	mvn-trace - the output is the traceability matrix in HTML format
-	cucumber - the output is the feature files containing the issues description
</description>
        </parameter>
        <parameter>
          <name>password</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The password to connect to GitHub repository</description>
        </parameter>
        <parameter>
          <name>repository</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The GitHub repository name to retrieve issues for</description>
        </parameter>
        <parameter>
          <name>userName</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The user name to connect to GitHub repository with</description>
        </parameter>
      </parameters>
      <configuration>
        <groups implementation="java.lang.String" default-value="Test">${issueget.groups}</groups>
        <outputLocation implementation="java.lang.String" default-value=".">${issueget.output}</outputLocation>
        <outputType implementation="java.lang.String" default-value="trace">${issueget.type}</outputType>
        <password implementation="java.lang.String" default-value="">${issueget.password}</password>
        <repository implementation="java.lang.String" default-value="Sirius">${issueget.repository}</repository>
        <userName implementation="java.lang.String" default-value="">${issueget.user}</userName>
      </configuration>
    </mojo>
    <mojo>
      <goal>help</goal>
      <description>Display help information on sirius-maven-plugin.
Call mvn sirius: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>sirius.utils.retriever.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>trace</goal>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>site</phase>
      <implementation>sirius.utils.retriever.IssueGetReportPlugin</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>false</threadSafe>
      <parameters>
        <parameter>
          <name>groups</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>outputType</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>password</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>repository</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>userName</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description></description>
        </parameter>
      </parameters>
      <configuration>
        <outputType implementation="java.lang.String">${trace}</outputType>
        <password implementation="java.lang.String">${issueget.password}</password>
        <repository implementation="java.lang.String">${issueget.repository}</repository>
        <userName implementation="java.lang.String">${issueget.user}</userName>
      </configuration>
    </mojo>
  </mojos>
</plugin>
New to GrepCode? Check out our FAQ X