@ Override public boolean canGenerateReport ( ) { populateSettings ( ) ; boolean isCapable = false ; for ( Artifact a : getProject ( ) . getArtifacts ( ) ) { if ( ! getArtifactScopeExcluded ( ) . passes ( a . getScope ( ) ) ) { isCapable = true ; break ; } } return isCapable ; }
Returns whether or not a the report can be generated .