{"id":237,"date":"2010-04-14T11:02:03","date_gmt":"2010-04-14T11:02:03","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/2010\/04\/14\/reporting-plugins-in-maven\/"},"modified":"2021-11-20T05:15:01","modified_gmt":"2021-11-20T05:15:01","slug":"reporting-plugins-in-maven","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/reporting-plugins-in-maven\/","title":{"rendered":"Reporting Plugins in Maven | Maven Plugins That Provide Reports"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4274\" src=\"http:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2010\/04\/reporting-plugins-in-maven.png\" alt=\"reporting-plugins-in-maven\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2010\/04\/reporting-plugins-in-maven.png 600w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2010\/04\/reporting-plugins-in-maven-300x200.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><b>Reporting plugins<\/b><br>\nPlugins which generate reports, are configured as reports in the POM and run under the site generation<br>\nlifecycle.<\/p>\n<p>This plugin consists of several reports that you can run selectively, individually or even run all of them. Please see below for instructions on how to configure your pom.xml to do this.<\/p>\n<p><b>Run All Reports<\/b><br>\nTo include all Project Info Reports in your project, you must configure your pom.xml. Use &#8220;mvn site:site&#8221; to generate the configured reports.<\/p>\n<p>project<br>\n&#8230;<\/p>\n<p>&#8230;<br>\norg.apache.maven.plugins<br>\nmaven-project-info-reports-plugin<br>\n&#8230;<\/p>\n<p>&#8230;<\/p>\n<p><b>Run Selective Reports<\/b><\/p>\n<p>&#8230;<\/p>\n<p>&#8230;<br>\norg.apache.maven.plugins<br>\nmaven-project-info-reports-plugin<\/p>\n<p>dependencies<br>\nproject-team<br>\nmailing-list<br>\ncim<br>\nissue-tracking<br>\nlicense<br>\nscm<\/p>\n<p>&#8230;<\/p>\n<p>&#8230;<\/p>\n<p><b>Reporting plugins are configured in the POM as in this example:<\/b><br>\n&#8230;<\/p>\n<p>org.apache.maven.plugins<br>\nmaven-project-info-reports-plugin<\/p>\n<p>&#8230;<\/p>\n<p><b>Configuration in the reporting section also applies if plugin goals are invoked individually. The converse is not true&#8211; if you configure the plugin inside , that configuration will NOT apply to .<\/b><\/p>\n<p><b>Configuring multiple reports for one plugin using . Each must have a unique . For more information on UMLGraph, see the UMLGraph site and this page.<\/b><\/p>\n<p>&#8230;<\/p>\n<p>org.apache.maven.plugins<br>\nmaven-javadoc-plugin<\/p>\n<p>uml<\/p>\n<p>gr.spinellis.umlgraph.doclet.UmlGraph<\/p>\n<p>gr.spinellis<br>\nUmlGraph<br>\n4.4<\/p>\n<p>-views<br>\ntarget\/uml<br>\nprivate<\/p>\n<p>javadoc<\/p>\n<p>html<\/p>\n<p>private<\/p>\n<p>javadoc<\/p>\n<p>&#8230;<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"0\">\n<tbody>\n<tr>\n<td valign=\"top\" width=\"159\">Plugins<\/td>\n<td valign=\"top\" width=\"53\">Type<\/td>\n<td valign=\"top\" width=\"74\">Version<\/td>\n<td valign=\"top\" width=\"74\">Release Date<\/td>\n<td valign=\"top\" width=\"103\">Description<\/td>\n<td valign=\"top\" width=\"95\">Source Repository<\/td>\n<td valign=\"top\" width=\"81\">Issue Tracking<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"159\">changelog<\/td>\n<td valign=\"top\" width=\"53\">R<\/td>\n<td valign=\"top\" width=\"74\">2.1<\/td>\n<td valign=\"top\" width=\"74\">2007-07-25<\/td>\n<td valign=\"top\" width=\"103\">Generate a<br>\nlist of recent<br>\nchanges from<br>\nyour SCM.<\/td>\n<td valign=\"top\" width=\"95\">SVN<\/td>\n<td valign=\"top\" width=\"81\">JIRA<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"159\">changes<\/td>\n<td valign=\"top\" width=\"53\">B+R<\/td>\n<td valign=\"top\" width=\"74\">2.1<\/td>\n<td valign=\"top\" width=\"74\">2008-11-24<\/td>\n<td valign=\"top\" width=\"103\">Generate a<br>\nreport from<br>\nissue tracking<br>\nor a change<br>\ndocument.<\/td>\n<td valign=\"top\" width=\"95\">SVN<\/td>\n<td valign=\"top\" width=\"81\">JIRA<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"159\">checkstyle<\/td>\n<td valign=\"top\" width=\"53\">B+R<\/td>\n<td valign=\"top\" width=\"74\">2.3<\/td>\n<td valign=\"top\" width=\"74\">2009-07-14<\/td>\n<td valign=\"top\" width=\"103\">Generate a<br>\ncheckstyle<br>\nreport.<\/td>\n<td valign=\"top\" width=\"95\">SVN<\/td>\n<td valign=\"top\" width=\"81\">JIRA<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"159\">clover<\/td>\n<td valign=\"top\" width=\"53\">B+R<\/td>\n<td valign=\"top\" width=\"74\">2.4<\/td>\n<td valign=\"top\" width=\"74\">2007-04-23<\/td>\n<td valign=\"top\" width=\"103\">Generate<br>\na Clover<br>\nreport. NOTE:<br>\nMoved to<br>\nAtlassian.com<\/td>\n<td valign=\"top\" width=\"95\">SVN<\/td>\n<td valign=\"top\" width=\"81\">JIRA<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"159\">doap<\/td>\n<td valign=\"top\" width=\"53\">B<\/td>\n<td valign=\"top\" width=\"74\">1.0<\/td>\n<td valign=\"top\" width=\"74\">2008-08-01<\/td>\n<td valign=\"top\" width=\"103\">Generate a<br>\nDescription<br>\nof a Project<br>\n(DOAP) file<br>\nfrom a POM.<\/td>\n<td valign=\"top\" width=\"95\">SVN<\/td>\n<td valign=\"top\" width=\"81\">JIRA<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"159\">docck<\/td>\n<td valign=\"top\" width=\"53\">B<\/td>\n<td valign=\"top\" width=\"74\">1.0<\/td>\n<td valign=\"top\" width=\"74\">2008-11-16<\/td>\n<td valign=\"top\" width=\"103\">Documentation<br>\nchecker<br>\nplugin.<\/td>\n<td valign=\"top\" width=\"95\">SVN<\/td>\n<td valign=\"top\" width=\"81\">JIRA<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"159\">javadoc<\/td>\n<td valign=\"top\" width=\"53\">B+R<\/td>\n<td valign=\"top\" width=\"74\">2.6<\/td>\n<td valign=\"top\" width=\"74\">2009-07-29<\/td>\n<td valign=\"top\" width=\"103\">Generate<br>\nJavadoc for<br>\nthe project.<\/td>\n<td valign=\"top\" width=\"95\">SVN<\/td>\n<td valign=\"top\" width=\"81\">JIRA<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"159\">Jxr<\/td>\n<td valign=\"top\" width=\"53\">R<\/td>\n<td valign=\"top\" width=\"74\">2.1<\/td>\n<td valign=\"top\" width=\"74\">2007-04-05<\/td>\n<td valign=\"top\" width=\"103\">Generate a<br>\nsource cross<br>\nreference.<\/td>\n<td valign=\"top\" width=\"95\">SVN<\/td>\n<td valign=\"top\" width=\"81\">JIRA<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"159\">pmd<\/td>\n<td valign=\"top\" width=\"53\">B+R<\/td>\n<td valign=\"top\" width=\"74\">2.4<\/td>\n<td valign=\"top\" width=\"74\">2008-01-08<\/td>\n<td valign=\"top\" width=\"103\">Generate a<br>\nPMD report.<\/td>\n<td valign=\"top\" width=\"95\">SVN<\/td>\n<td valign=\"top\" width=\"81\">JIRA<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"159\">projectinforeports<\/td>\n<td valign=\"top\" width=\"53\">R<\/td>\n<td valign=\"top\" width=\"74\">2.1.2<\/td>\n<td valign=\"top\" width=\"74\">2009-07-23<\/td>\n<td valign=\"top\" width=\"103\">Generate<br>\nstandard<br>\nproject<br>\nreports.<\/td>\n<td valign=\"top\" width=\"95\">SVN<\/td>\n<td valign=\"top\" width=\"81\">JIRA<\/td>\n<\/tr>\n<tr>\n<td valign=\"top\" width=\"159\">surefirereport<\/td>\n<td valign=\"top\" width=\"53\">R<\/td>\n<td valign=\"top\" width=\"74\">2.4.3<\/td>\n<td valign=\"top\" width=\"74\">2008-05-14<\/td>\n<td valign=\"top\" width=\"103\">Generate a<br>\nreport based<br>\non the results<br>\nof unit tests.<\/td>\n<td valign=\"top\" width=\"95\">SVN<\/td>\n<td valign=\"top\" width=\"81\">JIRA<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Known Plugins That Provide Reports<\/h2>\n<ul>\n<li><a href=\"http:\/\/maven.apache.org\/plugins\/maven-project-info-reports-plugin\/\" rel=\"nofollow noopener\" target=\"_blank\">Project-Info-Reports<\/a> &#8211; Standard Reports<\/li>\n<li><a href=\"http:\/\/maven.apache.org\/plugins\/maven-javadoc-plugin\/\" rel=\"nofollow noopener\" target=\"_blank\">Javadoc<\/a> &#8211; Javadoc<\/li>\n<li><a href=\"http:\/\/mojo.codehaus.org\/jxr-maven-plugin\/\" rel=\"nofollow noopener\" target=\"_blank\">JXR<\/a> &#8211; Source Cross-Reference<\/li>\n<li><a href=\"http:\/\/mojo.codehaus.org\/surefire-report-maven-plugin\/\" rel=\"nofollow noopener\" target=\"_blank\">Surefire-Report<\/a> &#8211; Surefire Test Report<\/li>\n<li><a href=\"http:\/\/mojo.codehaus.org\/changes-maven-plugin\/\" rel=\"nofollow noopener\" target=\"_blank\">Changes<\/a> &#8211; Changes &amp; JIRA Report<\/li>\n<li><a href=\"http:\/\/mojo.codehaus.org\/taglist-maven-plugin\/\" rel=\"nofollow noopener\" target=\"_blank\">Taglist<\/a> &#8211; Taglist Report (For TODO, @deprecated, etc.)<\/li>\n<li><a href=\"http:\/\/maven.apache.org\/plugins\/maven-pmd-plugin\/\" rel=\"nofollow noopener\" target=\"_blank\">PMD<\/a> &#8211; PMD Report for Source-code analysis<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n\n<div class=\"epyt-gallery\" data-currpage=\"1\" id=\"epyt_gallery_14639\"><figure class=\"wp-block-embed wp-block-embed-youtube is-type-video is-provider-youtube epyt-figure\"><div class=\"wp-block-embed__wrapper\"><iframe loading=\"lazy\"  id=\"_ytid_52403\"  width=\"760\" height=\"427\"  data-origwidth=\"760\" data-origheight=\"427\" src=\"https:\/\/www.youtube.com\/embed\/?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  no-lazyload\" title=\"YouTube player\"  data-epytgalleryid=\"epyt_gallery_14639\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe><\/div><\/figure><div class=\"epyt-gallery-list\"><div>Sorry, there was a YouTube error.<\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Reporting plugins Plugins which generate reports, are configured as reports in the POM and run under the site generation lifecycle. This plugin consists of several reports that you can run selectively, individually or even run all of them. Please see below for instructions on how to configure your pom.xml to do this. Run All Reports&#8230;<\/p>\n","protected":false},"author":1,"featured_media":4274,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[29],"tags":[3887,282,3889,507,161,3886,3891,3885,3888,3890,1076,3883,3884],"class_list":["post-237","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-maven","tag-apache-maven-plugin","tag-configuration","tag-configuring-reports","tag-list","tag-maven","tag-maven-plugins-that-provide-reports","tag-maven-pom-reporting","tag-maven-reporting-plugins","tag-maven-reporting-tag","tag-maven-surefire-report-plugin","tag-plugins","tag-report","tag-reporting-plugins"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=237"}],"version-history":[{"count":3,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/237\/revisions"}],"predecessor-version":[{"id":25870,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/237\/revisions\/25870"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/4274"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}