For an archetype, I think this used to work...

In archetype.xml:
  <sources>
     <source>src/main/java/WelcomeBean.java</source>
     <source>src/main/resources/Bundle.properties</source>
  </sources>

The intent was to have Bundle.properties land in
src/main/resources/com/example/pkgname/Bundle.properties.

Now I get:
$ mvn archetype:create ...

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error creating from archetype

Embedded error: Template 'src/main/resources/Bundle.properties' not in directory
'src/main/java'

If I just put it in <resources> I don't get the package structure.

Is there a way to specify that the package structure should get
inserted for certain resources?

Thanks,
Wendy

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

Reply via email to