3 Replies Latest reply on Jun 5, 2013 12:50 PM by Alexey Kazakov

    CDI validator reporting ambiguity due to test classes

    Shay Matasaro Newbie



      The CDI validator for src/main/java is processing  and showing warnings for beans and producers that are in src/test/java .


      I have added an exclude line to the main beans.xml "^(.*)Test$"   but the errors are still showing.


      Does the CDI validator take beans.xml into account?


      Is there a way to distinguish between main and test validation?