On 5/21/05, Adrian Herscu <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> Using Maven 1.0.2.
> 
> maven eclipse generates only the test entry in the .classpath file

Hi,

Have you specified the src/main/java directory as a source directory
in your POM? Inside your <build> :
<sourceDirectory>src/main/java</sourceDirectory>

--
Kristian

> <classpathentry
>         output="target/test-classes"
>         kind="src"
>         path="src/test">
> </classpathentry>
> 
> this one should be manually added (otherwise the project will not build
> in Eclipse):
> 
> <classpathentry
>         output="target/classes"
>         kind="src"
>         path="src/main/java">
> </classpathentry>
> 
> Note that the source paths are generated according to the old Maven
> directory layout (not as described here:
> http://maven.apache.org/reference/conventions.html#Directory_Structure).
> 
> Adrian.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to