Now I'm curious about the /src/main/java part, as I do have mine under src
but no main/java

my projects are configured as:

/src/com/<company>   <-- java source
/classes   <-- eclipse compiled classes dir
/doc     <-- javadoc
/target  <-- maven output

The only path related item in my pom is in the maven-dependency-plugin
configuration, and it is the same for both projects.              
<outputDirectory>${project.build.directory}</outputDirectory>



Mark Hewett wrote:
> 
> Without having more information, it's going to be hard to tell.  Check
> that your project layout matches the Maven defaults - i.e.
> /src/main/java for the source files - or that you have overridden the
> defaults in your POM.  That seems the most obvious possibility.
> Otherwise, you could post your POM and your project layout so we can
> take a look.
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/new-class-doesn%27t-add-source-tf3096024.html#a8642000
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email

Reply via email to