You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Aristedes Maniatis (JIRA)" <ji...@codehaus.org> on 2011/04/01 14:23:22 UTC

[jira] Created: (MSITE-577) generateReports still copies css and images folders

generateReports still copies css and images folders
---------------------------------------------------

                 Key: MSITE-577
                 URL: http://jira.codehaus.org/browse/MSITE-577
             Project: Maven 2.x and 3.x Site Plugin
          Issue Type: Bug
    Affects Versions: 3.0-beta-3
            Reporter: Aristedes Maniatis


With this config:

<configuration>
  <generateReports>false</generateReports>
</configuration>

all the reports are stopped, but the css and images folders are still copied. These should not be copied over since there is no html for which they are relevant. Not having these folders in place is very useful if we are using the site phase for documentation generated by other means (and we still want to take advantage of things like the site-deploy).

-- 
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: (MSITE-577) generateReports still copies css and images folders

Posted by "Aristedes Maniatis (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=262308#action_262308 ] 

Aristedes Maniatis commented on MSITE-577:
------------------------------------------

Do the customised files in src/site/apt require the default report images and style sheets?

> generateReports still copies css and images folders
> ---------------------------------------------------
>
>                 Key: MSITE-577
>                 URL: http://jira.codehaus.org/browse/MSITE-577
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0-beta-3
>            Reporter: Aristedes Maniatis
>
> With this config:
> <configuration>
>   <generateReports>false</generateReports>
> </configuration>
> all the reports are stopped, but the css and images folders are still copied. These should not be copied over since there is no html for which they are relevant. Not having these folders in place is very useful if we are using the site phase for documentation generated by other means (and we still want to take advantage of things like the site-deploy).

-- 
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: (MSITE-577) generateReports still copies css and images folders

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=262280#action_262280 ] 

Dennis Lundberg commented on MSITE-577:
---------------------------------------

The generated site is made up of more than reports, it also includes the site documents from src/site/apt and others. So we need to copy the css and images folders.

> generateReports still copies css and images folders
> ---------------------------------------------------
>
>                 Key: MSITE-577
>                 URL: http://jira.codehaus.org/browse/MSITE-577
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0-beta-3
>            Reporter: Aristedes Maniatis
>
> With this config:
> <configuration>
>   <generateReports>false</generateReports>
> </configuration>
> all the reports are stopped, but the css and images folders are still copied. These should not be copied over since there is no html for which they are relevant. Not having these folders in place is very useful if we are using the site phase for documentation generated by other means (and we still want to take advantage of things like the site-deploy).

-- 
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: (MSITE-577) generateReports still copies css and images folders

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=262359#action_262359 ] 

Lukas Theussl commented on MSITE-577:
-------------------------------------

What about using a trivial custom skin without any css or images? In any case, I don't quite understand what you are doing, it sounds like you shouldn't rely on the site plugin at all since you are using your own 'docbook generation plugin', and you shouldn't have to hack maven core either. Also I don't see why this is actually a problem apart from copying unused resources. If your custom plugin uses the same resources you have to override them anyway and if they are not used, they don't get in your way, so why bother?

> generateReports still copies css and images folders
> ---------------------------------------------------
>
>                 Key: MSITE-577
>                 URL: http://jira.codehaus.org/browse/MSITE-577
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0-beta-3
>            Reporter: Aristedes Maniatis
>
> With this config:
> <configuration>
>   <generateReports>false</generateReports>
> </configuration>
> all the reports are stopped, but the css and images folders are still copied. These should not be copied over since there is no html for which they are relevant. Not having these folders in place is very useful if we are using the site phase for documentation generated by other means (and we still want to take advantage of things like the site-deploy).

-- 
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: (MSITE-577) generateReports still copies css and images folders

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=262346#action_262346 ] 

Lukas Theussl commented on MSITE-577:
-------------------------------------

