You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marco Brandizi (JIRA)" <ji...@codehaus.org> on 2010/05/10 17:44:12 UTC

[jira] Created: (SUREFIRE-616) surefire-report doesn't create target/site/css

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

                 Key: SUREFIRE-616
                 URL: http://jira.codehaus.org/browse/SUREFIRE-616
             Project: Maven Surefire
          Issue Type: Bug
          Components: Maven Surefire Report Plugin
         Environment: Maven 2.2.1, Java 1.6.0_17, OS/X 10.6.3
            Reporter: Marco Brandizi


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.

-- 
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

        

[jira] Commented: (SUREFIRE-616) surefire-report doesn't create target/site/css

Posted by "Oleg Mikheev (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SUREFIRE-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=233924#action_233924 ] 

Oleg Mikheev commented on SUREFIRE-616:
---------------------------------------

maven 2.2.1, maven-surefire-report-plugin 2.6 - same issue

> surefire-report doesn't create target/site/css
> ----------------------------------------------
>
>                 Key: SUREFIRE-616
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-616
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Report Plugin
>         Environment: Maven 2.2.1, Java 1.6.0_17, OS/X 10.6.3
>            Reporter: Marco Brandizi
>
> 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.

-- 
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

        

[jira] Commented: (SUREFIRE-616) surefire-report doesn't create target/site/css

Posted by "Ravi Shriram Mundhe (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SUREFIRE-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255019#action_255019 ] 

Ravi Shriram Mundhe commented on SUREFIRE-616:
----------------------------------------------

try this 
add version "2.4.2" for "org.apache.maven.plugins"

> surefire-report doesn't create target/site/css
> ----------------------------------------------
>
>                 Key: SUREFIRE-616
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-616
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Report Plugin
>         Environment: Maven 2.2.1, Java 1.6.0_17, OS/X 10.6.3
>            Reporter: Marco Brandizi
>
> 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.

-- 
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

        

[jira] Commented: (SUREFIRE-616) surefire-report doesn't create target/site/css

Posted by "Freddy Daoud (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SUREFIRE-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=223829#action_223829 ] 

Freddy Daoud commented on SUREFIRE-616:
---------------------------------------

Having the same issue with org.apache.maven.plugins, maven-surefire-plugin, version 2.5 and org.testng, testng, version 5.12.1.

> surefire-report doesn't create target/site/css
> ----------------------------------------------
>
>                 Key: SUREFIRE-616
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-616
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Report Plugin
>         Environment: Maven 2.2.1, Java 1.6.0_17, OS/X 10.6.3
>            Reporter: Marco Brandizi
>
> 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.

-- 
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

        

[jira] Commented: (SUREFIRE-616) surefire-report doesn't create target/site/css

Posted by "Borja Santos-Díez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SUREFIRE-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234396#action_234396 ] 

Borja Santos-Díez commented on SUREFIRE-616:
--------------------------------------------

Same issue here

Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
Java version: 1.6.0_14
maven-surefire-plugin, version 2.6

> surefire-report doesn't create target/site/css
> ----------------------------------------------
>
>                 Key: SUREFIRE-616
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-616
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Report Plugin
>         Environment: Maven 2.2.1, Java 1.6.0_17, OS/X 10.6.3
>            Reporter: Marco Brandizi
>
> 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.

-- 
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

       

[jira] Commented: (SUREFIRE-616) surefire-report doesn't create target/site/css

Posted by "Borja Santos-Díez (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/SUREFIRE-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234589#action_234589 ] 

Borja Santos-Díez commented on SUREFIRE-616:
--------------------------------------------

I think I found a temporary workaround... 

If you generate the whole site with 'mvn site' once, css and all that stuff will be generated. Then, when refreshing reports through surefire-report, it will find all the files it needs (unless you do a 'mvn clean', of course).

Hope it helps.

> surefire-report doesn't create target/site/css
> ----------------------------------------------
>
>                 Key: SUREFIRE-616
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-616
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Report Plugin
>         Environment: Maven 2.2.1, Java 1.6.0_17, OS/X 10.6.3
>            Reporter: Marco Brandizi
>
> 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.

-- 
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

       

[jira] Commented: (SUREFIRE-616) surefire-report doesn't create target/site/css

Posted by "Flemming Jønsson (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/SUREFIRE-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=272433#comment-272433 ] 

Flemming Jønsson commented on SUREFIRE-616:
-------------------------------------------

@Borja - I can confirm that after running mvn site the "mvn surefire-report:report-only" - will generate a report where styling is working.

After running mvn site I get $HOME/.maven/cache/maven-xdoc-plugin-1.8 which has this folder '/plugin-resources/css/' which in turn contains maven-base.css and maven-theme.css - after that the styling works for my junit html reports generated by maven-surefire-report-plugin version 2.9. If I delete the .maven folder I will have to do mvn site again before the html junit surefire-report styling works.

I had the same problem with 2.4.2 - it did not work for me before I had run 'mvn site'

I have tried looking for dependency groupId/artifactId for maven-xdoc-plugin, but I cannot seem to find it so I can depend on it. Anyone know what to write to get this working without having to run mvn site?

> surefire-report doesn't create target/site/css
> ----------------------------------------------
>
>                 Key: SUREFIRE-616
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-616
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Report Plugin
>         Environment: Maven 2.2.1, Java 1.6.0_17, OS/X 10.6.3
>            Reporter: Marco Brandizi
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] (SUREFIRE-616) surefire-report doesn't create target/site/css

Posted by "Todd Patterson (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/SUREFIRE-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=288609#comment-288609 ] 

Todd Patterson commented on SUREFIRE-616:
-----------------------------------------

Just voted for this issue, I'm hitting the same problem.

My environment:
* Window 7, x64
* Maven 2.2.1
* Java 1.6.0_24

Associated plugins and versions:
* Surefire Plugin 2.11
* Surefire Report Plugin 2.11
* Site Plugin 3.0

According to the latest Surefire Report usage doc ( http://maven.apache.org/plugins/maven-surefire-report-plugin/usage.html ), the standalone goal is now {{surefire-report:report}} but that fails to create the necessary css and images.

Would be really nice if users could avoid running {{site}} and just generate the surefire html report directly (without broken images and css).
                
> surefire-report doesn't create target/site/css
> ----------------------------------------------
>
>                 Key: SUREFIRE-616
>                 URL: https://jira.codehaus.org/browse/SUREFIRE-616
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Report Plugin
>         Environment: Maven 2.2.1, Java 1.6.0_17, OS/X 10.6.3
>            Reporter: Marco Brandizi
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira