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

Jörg Hohwiller commented on MSITE-571:
--------------------------------------

I added test-jxr like this:

 <reportPlugins>
  <plugin>
   <groupId>org.apache.maven.plugins</groupId>
   <artifactId>maven-jxr-plugin</artifactId>
   <reportSets>
    <reportSet>
     <id>jxr</id>
     <reports>
      <report>jxr</report>
     </reports>
    </reportSet>
    <reportSet>
     <id>test-jxr</id>
     <reports>
      <report>test-jxr</report>
     </reports>
    </reportSet>
   </reportSets>
  </plugin>
   ...

I am still getting the xref problem, also for checkstyle that should be 
interested in main xref.

[INFO] Generating "Checkstyle" report    --- maven-checkstyle-plugin:2.5
[INFO] 
[WARNING] Unable to locate Source XRef to link to - DISABLED

> "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
>            Assignee: Lukas Theussl
>             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