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-09-01 -->

<plugin>
  <name>netlib for Java (Generator)</name>
  <description>Mission-critical components for linear algebra systems.</description>
  <groupId>com.github.fommil.netlib</groupId>
  <artifactId>generator</artifactId>
  <version>1.0</version>
  <goalPrefix>generator</goalPrefix>
  <mojos>
    <mojo>
      <goal>f2j</goal>
      <description>Generates the F2J implementation of a netlib-java interface for the given methods.</description>
      <requiresDependencyResolution>compile</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>generate-sources</phase>
      <implementation>com.github.fommil.netlib.generator.F2jImplGenerator</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>false</threadSafe>
      <parameters>
        <parameter>
          <name>exclude</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Method names to exclude (regex);</description>
        </parameter>
        <parameter>
          <name>implementing</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The interface that we are implementing.</description>
        </parameter>
        <parameter>
          <name>input</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The artifact of the jar to generate from. Note that this must be listed as a dependency section of the calling module, not a plugin dependency.</description>
        </parameter>
        <parameter>
          <name>javadoc</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The artifact of the javadocs to extract parameter names. Note that this must be listed as a dependency section of the calling module, not a plugin dependency.</description>
        </parameter>
        <parameter>
          <name>outputDir</name>
          <type>java.io.File</type>
          <required>true</required>
          <editable>true</editable>
          <description>Location of the generated source files.</description>
        </parameter>
        <parameter>
          <name>outputName</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>scan</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The package to scan.</description>
        </parameter>
      </parameters>
      <configuration>
        <input implementation="java.lang.String" default-value="net.sourceforge.f2j:arpack_combined_all:jar:0.1"/>
        <javadoc implementation="java.lang.String" default-value="net.sourceforge.f2j:arpack_combined_all:jar:javadoc:0.1"/>
        <outputDir implementation="java.io.File" default-value="${project.build.directory}/generated-sources/netlib-java"/>
      </configuration>
    </mojo>
    <mojo>
      <goal>interface</goal>
      <requiresDependencyResolution>compile</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>generate-sources</phase>
      <implementation>com.github.fommil.netlib.generator.JavaInterfaceGenerator</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>false</threadSafe>
      <parameters>
        <parameter>
          <name>exclude</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Method names to exclude (regex);</description>
        </parameter>
        <parameter>
          <name>fallback</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The default implementation.</description>
        </parameter>
        <parameter>
          <name>initCode</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Arbitrary Java code that is run after instance creation.</description>
        </parameter>
        <parameter>
          <name>input</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The artifact of the jar to generate from. Note that this must be listed as a dependency section of the calling module, not a plugin dependency.</description>
        </parameter>
        <parameter>
          <name>javadoc</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The artifact of the javadocs to extract parameter names. Note that this must be listed as a dependency section of the calling module, not a plugin dependency.</description>
        </parameter>
        <parameter>
          <name>outputDir</name>
          <type>java.io.File</type>
          <required>true</required>
          <editable>true</editable>
          <description>Location of the generated source files.</description>
        </parameter>
        <parameter>
          <name>outputName</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>scan</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The package to scan.</description>
        </parameter>
      </parameters>
      <configuration>
        <input implementation="java.lang.String" default-value="net.sourceforge.f2j:arpack_combined_all:jar:0.1"/>
        <javadoc implementation="java.lang.String" default-value="net.sourceforge.f2j:arpack_combined_all:jar:javadoc:0.1"/>
        <outputDir implementation="java.io.File" default-value="${project.build.directory}/generated-sources/netlib-java"/>
      </configuration>
    </mojo>
    <mojo>
      <goal>native-java</goal>
      <description>Generates the Java part of a JNI implementation of a netlib interface.</description>
      <requiresDependencyResolution>compile</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>generate-sources</phase>
      <implementation>com.github.fommil.netlib.generator.NativeImplJavaGenerator</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>false</threadSafe>
      <parameters>
        <parameter>
          <name>exclude</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Method names to exclude (regex);</description>
        </parameter>
        <parameter>
          <name>extending</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The implementation that we are extending (if not specified, UnsupportedOperationException may be thrown by excluded methods we are implementing).</description>
        </parameter>
        <parameter>
          <name>implementing</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The interface that we are implementing.</description>
        </parameter>
        <parameter>
          <name>input</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The artifact of the jar to generate from. Note that this must be listed as a dependency section of the calling module, not a plugin dependency.</description>
        </parameter>
        <parameter>
          <name>javadoc</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The artifact of the javadocs to extract parameter names. Note that this must be listed as a dependency section of the calling module, not a plugin dependency.</description>
        </parameter>
        <parameter>
          <name>natives</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The default name of the native libraries. CSV.</description>
        </parameter>
        <parameter>
          <name>outputDir</name>
          <type>java.io.File</type>
          <required>true</required>
          <editable>true</editable>
          <description>Location of the generated source files.</description>
        </parameter>
        <parameter>
          <name>outputName</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>scan</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The package to scan.</description>
        </parameter>
        <parameter>
          <name>unsupported</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Methods we don&apos;t support.</description>
        </parameter>
      </parameters>
      <configuration>
        <input implementation="java.lang.String" default-value="net.sourceforge.f2j:arpack_combined_all:jar:0.1"/>
        <javadoc implementation="java.lang.String" default-value="net.sourceforge.f2j:arpack_combined_all:jar:javadoc:0.1"/>
        <outputDir implementation="java.io.File" default-value="${project.build.directory}/generated-sources/netlib-java"/>
      </configuration>
    </mojo>
    <mojo>
      <goal>native-jni</goal>
      <requiresDependencyResolution>compile</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <phase>generate-sources</phase>
      <implementation>com.github.fommil.netlib.generator.NativeImplJniGenerator</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <threadSafe>false</threadSafe>
      <parameters>
        <parameter>
          <name>cblas_hack</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>exclude</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Method names to exclude (regex);</description>
        </parameter>
        <parameter>
          <name>extractChar</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>firstParam</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Prepended to the native function parameter list.</description>
        </parameter>
        <parameter>
          <name>fortran_hack</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>implementing</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The interface that we are implementing.</description>
        </parameter>
        <parameter>
          <name>includes</name>
          <type>java.util.List</type>
          <required>false</required>
          <editable>true</editable>
          <description>C Header files to include</description>
        </parameter>
        <parameter>
          <name>input</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The artifact of the jar to generate from. Note that this must be listed as a dependency section of the calling module, not a plugin dependency.</description>
        </parameter>
        <parameter>
          <name>javadoc</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>The artifact of the javadocs to extract parameter names. Note that this must be listed as a dependency section of the calling module, not a plugin dependency.</description>
        </parameter>
        <parameter>
          <name>lapacke_hack</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>noFirstParam</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>outputDir</name>
          <type>java.io.File</type>
          <required>true</required>
          <editable>true</editable>
          <description>Location of the generated source files.</description>
        </parameter>
        <parameter>
          <name>outputName</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description></description>
        </parameter>
        <parameter>
          <name>prefix</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Prepended to the native function name.</description>
        </parameter>
        <parameter>
          <name>scan</name>
          <type>java.lang.String</type>
          <required>true</required>
          <editable>true</editable>
          <description>The package to scan.</description>
        </parameter>
        <parameter>
          <name>suffix</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Suffixed to the native function name.</description>
        </parameter>
      </parameters>
      <configuration>
        <input implementation="java.lang.String" default-value="net.sourceforge.f2j:arpack_combined_all:jar:0.1"/>
        <javadoc implementation="java.lang.String" default-value="net.sourceforge.f2j:arpack_combined_all:jar:javadoc:0.1"/>
        <outputDir implementation="java.io.File" default-value="${project.build.directory}/generated-sources/netlib-java"/>
      </configuration>
    </mojo>
  </mojos>
</plugin>
New to GrepCode? Check out our FAQ X