public boolean canGenerateReport()

in src/main/java/org/apache/maven/plugins/jira/JiraMojo.java [304:326]


    public boolean canGenerateReport()
    {
        // Run only at the execution root
        if ( runOnlyAtExecutionRoot && !isThisTheExecutionRoot() )
        {
            getLog().info( "Skipping the JIRA Report in this project because it's not the Execution Root" );
            return false;
        }
        if ( skip )
        {
            return false;
        }
        if ( mockDownloader != null )
        {
            return true;
        }
        String message = ProjectUtils.validateIssueManagement( project, "JIRA", "JIRA Report" );
        if ( message != null )
        {
            getLog().warn( message );
        }
        return message == null;
    }