Plugin Documentation

Goals available for this plugin:

Goal Report? Description
php:doxygen Yes A maven 2.0 plugin for generating doxygen documentations. This plugin is used in the site phase.
php:php-validate No php-validate execute the php with all php files under the source folder. All dependencies will be part of the include_path. The comand line call looks like php {compileArgs} -d={generatedIncludePath} {sourceFile}
php:phpdocumentor Yes A maven 2.0 plugin for generating phpdocumentor documentations.This plugin is used in the site phase.
php:phpunit No PHPUnit executes phpunit TestCases and generate SourceFire Reports.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 2.0
JDK 1.5
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You could run 'mvn -up' to get the latest version of this plugin, or specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.phpmaven</groupId>
          <artifactId>maven-php-plugin</artifactId>
          <version>1.0-BETA-1</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.phpmaven</groupId>
        <artifactId>maven-php-plugin</artifactId>
        <version>1.0-BETA-1</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
  <!-- To use the report goals in your POM or parent POM -->
  <reporting>
    <plugins>
      <plugin>
        <groupId>org.phpmaven</groupId>
        <artifactId>maven-php-plugin</artifactId>
        <version>1.0-BETA-1</version>
      </plugin>
      ...
    </plugins>
  </reporting>
  ...
</project>
For more information, see "Guide to Configuring Plug-ins"