j'ai générer un archetype de projet avec cette commande
mvn archetype:generate -DarchetypeGroupId=org.phpmaven -DarchetypeArtifactId=php5-web-archetype -DarchetypeVersion=1.1 -DgroupId=org.sample -DartifactId=my-app
Donc c'est un projet php très simple avec un fichier app.php et un fichier test apptest.php.
J'ai configuré le plugin maven-php-plugin :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| <plugins>
....
<plugin>
<groupId>org.phpmaven</groupId>
<artifactId>maven-php-plugin</artifactId>
<version>1.1</version>
<extensions>true</extensions>
<configuration>
<phpExe>php</phpExe>
<ignoreValidate>false</ignoreValidate>
<sourceDirectory>/src/main/php</sourceDirectory>
<testDirectory>/src/test/php</testDirectory>
<testFile>apptest.php</testFile>
</configuration>
</plugin>
...
</plugins> |
lorsque je le lance la phase de "build" netbeans 7.0 me renvoie :
Failed to execute goal org.phpmaven:maven-php-plugin:1.1:phpunit (default-phpunit) on project my-app: C:\Users\laurent\Desktop\Documents\NetBeansProjects\my-app\target\phpinc\PHPUnit-3.3.9\package.sig (Le chemin d’accès spécifié est introuvable) -> [Help 1]
je ne vois pas du tout ce qu'il faut faire pour terminer la phase de build...
quelqu'un pourrait m'aider?
Partager