You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Alexandre Poitras <al...@gmail.com> on 2006/04/01 00:31:12 UTC

Re: Generated Resources are not packaged

Just declare your resources directory in the "build/resources" section
of your pom or
generate the sources in the "src/main/resources" directory, which is
the default resources directory.


On 3/31/06, Roland Asmann <Ro...@cfc.at> wrote:
> Hi,
>
> I am using the ant-run plugin to generate some sources and have a seperate
> ant-run config to generate some property-files (in the generate-resource
> phase).
> When I tell maven to run everything and package it all up in a JAR, the
> generated resources are NOT inside the JAR. I only found the possibility in
> the ant-run plugin to add a source-root, but nothing like a resource-root...
> Can anybody tell me how I could get all my resources in the JAR?
>
> Thanks,
>
> Roland
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


--
Alexandre Poitras
Québec, Canada

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org