JingGe commented on pull request #18333:
URL: https://github.com/apache/flink/pull/18333#issuecomment-1013019012


   @codecholeric I found that ArchUnit will not scan any jars when running it 
in IntelliJ by trying this ImportOption: 
   
   ```
       /** Only include classes when the location is jar. */
       public static final class OnlyIncludeJars implements ImportOption {
           @Override
           public boolean includes(Location location) {
               return location.isJar();
           }
       }
   ```
   
   It will only scan paths defined by the `PatternPredicate` in `ImportOption` 
and figure out classes to evaluate, which makes the running behaviours between 
using maven(test-jar) and IntelliJ(Classes) different. Could you help 
confirming whether it is true? Thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to