Created: (MPIR-176) Support picture URLs in team report

View: New views
4 Messages — Rating Filter:   Alert me  

Created: (MPIR-176) Support picture URLs in team report

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Support picture URLs in team report
-----------------------------------

                 Key: MPIR-176
                 URL: http://jira.codehaus.org/browse/MPIR-176
             Project: Maven 2.x Project Info Reports Plugin
          Issue Type: Improvement
          Components: project-team
    Affects Versions: 2.1.2
            Reporter: Jerome Lacoste
            Priority: Trivial
         Attachments: MPIR-176_add_picUrl_property_support.patch, project-team-plugin-config-with_pictures.xml

The maven POM reference contains a picUrl property: http://maven.apache.org/pom.html#Developers

<properties>
  <picUrl>http://tinyurl.com/prv4t</picUrl>
</properties>

The attached lets the team-report mojo automatically add a Picture column that adds a table cell that displays the picture

<td><img src="yourPicUrl"/></td>

I quickly tried to add a test case but for some reason, the generated Developer model didn't contain the Properties. The plugin works though when running on my project.

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

       

Updated: (MPIR-176) Support picture URLs in team report

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MPIR-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerome Lacoste updated MPIR-176:
--------------------------------

    Attachment: project-team-plugin-config-with_pictures.xml

The test file I tried to use for testing the new feature.

> Support picture URLs in team report
> -----------------------------------
>
>                 Key: MPIR-176
>                 URL: http://jira.codehaus.org/browse/MPIR-176
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Improvement
>          Components: project-team
>    Affects Versions: 2.1.2
>            Reporter: Jerome Lacoste
>            Priority: Trivial
>         Attachments: MPIR-176_add_picUrl_property_support.patch, project-team-plugin-config-with_pictures.xml
>
>
> The maven POM reference contains a picUrl property: http://maven.apache.org/pom.html#Developers
> <properties>
>   <picUrl>http://tinyurl.com/prv4t</picUrl>
> </properties>
> The attached lets the team-report mojo automatically add a Picture column that adds a table cell that displays the picture
> <td><img src="yourPicUrl"/></td>
> I quickly tried to add a test case but for some reason, the generated Developer model didn't contain the Properties. The plugin works though when running on my project.

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

       

Updated: (MPIR-176) Support picture URLs in team report

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MPIR-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerome Lacoste updated MPIR-176:
--------------------------------

    Attachment: team-list.html

The team-list.html generated by

mvn install
mkdir tmp
cd tmp
cp ../src/test/resources/plugin-configs/project-team-plugin-config-with_pictures.xml pom.xml

(comment out <build> node in pom.xml)

mvn project-info-reports:project-team


> Support picture URLs in team report
> -----------------------------------
>
>                 Key: MPIR-176
>                 URL: http://jira.codehaus.org/browse/MPIR-176
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Improvement
>          Components: project-team
>    Affects Versions: 2.1.2
>            Reporter: Jerome Lacoste
>            Priority: Trivial
>         Attachments: MPIR-176_add_picUrl_property_support.patch, project-team-plugin-config-with_pictures.xml, team-list.html
>
>
> The maven POM reference contains a picUrl property: http://maven.apache.org/pom.html#Developers
> <properties>
>   <picUrl>http://tinyurl.com/prv4t</picUrl>
> </properties>
> The attached lets the team-report mojo automatically add a Picture column that adds a table cell that displays the picture
> <td><img src="yourPicUrl"/></td>
> I quickly tried to add a test case but for some reason, the generated Developer model didn't contain the Properties. The plugin works though when running on my project.

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

       

Updated: (MPIR-176) Support picture URLs in team report

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MPIR-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerome Lacoste updated MPIR-176:
--------------------------------

    Attachment: MPIR-176_add_picUrl_property_support_with_unit_tests.patch

New patch with unit tests.

> Support picture URLs in team report
> -----------------------------------
>
>                 Key: MPIR-176
>                 URL: http://jira.codehaus.org/browse/MPIR-176
>             Project: Maven 2.x Project Info Reports Plugin
>          Issue Type: Improvement
>          Components: project-team
>    Affects Versions: 2.1.2
>            Reporter: Jerome Lacoste
>            Priority: Trivial
>         Attachments: MPIR-176_add_picUrl_property_support.patch, MPIR-176_add_picUrl_property_support_with_unit_tests.patch, project-team-plugin-config-with_pictures.xml, team-list.html
>
>
> The maven POM reference contains a picUrl property: http://maven.apache.org/pom.html#Developers
> <properties>
>   <picUrl>http://tinyurl.com/prv4t</picUrl>
> </properties>
> The attached lets the team-report mojo automatically add a Picture column that adds a table cell that displays the picture
> <td><img src="yourPicUrl"/></td>
> I quickly tried to add a test case but for some reason, the generated Developer model didn't contain the Properties. The plugin works though when running on my project.

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