title: Cant see changes in .java file when running Junit with Eclipse before mvn install
body: <p>I have multi module maven project. The technologies I use is Spring and Struts. I created test case and run it as :</p>
  
  <pre><code>@RunWith(SpringJUnit4ClassRunner.class)
  @ContextConfiguration(locations = { "classpath:applicationContextSimpleTest.xml" })
  public class CurrencySpeakerTest
  </code></pre>
  
  <p>Everything is fine... until I make some changes in source... I cant see them until i run <code>mvn install</code> on the parent project. Whats wrong? I tried to look into the debug configuration but I cant find the place where its said to look on compile source instead of <code>.java</code> files... I think this is the reason that junit is running the <code>.class</code> files instead of real one... anybody has any idea about that?</p>
  
  <hr>
  
  <p>I have 3 module app ... they are build with parent module. Parent module is also the imported project in eclipse.I do the changes in one of three module in the test folder. I hit refresh and I do clean/build eclipse project manually ( if i enable automatically build it wont change anything). I run the test as JUnit with eclipse dialog. Eclipse seems not to see the changes in edited test file (.java). </p>
  
  <p>Maybe this has something to do with the one main project which includes the other modules? 
  What is strange is that... if I edit any other classes not in the test folder and run web app with tomcat plugin, Eclipse sees the changes there?</p>
  
  <hr>
  
  <p>I use mvn clean and mvn install but this is not the issue.
  I use Eclipse to run the test but the Eclipse debugger cant see the changes in the code... for eg if I add System.out.println() somewhere and put the breakpoint there I run the test and Eclipse doesnt stop there because it looks somehow on the old code (I assume the .class file)...or if I delete the line,edit some String...nothing... it seems to point on the .class...why is that? Refresh and clean/build eclipse project doesnt work.</p>