You should run the site:deploy goal instead of the site-deploy phase then, see [Deploying a Site|http://maven.apache.org/plugins/maven-site-plugin/usage.html].

> generateReports still copies css and images folders
> ---------------------------------------------------
>
>                 Key: MSITE-577
>                 URL: http://jira.codehaus.org/browse/MSITE-577
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0-beta-3
>            Reporter: Aristedes Maniatis
>
> With this config:
> <configuration>
>   <generateReports>false</generateReports>
> </configuration>
> all the reports are stopped, but the css and images folders are still copied. These should not be copied over since there is no html for which they are relevant. Not having these folders in place is very useful if we are using the site phase for documentation generated by other means (and we still want to take advantage of things like the site-deploy).

-- 
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: (MSITE-577) generateReports still copies css and images folders

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=262315#action_262315 ] 

Dennis Lundberg commented on MSITE-577:
---------------------------------------

Yes, but they are not connected to the reports. Instead they are parts of that we call a skin. You can read more about skins at
http://maven.apache.org/plugins/maven-site-plugin/examples/creatingskins.html

> generateReports still copies css and images folders
> ---------------------------------------------------
>
>                 Key: MSITE-577
>                 URL: http://jira.codehaus.org/browse/MSITE-577
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0-beta-3
>            Reporter: Aristedes Maniatis
>
> With this config:
> <configuration>
>   <generateReports>false</generateReports>
> </configuration>
> all the reports are stopped, but the css and images folders are still copied. These should not be copied over since there is no html for which they are relevant. Not having these folders in place is very useful if we are using the site phase for documentation generated by other means (and we still want to take advantage of things like the site-deploy).

-- 
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: (MSITE-577) generateReports still copies css and images folders

Posted by "Aristedes Maniatis (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=262347#action_262347 ] 

Aristedes Maniatis commented on MSITE-577:
------------------------------------------

Sure (and I don't want to turn this bug tracker into a maven support forum). But I'm using site:site as the convenient goal for hooking in the docbook generation plugin (and other resource generation stuff I have). Ideally I'd extend the maven goals by adding in site:docbook, but I don't believe it is possible to add goals in this way without hacking at the core of maven.

I guess there are other ways to solve this problem, and for now I've added in an ant plugin to delete the images/css files added by maven-site. But this isn't very robust since those files are liable to change with an upgrade of maven-site.

Let me phrase this bug report in a different way. If you don't want to use the default skin. Can you make the default images/css go away? I can see ways to override the files one by one. But that's not what I had in mind.

> generateReports still copies css and images folders
> ---------------------------------------------------
>
>                 Key: MSITE-577
>                 URL: http://jira.codehaus.org/browse/MSITE-577
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0-beta-3
>            Reporter: Aristedes Maniatis
>
> With this config:
> <configuration>
>   <generateReports>false</generateReports>
> </configuration>
> all the reports are stopped, but the css and images folders are still copied. These should not be copied over since there is no html for which they are relevant. Not having these folders in place is very useful if we are using the site phase for documentation generated by other means (and we still want to take advantage of things like the site-deploy).

-- 
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] Closed: (MSITE-577) generateReports still copies css and images folders

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MSITE-577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lukas Theussl closed MSITE-577.
-------------------------------

    Resolution: Won't Fix
      Assignee: Lukas Theussl

> generateReports still copies css and images folders
> ---------------------------------------------------
>
>                 Key: MSITE-577
>                 URL: https://jira.codehaus.org/browse/MSITE-577
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0-beta-3
>            Reporter: Aristedes Maniatis
>            Assignee: Lukas Theussl
>
> With this config:
> <configuration>
>   <generateReports>false</generateReports>
> </configuration>
> all the reports are stopped, but the css and images folders are still copied. These should not be copied over since there is no html for which they are relevant. Not having these folders in place is very useful if we are using the site phase for documentation generated by other means (and we still want to take advantage of things like the site-deploy).

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

        

[jira] Commented: (MSITE-577) generateReports still copies css and images folders

Posted by "Aristedes Maniatis (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSITE-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=262340#action_262340 ] 

Aristedes Maniatis commented on MSITE-577:
------------------------------------------

Like so much of maven, the documentation is very sparse. I can't see anywhere on that page how the css/images for the reporting functionality relates to files inside src/site/apt. The best docs about skins (which I understand at a basic level) I found are http://www.coderoshi.com/2007/02/generating-site-and-documentation-in.html That still doesn't give us a list of the basic images/css files, although it suggests how you can override them one at a time. It doesn't tell us how to make them go away.

Anyhow, this task is a simple one: if you suppress all report generation and you have nothing in /site/apt then all you get generated is a couple of useless folders images and css. Since I'm trying to subvert the whole maven site generation concept (I've got everything in docbook) I just want maven to get out of the way. But I still want to take advantage of the site:deploy functionality which is useful.

> generateReports still copies css and images folders
> ---------------------------------------------------
>
>                 Key: MSITE-577
>                 URL: http://jira.codehaus.org/browse/MSITE-577
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0-beta-3
>            Reporter: Aristedes Maniatis
>
> With this config:
> <configuration>
>   <generateReports>false</generateReports>
> </configuration>
> all the reports are stopped, but the css and images folders are still copied. These should not be copied over since there is no html for which they are relevant. Not having these folders in place is very useful if we are using the site phase for documentation generated by other means (and we still want to take advantage of things like the site-deploy).

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