-
Improvement
-
Resolution: Fixed
-
Minor
-
None
-
Ubuntu x64, running Hudson Standalone
I have created a PHP Maven project with the Maven PHP Project, enabled the Task plugin, and set the files to scan to ***/*.php
No exclusions, typical scan of FIXME, TODO ; @deprecated, case insensitive.
No further configuration.
When a build is performed, I see the following output:
[INFO] [clean:clean] [INFO] Deleting directory /var/lib/hudson/jobs/HStore/workspace/target
[TASKS] Skipping non-existent folder '/var/lib/hudson/jobs/HStore/workspace/src/main/java'...
[TASKS] Skipping non-existent folder '/var/lib/hudson/jobs/HStore/workspace/src/test/java'...
[TASKS] Skipping non-existent folder '/var/lib/hudson/jobs/HStore/workspace/src/main/resources'...
[TASKS] Skipping non-existent folder '/var/lib/hudson/jobs/HStore/workspace/src/test/resources'...
[TASKS] Skipping maven reporter: there is already a result available
The last line is repeated several times during build.
The plugin seems to assume that this is a java project, and therefore searches for the default source folders, but fails to find any, since my code is in src/main/php. No php files seem to ever be scanned, and all reports show 0 tasks even when I add TODOs and FIXMEs.
- is related to
-
JENKINS-11571 Open tasks counted twice in maven multi-module projects
- Closed