[ 
http://jira.codehaus.org/browse/MSITE-571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=260986#action_260986
 ] 

Lukas Theussl commented on MSITE-571:
-------------------------------------

I actually ran your test project with 3.0-beta-4-SNAPSHOT:

* The menu "General Information" is duplicated because you explicitly ask for 
it: see inherit="top" in site.xml of the parent
* the relative links are fine AFAICS
* the ZipException is tracked at MPIR-220
* the surefire report complains (well, warns) because there are no test 
sources, so no test-xrefs were generated
* site:stage is supposed to be a 1:1 preview of site:deploy, for which 
distMngmnt is required, for consistency it is also required for site:stage 
(otherwise there are problems in particular with relative links in multi-module 
builds and non-standard directory layout)

I will close this as fixed, as I said above, please submit more targeted test 
cases so issues can be tracked separately.

> "Testcase" for maven-site-plugin 3.0-beta-3
> -------------------------------------------
>
>                 Key: MSITE-571
>                 URL: http://jira.codehaus.org/browse/MSITE-571
>             Project: Maven 2.x and 3.x Site Plugin
>          Issue Type: Bug
>          Components: site:deploy, site:stage(-deploy)
>    Affects Versions: 3.0-beta-3
>         Environment: Apache Maven 3.0 (r1004208; 2010-10-04 13:50:56+0200)
> Java version: 1.6.0_20
> Java home: /usr/local/jdk1.6.0_20/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.38-6-generic" arch: "amd64" Family: "unix"
>            Reporter: Jörg Hohwiller
>             Fix For: 3.0-beta-4
>
>         Attachments: site-testcase.zip
>
>
> I created a simple maven project that exposes some bugs in maven-site-plugin.
> I wanted to reproduce more of them but my time was running out and since the 
> test-case is now untouched for about a month I decided to better contribute 
> it now.
> Hopefully this makes it easy for developers of site plugin and according 
> ecosystem to reproduce and fix things quickly.
> Just extract the attached ZIP and invoke "mvn site:stage" using maven 3.0. If 
> you open the result in target/stating, you will see a bullet list describing 
> the actual problems:
> * The menu "General Information" is duplicated in child modules
> * The logic that makes the paths relative is buggy as you can see by the 
> top-left logo (if present, go to a child module of a child module).
> * During the build I get this error: java.util.zip.ZipException: error in 
> opening zip file
> * During the build surefire reports this even though jxr is active: Unable to 
> locate Test Source XRef to link to - DISABLED
> * If no distributionManagement is present, mvn site:stage fails. Why? If it 
> is present, then in target staging wired subfolders are created - what for? 
> See MSITE-132
> I suppose this issue is sort of a duplicate to existing individual issues. 
> Proceed as you prefer with it.
> If these issues are going to be fixed, I will find more time and motivation 
> to provide more test-cases to reproduce bugs as I still have many more of 
> them in my actual project :)

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


Reply via email to