Its not possible to specify multiple source directories in your project.xml.

However you can add source paths to a project; this is done in any plugin that generates source, eg this snippet from the antlr plugin:

      <path id="maven.antlr.compile.src.set"
            location="${maven.build.dir}/antlr"/>

      <maven:addPath id="maven.compile.src.set"
                     refid="maven.antlr.compile.src.set"/>

You'd put this in your maven.xml.

Scherzer, Georg wrote:
hi all

is it possible to use at the maven.xml file multiple source-Directories:
<sourceDirectories>
        <sourceDirectory>src/java</sourceDirectory>
        <sourceDirectory>src/ejb</sourceDirectory>
</sourceDirectories>
?

Why maven uses just the first entry?
Or should I create better to projects?

Georg

-----------------------------------------
_ Georg Scherzer
_|_|_ SCHEMA GmbH
|_| |_| Andernacher Str. 18 D - 90411 Nuernberg
Tel +(49)911 - 58 68 61-58
WWW <http://www.schema.de/>



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




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



Reply via email to