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)
  • Maven 2 & 3
  • MNG-2053

Implements a better toString method in the maven objects exemple in : o.a.m.p.MavenProject

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Duplicate
  • Affects Version/s: 2.0.2
  • Fix Version/s: None
  • Component/s: POM
  • Labels:
    None
  • Environment:
    all
  • Complexity:
    Intermediate

Description

In order to debug mojo, I use mvn -X.
Exemple with the eclipse plugin, I have something like this in the output :
[DEBUG] (f) reactorProjects = [org.apache.maven.project.MavenProject@e29b03d6,
org.apache.maven.project.MavenProject@db660f38, org.apache.maven.project.MavenP
roject@eecae9aa, org.apache.maven.project.MavenProject@a44caf, org.apache.maven.
project.MavenProject@adb676ad, org.apache.maven.project.MavenProject@33defbd1, o
rg.apache.maven.project.MavenProject@f11d7dff, org.apache.maven.project.MavenPro
ject@c08c0a31, org.apache.maven.project.MavenProject@1309c11]
Could we have a better toString() method with the minimum of information in case of maven project groupId, artifactId and version ?
This could be done with a lot of core object Resource ....
Olivier

Issue Links

duplicates

Improvement - An improvement or enhancement to an existing feature or task. MNG-3201 org.apache.maven.project.MavenProject needs a toString()

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Improvement - An improvement or enhancement to an existing feature or task. MNG-3469 Resource needs a toString() method to properly print in debug mode

  • Major - Major loss of function.
  • Closed - The issue is considered finished, the resolution is correct. Issues which are not closed can be reopened.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
There are no comments yet on this issue.

People

  • Assignee:
    Benjamin Bentmann
    Reporter:
    Olivier Lamy
Vote (0)
Watch (0)

Dates

  • Created:
    08/Feb/06 8:17 AM
    Updated:
    04/Dec/10 4:32 PM
    Resolved:
    04/Dec/10 4:32 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.