hmm, not sure if it's the right solution, but I just specified the resources
to be sources..
<sources>
<source>src/main/resources/layer.xml</source>
<source>src/main/resources/Bundle.properties</source>
</sources>
that seemed to do the trick as far as I remember.
Regards
Milos
On 12/29/05, Nathan Hamblen <[EMAIL PROTECTED]> wrote:
>
> I'd like to create an archetype that builds projects with a resource that
> maps to the same directory where the class files will eventually reside.
> The Maven 2 project itself would have the following structure:
>
> src
> `-- main
> |-- java
> | `-- somepackagename
> | `-- SomeClassName.java
> `-- resources
> `-- somepackagename
> `-- SomeClassName.properties
>
> This works fine, I just can't figure out how to create it via an
> archetype.
> SomeClassName.java will be put into whatever package the user requests
> automatically, but the properties file will just sit under "resources".
>
> Is there a way to do this -- and I don't mind if it's ugly -- or is the
> archetype creator just not that flexible yet?
>
> (Hi, I'm new here. Thanks for Maven 2; it's saving my life!)
>
> Nathan
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>