Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<?xml version="1.0" encoding="UTF-8"?>
<plugin>
  <name>Apache Trinidad Maven JDev Plugin</name>
  <description>The MyFaces project is home of the first free open source JavaServer Faces
       implementation as well as some useful JSF component libraries and other
       convenient JSF stuff.</description>
  <groupId>org.apache.myfaces.trinidadbuild</groupId>
  <artifactId>maven-jdev-plugin</artifactId>
  <version>2.0.6</version>
  <goalPrefix>jdev</goalPrefix>
  <isolatedRealm>false</isolatedRealm>
  <inheritedByDefault>true</inheritedByDefault>
  <mojos>
    <mojo>
      <goal>jdev</goal>
      <description>Generates the JDeveloper Workspace and Projects
from a maven development environment.</description>
      <requiresDependencyResolution>test</requiresDependencyResolution>
      <requiresDirectInvocation>false</requiresDirectInvocation>
      <requiresProject>true</requiresProject>
      <requiresReports>false</requiresReports>
      <aggregator>false</aggregator>
      <requiresOnline>false</requiresOnline>
      <inheritedByDefault>true</inheritedByDefault>
      <executePhase>process-resources</executePhase>
      <implementation>org.apache.myfaces.trinidadbuild.plugin.jdeveloper.JDeveloperMojo</implementation>
      <language>java</language>
      <instantiationStrategy>per-lookup</instantiationStrategy>
      <executionStrategy>once-per-session</executionStrategy>
      <parameters>
        <parameter>
          <name>compiler</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Compiler to be used by JDeveloper. &quot;Ojc&quot; is the default.  
If this parameter is absent or anything other than &quot;Javac&quot;, &quot;Ojc&quot; will
be used.</description>
        </parameter>
        <parameter>
          <name>distributedTagLibraries</name>
          <type>java.util.Properties[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>Tag libraries and their properties.</description>
        </parameter>
        <parameter>
          <name>force</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Force the Mojo to use the default project.xml or
workspace.xml file to be used in creation of the
workspace file (.jws) or project file (.jpr). Otherwise,
if a .jws or .jpr exists, it will be used instead.</description>
        </parameter>
        <parameter>
          <name>javaOptions</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>JVM javaOptions found under 
Project Properties-&gt;Run/Debug/Profile-&gt;Launch Settings-&gt;Java Options
in JDeveloper. &quot;-ea&quot; is the default for &quot;enableAssertions&quot;.</description>
        </parameter>
        <parameter>
          <name>libraries</name>
          <type>java.lang.String[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>Libraries to include in Classpath.</description>
        </parameter>
        <parameter>
          <name>makeProject</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Make the entire project before each run.  Running anything in the
project will automatically trigger a make of the entire project
followed by the run.</description>
        </parameter>
        <parameter>
          <name>project</name>
          <type>org.apache.maven.project.MavenProject</type>
          <required>true</required>
          <editable>false</editable>
          <description>Name of the Maven Project</description>
        </parameter>
        <parameter>
          <name>projectHasTests</name>
          <type>boolean</type>
          <required>false</required>
          <editable>true</editable>
          <description>Does project have tests? Used to determine if the
maven-jdev-plugin needs to create a &lt;project name&gt;-test.jpr</description>
        </parameter>
        <parameter>
          <name>reactorProjects</name>
          <type>java.util.List</type>
          <required>true</required>
          <editable>false</editable>
          <description>List of reactorProjects</description>
        </parameter>
        <parameter>
          <name>release</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Create JDeveloper Workspace and Project Files that correspond to
the format used</description>
        </parameter>
        <parameter>
          <name>resourceRoots</name>
          <type>java.io.File[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>List of resource root directories</description>
        </parameter>
        <parameter>
          <name>runTarget</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Default file to be run when JDeveloper project is run.</description>
        </parameter>
        <parameter>
          <name>sourceRoots</name>
          <type>java.io.File[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>List of source root directories</description>
        </parameter>
        <parameter>
          <name>tagLibDirectory</name>
          <type>java.lang.String</type>
          <required>false</required>
          <editable>true</editable>
          <description>Tag library directory used by each distributed jsf tag library</description>
        </parameter>
        <parameter>
          <name>testResourceRoots</name>
          <type>java.io.File[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>List of resource root directories for the test project</description>
        </parameter>
        <parameter>
          <name>testSourceRoots</name>
          <type>java.io.File[]</type>
          <required>false</required>
          <editable>true</editable>
          <description>List of source root directories for the test project</description>
        </parameter>
      </parameters>
      <configuration>
        <compiler implementation="java.lang.String" default-value="Ojc">${jdev.compiler}</compiler>
        <force implementation="boolean" default-value="false">${force}</force>
        <javaOptions implementation="java.lang.String" default-value="-ea">${jdev.jvm.java.options}</javaOptions>
        <makeProject implementation="boolean" default-value="false">${jdev.make.project}</makeProject>
        <project implementation="org.apache.maven.project.MavenProject">${project}</project>
        <projectHasTests implementation="boolean" default-value="false">${jdev.project.has.tests}</projectHasTests>
        <reactorProjects implementation="java.util.List">${reactorProjects}</reactorProjects>
        <release implementation="java.lang.String" default-value="10.1.3.0.4">${jdev.release}</release>
        <runTarget implementation="java.lang.String">${jdev.run.target}</runTarget>
        <tagLibDirectory implementation="java.lang.String">${jdev.tag.lib.dir}</tagLibDirectory>
      </configuration>
    </mojo>
  </mojos>
  <dependencies>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-project</artifactId>
      <type>jar</type>
      <version>2.0</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-profile</artifactId>
      <type>jar</type>
      <version>2.0</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-model</artifactId>
      <type>jar</type>
      <version>2.0</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-artifact-manager</artifactId>
      <type>jar</type>
      <version>2.0</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-repository-metadata</artifactId>
      <type>jar</type>
      <version>2.0</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.wagon</groupId>
      <artifactId>wagon-provider-api</artifactId>
      <type>jar</type>
      <version>1.0-alpha-5</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-utils</artifactId>
      <type>jar</type>
      <version>1.0.4</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-artifact</artifactId>
      <type>jar</type>
      <version>2.0</version>
    </dependency>
    <dependency>
      <groupId>org.codehaus.plexus</groupId>
      <artifactId>plexus-container-default</artifactId>
      <type>jar</type>
      <version>1.0-alpha-8</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>
    <dependency>
      <groupId>org.apache.maven</groupId>
      <artifactId>maven-plugin-api</artifactId>
      <type>jar</type>
      <version>2.0</version>
    </dependency>
    <dependency>
      <groupId>stax</groupId>
      <artifactId>stax-api</artifactId>
      <type>jar</type>
      <version>1.0.1</version>
    </dependency>
    <dependency>
      <groupId>stax</groupId>
      <artifactId>stax</artifactId>
      <type>jar</type>
      <version>1.2.0_rc2-dev</version>
    </dependency>
  </dependencies>
</plugin>
New to GrepCode? Check out our FAQ X