I didn't quite understand your question but note 2 things:
1. it should be ${pom.build.sourceDirectory}, not pom.sourceDirectory
2. If you put 2 directory elements in one resource it doesn't work - you
need two separate resource elements (although I don't think this was what
you were trying, it was just a comment)
- Brett
> -----Original Message-----
> From: Niclas Hedhman [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 14 April 2004 3:33 PM
> To: [EMAIL PROTECTED]
> Subject: <resource> filescanner bug?
>
>
>
> I have
> <build>
> <sourceDirectory>${basedir}/src/main</sourceDirectory>
> <resources>
> <resource>
> <directory>${pom.sourceDirectory}</directory>
> <!-- <directory>${maven.src.dir}</directory> == same result -->
> <includes>
> <include>**/*.properties</include>
> <include>**/*.x*</include>
> </includes>
> </resource>
> </resources>
>
> and in the -X output, I get;
>
> java:jar-resources:
> [DEBUG] FileSet: Setup scanner in dir
> /home/niclas/dev/opensource/avalon-sandbox/merlin-test/merlin-
> jmx-demo with
> patternSet{ includes: [**/*.properties, **/*.x*] excludes: [] }
>
>
> "merlin-jmx-demo" is the ${basedir}.
>
>
> WHY is the Fileset not established correctly?
> I am running RC2.
>
> Niclas
> --
> +---------//-------------------+
> | http://www.bali.ac |
> | http://niclas.hedhman.org |
> +------//----------------------+
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>