[JIRA] Created: (HUDSON-6127) Plugin seems to assume a Java project structure

classic Classic list List threaded Threaded
12 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-6127) Plugin seems to assume a Java project structure

Hudson issues mailing list
Plugin seems to assume a Java project structure
-----------------------------------------------

                 Key: HUDSON-6127
                 URL: http://issues.hudson-ci.org/browse/HUDSON-6127
             Project: Hudson
          Issue Type: Bug
          Components: tasks
    Affects Versions: current
         Environment: Ubuntu x64, running Hudson Standalone
            Reporter: jsotuyod
            Assignee: drulli


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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6127) Plugin seems to assume a Java project structure

Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137491#action_137491 ]

khmarbaise commented on HUDSON-6127:
------------------------------------

Have you defined the packaging type php in your pom? May be you can post your pom?

> Plugin seems to assume a Java project structure
> -----------------------------------------------
>
>                 Key: HUDSON-6127
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6127
>             Project: Hudson
>          Issue Type: Bug
>          Components: tasks
>    Affects Versions: current
>         Environment: Ubuntu x64, running Hudson Standalone
>            Reporter: jsotuyod
>            Assignee: drulli
>
> 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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6127) Plugin seems to assume a Java project structure

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137495#action_137495 ]

drulli commented on HUDSON-6127:
--------------------------------

Hmm, I'm reading the folders directly from the pom. Can you please attach you pom?

> Plugin seems to assume a Java project structure
> -----------------------------------------------
>
>                 Key: HUDSON-6127
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6127
>             Project: Hudson
>          Issue Type: Bug
>          Components: tasks
>    Affects Versions: current
>         Environment: Ubuntu x64, running Hudson Standalone
>            Reporter: jsotuyod
>            Assignee: drulli
>
> 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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-6127) Plugin seems to assume a Java project structure

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jsotuyod updated HUDSON-6127:
-----------------------------

    Attachment: pom.xml

I here attach my pom.xml (discarding irrelevant parts as most dependencies and exec tasks that would just clutter).

It's the basic configuration, as described by the php maven plugin (http://www.php-maven.org/).

I'm not explicitly setting any source folders.

> Plugin seems to assume a Java project structure
> -----------------------------------------------
>
>                 Key: HUDSON-6127
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6127
>             Project: Hudson
>          Issue Type: Bug
>          Components: tasks
>    Affects Versions: current
>         Environment: Ubuntu x64, running Hudson Standalone
>            Reporter: jsotuyod
>            Assignee: drulli
>         Attachments: pom.xml
>
>
> 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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-6127) Plugin seems to assume a Java project structure

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jsotuyod updated HUDSON-6127:
-----------------------------

    Description:
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.

  was:
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.


> Plugin seems to assume a Java project structure
> -----------------------------------------------
>
>                 Key: HUDSON-6127
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6127
>             Project: Hudson
>          Issue Type: Bug
>          Components: tasks
>    Affects Versions: current
>         Environment: Ubuntu x64, running Hudson Standalone
>            Reporter: jsotuyod
>            Assignee: drulli
>         Attachments: pom.xml
>
>
> 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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-6127) Tasks plugin assumes a Java project structure

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mdonohue updated HUDSON-6127:
-----------------------------

    Summary: Tasks plugin assumes a Java project structure  (was: Plugin seems to assume a Java project structure)

> Tasks plugin assumes a Java project structure
> ---------------------------------------------
>
>                 Key: HUDSON-6127
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6127
>             Project: Hudson
>          Issue Type: Bug
>          Components: tasks
>    Affects Versions: current
>         Environment: Ubuntu x64, running Hudson Standalone
>            Reporter: jsotuyod
>            Assignee: drulli
>         Attachments: pom.xml
>
>
> 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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6127) Tasks plugin assumes a Java project structure

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=137944#action_137944 ]

drulli commented on HUDSON-6127:
--------------------------------

This seems to be a bug in Hudson core. Until this is fixed you can use the freestyle project type.

