Plugin-Dokumentation

Verfügbare Goals dieses Plugins:

GoalBericht?Beschreibung
jdtaus-container-mojo:clean-sourcesNeinMojo to cleanup source files (e.g. remove trailing spaces).
jdtaus-container-mojo:helpNeinDisplay help information on jdtaus-container-mojo.
Call
  mvn jdtaus-container-mojo:help -Ddetail=true -Dgoal=<goal-name>
to display parameter details.
jdtaus-container-mojo:java-commitNeinMojo to commit container meta-data to compiled java classes.
jdtaus-container-mojo:java-commit-testsNeinMojo to commit container meta-data to compiled java test classes.
jdtaus-container-mojo:java-containerNeinMojo to generate java code.
jdtaus-container-mojo:java-container-testsNeinMojo to generate test java code.
jdtaus-container-mojo:reportJaGenerates a report for the artifact's container metadata.
jdtaus-container-mojo:spring-descriptorNeinMojo to generate a spring beans descriptor with corresponding support classes from a project.
jdtaus-container-mojo:verify-jarNeinMojo to validate a set of modules from a single jar file.
jdtaus-container-mojo:verify-modelNeinMojo to validate set of modules.

Systemvoraussetzungen

Die folgende Tabelle listet die Mindestanforderungen zum Ausführen dieses Plugins auf:

Maven2.0
JDKDefault target for maven-compiler-plugin version 2.5.1
ArbeitsspeicherKeine Mindestanforderung.
FestplatteKeine Mindestanforderung.

Gebrauch

Geben Sie die gewünschte Version einfach in der Plugin-Konfiguration Ihres Projekts an:

<project>
  ...
  <build>
    <!-- Zum Definieren der Plugin-Version in der Eltern-POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.jdtaus.mojo</groupId>
          <artifactId>jdtaus-container-mojo</artifactId>
          <version>3.13</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- Zum Verwenden der Plugin-Goals während des Build-Vorgangs eines Projekts -->
    <plugins>
      <plugin>
        <groupId>org.jdtaus.mojo</groupId>
        <artifactId>jdtaus-container-mojo</artifactId>
        <version>3.13</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
  <!-- Zum Erzeugen der Berichte für die Projektdokumentation -->
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.jdtaus.mojo</groupId>
        <artifactId>jdtaus-container-mojo</artifactId>
        <version>3.13</version>
      </plugin>
      ...
    </plugins>
  </reporting>
  ...
</project>

Für weitergehende Informationen lesen Sie bitte den Artikel "Guide to Configuring Plug-ins".