Andy LoPresto created NIFI-6337:
-----------------------------------

             Summary: Fix groovy tests in nifi-properties-loader module
                 Key: NIFI-6337
                 URL: https://issues.apache.org/jira/browse/NIFI-6337
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Tools and Build
    Affects Versions: 1.9.2
            Reporter: Andy LoPresto
            Assignee: Andy LoPresto


The Groovy tests in {{nifi-properties-loader}} were not running because there 
was no {{src/test/java}} directory. This is a known issue. The two solutions 
(in preferred order): 

1. Add a custom plugin configuration to the module's {{pom.xml}} to explicitly 
add the {{src/test/groovy}} directory as a resource
1. Add an empty file in {{src/test/java/Example.java}}

The latter is confusing to developers unfamiliar with this issue and subject to 
accidental "cleanup" in the future. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to