php:php-validate
Full name:
org.phpmaven:maven-php-plugin:1.1-SNAPSHOT:php-validate
Description:
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}
Attributes:
- Requires a Maven 2.0 project to be executed.
- Requires dependency resolution of artifacts in scope:
runtime.
Required Parameters
| Name |
Type |
Since |
Description |
| ignoreIncludeErrors |
boolean |
- |
If true require_once or include_once errors will be ignored Default
is false. |
| ignoreValidate |
boolean |
- |
If true the validation will be skiped and the source files will be
moved to the target/classes folder wihtouth validation. false. |
| phpExe |
String |
- |
Path to the php executable. |
| sourceDirectory |
String |
- |
The php source folder. |
Optional Parameters
| Name |
Type |
Since |
Description |
| compileArgs |
String |
- |
PHP Compile args. Use php -h to get a list of all php compile
arguments. |
| excludeFromValidation |
String[] |
- |
A list of files which will not be validated but they will also be
part of the result. |
| excludes |
String[] |
- |
(no description) |
| forceOverwrite |
boolean |
- |
if true php maven will allways overwrite existing php files in the
classes folder even if the files in the target folder are newer or
at the same date |
| includes |
String[] |
- |
(no description) |
Parameter Details
compileArgs:
PHP Compile args. Use php -h to get a list of all php compile
arguments.
- Type:
java.lang.String
- Required:
No
excludeFromValidation:
A list of files which will not be validated but they will also be
part of the result.
- Type:
java.lang.String[]
- Required:
No
excludes:
(no description)
- Type:
java.lang.String[]
- Required:
No
forceOverwrite:
if true php maven will allways overwrite existing php files in the
classes folder even if the files in the target folder are newer or
at the same date
- Type:
boolean
- Required:
No
- Expression:
false
ignoreIncludeErrors:
If true require_once or include_once errors will be ignored Default
is false.
- Type:
boolean
- Required:
Yes
- Expression:
false
ignoreValidate:
If true the validation will be skiped and the source files will be
moved to the target/classes folder wihtouth validation. false.
- Type:
boolean
- Required:
Yes
- Expression:
false
includes:
(no description)
- Type:
java.lang.String[]
- Required:
No
phpExe:
Path to the php executable.
- Type:
java.lang.String
- Required:
Yes
- Expression:
php
sourceDirectory:
The php source folder.
- Type:
java.lang.String
- Required:
Yes
- Expression:
/src/main/php