Hi Artem,;
Just tried it again and it worked fine for me:
Vincent:~/dev/xwiki/trunks-devs/xwiki-product-enterprise/database/
target vmassol$ ls -l
total 1024
drwxr-xr-x    3 vmassol  vmassol     102 Jul  6 13:22 classes
drwxr-xr-x    5 vmassol  vmassol     170 Jul  6 13:30 database
drwxr-xr-x   12 vmassol  vmassol     408 Jul  6 13:22 xar
-rw-r--r--    1 vmassol  vmassol  521303 Jul  6 13:22 xwiki-
enterprise-database-1.1-SNAPSHOT-hsqldb.zip
Do you still have the issue?
Thanks
-Vincent
On Jun 29, 2007, at 8:46 PM, Artem Melentyev wrote:
  Hello.
 I have a strange bug then building xwiki-enterprise-database by maven2
 indirectly (by pom <modules>):
 $ cd xwiki-product-enterprise
 $ mvn clean; mvn install
 result:
 database files in xwiki-product-enterprise/target/database but not in
  xwiki-product-enterprise/database/target/database
 so xwiki-enterprise-database-1.1-SNAPSHOT-hsqldb.zip is empty
 (if I directly building database (`cd xwiki-product-enterprise/
 database;
 mvn install;`) - all is fine)
 environment:
 maven-2.1-SNAPSHOT(29 june)
 sun-jdk-1.6
 xwiki trank (29 june), unchanged
 gentoo linux
 all configs looks normally
 I looked all configs, looked at mvn -X and found nothing strange.
 I created simple m2 project like xwiki-product-enterprise but with
 only
  the database as m2 module - the same error.
 Why it can be?
 --
   Artem Melentyev
 --
 You receive this message as a subscriber of the xwiki-
 dev(a)objectweb.org mailing list.
 To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
 For general help: mailto:sympa@objectweb.org?subject=help
 ObjectWeb mailing lists service home page: 
http://www.objectweb.org/
 wws