jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Maven 2.x Project Info Reports Plugin
  • Maven 2.x Project Info Reports Plugin
  • MPIR-176

Support picture URLs in team report

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 2.1.2
  • Fix Version/s: 2.6
  • Component/s: project-team
  • Labels:
    None
  • Patch Submitted:
    Yes
  • Number of attachments :
    4

Description

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.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Text File
    MPIR-176_add_picUrl_property_support_with_unit_tests.patch
    05/Nov/09 4:23 AM
    16 kB
    Jerome Lacoste
  2. Text File
    MPIR-176_add_picUrl_property_support.patch
    04/Nov/09 7:46 AM
    7 kB
    Jerome Lacoste
  3. XML File
    project-team-plugin-config-with_pictures.xml
    04/Nov/09 7:47 AM
    2 kB
    Jerome Lacoste
  4. HTML File
    team-list.html
    04/Nov/09 7:53 AM
    4 kB
    Jerome Lacoste

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Jerome Lacoste added a comment - 04/Nov/09 7:47 AM

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

Show
Jerome Lacoste added a comment - 04/Nov/09 7:47 AM The test file I tried to use for testing the new feature.
Hide
Permalink
Jerome Lacoste added a comment - 04/Nov/09 7:53 AM

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

Show
Jerome Lacoste added a comment - 04/Nov/09 7:53 AM 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
Hide
Permalink
Jerome Lacoste added a comment - 05/Nov/09 4:23 AM

New patch with unit tests.

Show
Jerome Lacoste added a comment - 05/Nov/09 4:23 AM New patch with unit tests.
Hide
Permalink
Kristian Rosenvold added a comment - 24/Oct/12 5:28 AM

Fixed with unit test in r1401610.

We now support properties/picUrl as well as gravatar.com for the email address

Show
Kristian Rosenvold added a comment - 24/Oct/12 5:28 AM Fixed with unit test in r1401610. We now support properties/picUrl as well as gravatar.com for the email address

People

  • Assignee:
    Kristian Rosenvold
    Reporter:
    Jerome Lacoste
Vote (0)
Watch (1)

Dates

  • Created:
    04/Nov/09 7:46 AM
    Updated:
    24/Oct/12 5:28 AM
    Resolved:
    24/Oct/12 5:28 AM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.