> Tasks plugin assumes a Java project structure
> ---------------------------------------------
>
>                 Key: HUDSON-6127
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6127
>             Project: Hudson
>          Issue Type: Bug
>          Components: maven2, tasks-plugin
>    Affects Versions: current
>         Environment: Ubuntu x64, running Hudson Standalone
>            Reporter: jsotuyod
>            Assignee: drulli
>         Attachments: pom.xml
>
>
> 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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-6127) Tasks plugin assumes a Java project structure

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

drulli updated HUDSON-6127:
---------------------------

    Component/s: tasks-plugin
                     (was: tasks)

> Tasks plugin assumes a Java project structure
> ---------------------------------------------
>
>                 Key: HUDSON-6127
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6127
>             Project: Hudson
>          Issue Type: Bug
>          Components: maven2, tasks-plugin
>    Affects Versions: current
>         Environment: Ubuntu x64, running Hudson Standalone
>            Reporter: jsotuyod
>            Assignee: drulli
>         Attachments: pom.xml
>
>
> 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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-6127) Tasks plugin assumes a Java project structure

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

drulli updated HUDSON-6127:
---------------------------

    Component/s: maven2

> Tasks plugin assumes a Java project structure
> ---------------------------------------------
>
>                 Key: HUDSON-6127
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6127
>             Project: Hudson
>          Issue Type: Bug
>          Components: maven2, tasks-plugin
>    Affects Versions: current
>         Environment: Ubuntu x64, running Hudson Standalone
>            Reporter: jsotuyod
>            Assignee: drulli
>         Attachments: pom.xml
>
>
> 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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (HUDSON-6127) Tasks plugin assumes a Java project structure

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

    [ http://issues.hudson-ci.org/browse/HUDSON-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138130#action_138130 ]

drulli commented on HUDSON-6127:
--------------------------------

Can you please check with the owners of the maven php plug-in if they correctly fill the compileSourceRoots in the maven pom? When I debug I see that the PHP mojo has a separate field sourceDirectory with the correct value but the call to pom.getCompileSourceRoots() is unchanged from maven defaults (src/main/java). This could be a bug in the maven php plug-in.

> Tasks plugin assumes a Java project structure
> ---------------------------------------------
>
>                 Key: HUDSON-6127
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6127
>             Project: Hudson
>          Issue Type: Bug
>          Components: maven2, tasks-plugin
>    Affects Versions: current
>         Environment: Ubuntu x64, running Hudson Standalone
>            Reporter: jsotuyod
>            Assignee: drulli
>         Attachments: pom.xml
>
>
> 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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Updated: (HUDSON-6127) Tasks plugin assumes a Java project structure

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

drulli updated HUDSON-6127:
---------------------------

    Priority: Minor  (was: Major)

> Tasks plugin assumes a Java project structure
> ---------------------------------------------
>
>                 Key: HUDSON-6127
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6127
>             Project: Hudson
>          Issue Type: Bug
>          Components: maven2, tasks-plugin
>    Affects Versions: current
>         Environment: Ubuntu x64, running Hudson Standalone
>            Reporter: jsotuyod
>            Assignee: drulli
>            Priority: Minor
>         Attachments: pom.xml
>
>
> 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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Closed: (HUDSON-6127) Tasks plugin assumes a Java project structure

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

drulli closed HUDSON-6127.
--------------------------

    Resolution: Not A Defect

This needs to be addressed in the PHP maven 2 plug-in.

> Tasks plugin assumes a Java project structure
> ---------------------------------------------
>
>                 Key: HUDSON-6127
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6127
>             Project: Hudson
>          Issue Type: Bug
>          Components: maven2, tasks-plugin
>    Affects Versions: current
>         Environment: Ubuntu x64, running Hudson Standalone
>            Reporter: jsotuyod
>            Assignee: drulli
>            Priority: Minor
>         Attachments: pom.xml
>
>
> 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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]