Maven Surefire
  1. Maven Surefire
  2. SUREFIRE-616

surefire-report doesn't create target/site/css

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Maven 2.2.1, Java 1.6.0_17, OS/X 10.6.3
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      Description

      I've just try " mvn surefire-report:report-only" and I get what said in the subject. It creates site surefire-report.html, but not the css/*.css files that are imported by such html. The result is quite ugly to see.

        Activity

        Hide
        Marcel Stör added a comment -

        It doesn't look like the project team considers that many people want an HTML report without creating a Maven site. It's been 4 years since this was first reported

        So, as so often...Ant to the rescue: http://stackoverflow.com/a/2847475/131929

        Show
        Marcel Stör added a comment - It doesn't look like the project team considers that many people want an HTML report without creating a Maven site. It's been 4 years since this was first reported So, as so often...Ant to the rescue: http://stackoverflow.com/a/2847475/131929
        Hide
        Andreas Gudian added a comment -

        Indeed, I myself almost never use the report goal when running tests standalone. But that's also in part due to the funny layout and the missing style sheet...
        The report goal could use a some love here and there, and as usual: we're open for good ideas, especially when accomodated by good patches / pull requests.

        Show
        Andreas Gudian added a comment - Indeed, I myself almost never use the report goal when running tests standalone. But that's also in part due to the funny layout and the missing style sheet... The report goal could use a some love here and there, and as usual: we're open for good ideas, especially when accomodated by good patches / pull requests.
        Hide
        Michael Osipov added a comment -

        Andreas, I wouldn't fix this issue for this particular plugin because other plugins suffer from this issue or similar ones too. We need a generic approach.

        Show
        Michael Osipov added a comment - Andreas, I wouldn't fix this issue for this particular plugin because other plugins suffer from this issue or similar ones too. We need a generic approach.
        Hide
        Marcel Stör added a comment -

        other plugins suffer from this issue or similar ones too

        Can you back this up with examples?

        Show
        Marcel Stör added a comment - other plugins suffer from this issue or similar ones too Can you back this up with examples?
        Hide
        Michael Osipov added a comment - - edited

        MCHECKSTYLE-126. The general problem is that when a report is gerenerated outside of the site phase, strange things can happen.

        Show
        Michael Osipov added a comment - - edited MCHECKSTYLE-126 . The general problem is that when a report is gerenerated outside of the site phase, strange things can happen.

          People

          • Assignee:
            Unassigned
            Reporter:
            Marco Brandizi
          • Votes:
            19 Vote for this issue
            Watchers:
            21 Start watching this issue

            Dates

            • Created:
              Updated: