[jira] [Commented] (SUREFIRE-683) Xref link generation regression with Maven 3
[ https://issues.apache.org/jira/browse/SUREFIRE-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17000210#comment-17000210 ] Elliotte Rusty Harold commented on SUREFIRE-683: anyone still working on this? > Xref link generation regression with Maven 3 > > > Key: SUREFIRE-683 > URL: https://issues.apache.org/jira/browse/SUREFIRE-683 > Project: Maven Surefire > Issue Type: Improvement > Components: Maven Surefire Report Plugin >Affects Versions: 2.7.1 > Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 11:58:32+0100) > Java version: 1.6.0_20 > Java home: /usr/lib/jvm/java-6-openjdk/jre > Default locale: en_GB, platform encoding: UTF-8 > OS name: "linux" version: "2.6.32-27-generic" arch: "i386" Family: "unix" >Reporter: Marc Rohlfs >Priority: Minor > Attachments: SUREFIRE-683_sample.zip > > > When the site reports are created with Maven 3, the this plugin doesn't > generate the links to the Source Xref pages, when the JXR Plugin hasn't been > executed before. > The plugin looks for the xrefLocation directory and if it doesn't exist, it > checks if the JXR plugin is configured for the project (see > http://maven.apache.org/plugins/maven-surefire-report-plugin/xref/org/apache/maven/plugins/surefire/report/SurefireReportMojo.html#203). > To properly generate the Xref links when the report is created with Maven 3, > the plugin should also check the reportPlugins paramerter of the Site plugin > configuration. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SUREFIRE-683) Xref link generation regression with Maven 3
[ https://issues.apache.org/jira/browse/SUREFIRE-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15520814#comment-15520814 ] Tibor Digana commented on SUREFIRE-683: --- [~hboutemy] I agree with you. I also do not like hardcodings. > Xref link generation regression with Maven 3 > > > Key: SUREFIRE-683 > URL: https://issues.apache.org/jira/browse/SUREFIRE-683 > Project: Maven Surefire > Issue Type: Improvement > Components: Maven Surefire Report Plugin >Affects Versions: 2.7.1 > Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 11:58:32+0100) > Java version: 1.6.0_20 > Java home: /usr/lib/jvm/java-6-openjdk/jre > Default locale: en_GB, platform encoding: UTF-8 > OS name: "linux" version: "2.6.32-27-generic" arch: "i386" Family: "unix" >Reporter: Marc Rohlfs >Priority: Minor > Attachments: SUREFIRE-683_sample.zip > > > When the site reports are created with Maven 3, the this plugin doesn't > generate the links to the Source Xref pages, when the JXR Plugin hasn't been > executed before. > The plugin looks for the xrefLocation directory and if it doesn't exist, it > checks if the JXR plugin is configured for the project (see > http://maven.apache.org/plugins/maven-surefire-report-plugin/xref/org/apache/maven/plugins/surefire/report/SurefireReportMojo.html#203). > To properly generate the Xref links when the report is created with Maven 3, > the plugin should also check the reportPlugins paramerter of the Site plugin > configuration. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SUREFIRE-683) Xref link generation regression with Maven 3
[ https://issues.apache.org/jira/browse/SUREFIRE-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15520802#comment-15520802 ] Hervé Boutemy commented on SUREFIRE-683: the way it is explained, I see "hard-coding some specific cases", then I don't like it this way but yes, we can improve the reporting mecanism if we need: maven-reporting-exec is responsible of preparing reporting plugins I suppose it could inject a parameter telling that jxr will be run, then the plugin can count on it, even if jxr hasn't been run yet Or even more generic: I suppose we could inject the list of reports Notice: since the report has to be able to run as a normal plugin, not during site generation, this may be problematic perhaps we could make some code from maven-reporting-exec public, to be able to read reporting section of MavenProject > Xref link generation regression with Maven 3 > > > Key: SUREFIRE-683 > URL: https://issues.apache.org/jira/browse/SUREFIRE-683 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Report Plugin >Affects Versions: 2.7.1 > Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 11:58:32+0100) > Java version: 1.6.0_20 > Java home: /usr/lib/jvm/java-6-openjdk/jre > Default locale: en_GB, platform encoding: UTF-8 > OS name: "linux" version: "2.6.32-27-generic" arch: "i386" Family: "unix" >Reporter: Marc Rohlfs >Priority: Minor > Attachments: SUREFIRE-683_sample.zip > > > When the site reports are created with Maven 3, the this plugin doesn't > generate the links to the Source Xref pages, when the JXR Plugin hasn't been > executed before. > The plugin looks for the xrefLocation directory and if it doesn't exist, it > checks if the JXR plugin is configured for the project (see > http://maven.apache.org/plugins/maven-surefire-report-plugin/xref/org/apache/maven/plugins/surefire/report/SurefireReportMojo.html#203). > To properly generate the Xref links when the report is created with Maven 3, > the plugin should also check the reportPlugins paramerter of the Site plugin > configuration. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (SUREFIRE-683) Xref link generation regression with Maven 3
[ https://issues.apache.org/jira/browse/SUREFIRE-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15520751#comment-15520751 ] Tibor Digana commented on SUREFIRE-683: --- [~hboutemy] Do you think that m-site-p may check if checkstyle surefire-report or PMD present in reporting and generate jxr in prior? Would it be good a idea? > Xref link generation regression with Maven 3 > > > Key: SUREFIRE-683 > URL: https://issues.apache.org/jira/browse/SUREFIRE-683 > Project: Maven Surefire > Issue Type: Bug > Components: Maven Surefire Report Plugin >Affects Versions: 2.7.1 > Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 11:58:32+0100) > Java version: 1.6.0_20 > Java home: /usr/lib/jvm/java-6-openjdk/jre > Default locale: en_GB, platform encoding: UTF-8 > OS name: "linux" version: "2.6.32-27-generic" arch: "i386" Family: "unix" >Reporter: Marc Rohlfs >Priority: Minor > Attachments: SUREFIRE-683_sample.zip > > > When the site reports are created with Maven 3, the this plugin doesn't > generate the links to the Source Xref pages, when the JXR Plugin hasn't been > executed before. > The plugin looks for the xrefLocation directory and if it doesn't exist, it > checks if the JXR plugin is configured for the project (see > http://maven.apache.org/plugins/maven-surefire-report-plugin/xref/org/apache/maven/plugins/surefire/report/SurefireReportMojo.html#203). > To properly generate the Xref links when the report is created with Maven 3, > the plugin should also check the reportPlugins paramerter of the Site plugin > configuration. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] Commented: (SUREFIRE-683) Xref link generation regression with Maven 3
[ http://jira.codehaus.org/browse/SUREFIRE-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=251789#action_251789 ] Marc Rohlfs commented on SUREFIRE-683: -- I wasn't sure for which project(s) I should create an issue. As I think that a probable fix would require changes in the Site Plugin 3 branch *and* in the affected report plugins, I decided to create issues for the report plugins and let the plugin developers decide if they'd also need to create an issue item for the Site Plugin (see [Maven User List: Xref link generation regression with Maven 3|http://maven.40175.n5.nabble.com/Xref-link-generation-regression-with-Maven-3-td3336017.html]). BTW: The Taglist Plugin und the Findbugs Plugin are also affected. Xref link generation regression with Maven 3 Key: SUREFIRE-683 URL: http://jira.codehaus.org/browse/SUREFIRE-683 Project: Maven Surefire Issue Type: Bug Components: Maven Surefire Report Plugin Affects Versions: 2.7.1 Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 11:58:32+0100) Java version: 1.6.0_20 Java home: /usr/lib/jvm/java-6-openjdk/jre Default locale: en_GB, platform encoding: UTF-8 OS name: linux version: 2.6.32-27-generic arch: i386 Family: unix Reporter: Marc Rohlfs Priority: Minor Attachments: SUREFIRE-683_sample.zip When the site reports are created with Maven 3, the this plugin doesn't generate the links to the Source Xref pages, when the JXR Plugin hasn't been executed before. The plugin looks for the xrefLocation directory and if it doesn't exist, it checks if the JXR plugin is configured for the project (see http://maven.apache.org/plugins/maven-surefire-report-plugin/xref/org/apache/maven/plugins/surefire/report/SurefireReportMojo.html#203). To properly generate the Xref links when the report is created with Maven 3, the plugin should also check the reportPlugins paramerter of the Site plugin configuration. -- 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-683) Xref link generation regression with Maven 3
[ http://jira.codehaus.org/browse/SUREFIRE-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=251750#action_251750 ] Kristian Rosenvold commented on SUREFIRE-683: - The code in question here is duplicated in Checkstyle, Pmd-plugin and surefire, and should be extracted somewhere when fixed? At a minimum the same fix should apply in all three cases Xref link generation regression with Maven 3 Key: SUREFIRE-683 URL: http://jira.codehaus.org/browse/SUREFIRE-683 Project: Maven Surefire Issue Type: Bug Components: Maven Surefire Report Plugin Affects Versions: 2.7.1 Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 11:58:32+0100) Java version: 1.6.0_20 Java home: /usr/lib/jvm/java-6-openjdk/jre Default locale: en_GB, platform encoding: UTF-8 OS name: linux version: 2.6.32-27-generic arch: i386 Family: unix Reporter: Marc Rohlfs Priority: Minor Attachments: SUREFIRE-683_sample.zip When the site reports are created with Maven 3, the this plugin doesn't generate the links to the Source Xref pages, when the JXR Plugin hasn't been executed before. The plugin looks for the xrefLocation directory and if it doesn't exist, it checks if the JXR plugin is configured for the project (see http://maven.apache.org/plugins/maven-surefire-report-plugin/xref/org/apache/maven/plugins/surefire/report/SurefireReportMojo.html#203). To properly generate the Xref links when the report is created with Maven 3, the plugin should also check the reportPlugins paramerter of the Site plugin configuration. -- 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-683) Xref link generation regression with Maven 3
[ http://jira.codehaus.org/browse/SUREFIRE-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=251754#action_251754 ] Dennis Lundberg commented on SUREFIRE-683: -- We should probably move the code to Site Plugin 3 branch. Xref link generation regression with Maven 3 Key: SUREFIRE-683 URL: http://jira.codehaus.org/browse/SUREFIRE-683 Project: Maven Surefire Issue Type: Bug Components: Maven Surefire Report Plugin Affects Versions: 2.7.1 Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 11:58:32+0100) Java version: 1.6.0_20 Java home: /usr/lib/jvm/java-6-openjdk/jre Default locale: en_GB, platform encoding: UTF-8 OS name: linux version: 2.6.32-27-generic arch: i386 Family: unix Reporter: Marc Rohlfs Priority: Minor Attachments: SUREFIRE-683_sample.zip When the site reports are created with Maven 3, the this plugin doesn't generate the links to the Source Xref pages, when the JXR Plugin hasn't been executed before. The plugin looks for the xrefLocation directory and if it doesn't exist, it checks if the JXR plugin is configured for the project (see http://maven.apache.org/plugins/maven-surefire-report-plugin/xref/org/apache/maven/plugins/surefire/report/SurefireReportMojo.html#203). To properly generate the Xref links when the report is created with Maven 3, the plugin should also check the reportPlugins paramerter of the Site plugin configuration. -- 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-683) Xref link generation regression with Maven 3
[ http://jira.codehaus.org/browse/SUREFIRE-683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=251193#action_251193 ] Marc Rohlfs commented on SUREFIRE-683: -- As a workaround You could just add a simple JXR Plugin configuration to the reporting section of Your (parent) POM: {code:xml} reporting plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-jxr-plugin/artifactId version2.2/version /plugin /plugins /reporting {code} Xref link generation regression with Maven 3 Key: SUREFIRE-683 URL: http://jira.codehaus.org/browse/SUREFIRE-683 Project: Maven Surefire Issue Type: Bug Components: Maven Surefire Report Plugin Affects Versions: 2.7.1 Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 11:58:32+0100) Java version: 1.6.0_20 Java home: /usr/lib/jvm/java-6-openjdk/jre Default locale: en_GB, platform encoding: UTF-8 OS name: linux version: 2.6.32-27-generic arch: i386 Family: unix Reporter: Marc Rohlfs Priority: Minor Attachments: SUREFIRE-683_sample.zip When the site reports are created with Maven 3, the this plugin doesn't generate the links to the Source Xref pages, when the JXR Plugin hasn't been executed before. The plugin looks for the xrefLocation directory and if it doesn't exist, it checks if the JXR plugin is configured for the project (see http://maven.apache.org/plugins/maven-surefire-report-plugin/xref/org/apache/maven/plugins/surefire/report/SurefireReportMojo.html#203). To properly generate the Xref links when the report is created with Maven 3, the plugin should also check the reportPlugins paramerter of the Site plugin configuration. -- 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