There are too many factors you are not explaining here. The easiest would be to attach your project so others can look at it.

In a mean time you may want to check Problems view to see if there is any errors shown there, e.g. your source folders may not be configured properly or you missing dependencies, or there are some other configuration errors. You can also run "Maven / Update project Configuration" action to make sure your Eclipse project is up to date with pom.xml

 regards,
 Eugene


youhaodeyi wrote:
I setup a Maven project in Eclipse and set the src/main/java, src/test/java
as its soruce folder. I have clicked the Project->build automatically menu
item. But the source code in src/test/java directory can be built
automatically while the source code under src/main/java can't be built
unless I clean the project. I wander why the src/main/java can't be built
automatically.

thanks.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to