Hi, You need to read this: http://dev.xwiki.org/xwiki/bin/view/Community/Building Thanks -Vincent On Jan 10, 2008, at 5:25 PM, rssh wrote:
Good day,
I try to build xwiki-product-enterprise with fresh svn sourcs, but got error: looks like assemble files for databases in svn are invalid.
logs:
[rssh@a22 xwiki-product-enterprise]$ pwd /home/rssh/xwiki-repo/trunks/xwiki-product-enterprise
[rssh@a22 xwiki-product-enterprise]$ mvn -v Maven version: 2.0.8 Java version: 1.6.0_02 OS name: "linux" version: "2.6.22.14-72.fc6" arch: "i386" Family: "unix" [rssh@a22 xwiki-product-enterprise]$
and build itself:
[INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 second [INFO] Finished at: Thu Jan 10 18:24:23 EET 2008 [INFO] Final Memory: 1M/4M [INFO] ------------------------------------------------------------------------ [rssh@a22 xwiki-product-enterprise]$ mvn install [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] XWiki Products - Enterprise - Parent POM [INFO] XWiki Products - Enterprise - Wiki [INFO] XWiki Products - Enterprise - Database - Parent POM [INFO] XWiki Products - Enterprise - Database - HSQLDB [INFO] XWiki Products - Enterprise - Web [INFO] XWiki Products - Enterprise - Distribution - Parent POM [INFO] XWiki Products - Enterprise - Distribution - HSQLDB [INFO] ------------------------------------------------------------------------ [INFO] Building XWiki Products - Enterprise - Parent POM [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [site:attach-descriptor] [INFO] [install:install] [INFO] Installing /home/rssh/xwiki-repo/trunks/xwiki-product-enterprise/pom.xml to /home/rssh/.m2/repository/com/xpn/xwiki/products/xwiki-enterprise- parent/1.3-SNAPSHOT/xwiki-enterprise-parent-1.3-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] Building XWiki Products - Enterprise - Wiki [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [xwiki-build-xar:xar] [INFO] Building zip: /home/rssh/xwiki-repo/trunks/xwiki-product-enterprise/wiki/target/ xwiki-enterprise-wiki.xar [INFO] [install:install] [INFO] Installing /home/rssh/xwiki-repo/trunks/xwiki-product-enterprise/wiki/target/ xwiki-enterprise-wiki.xar to /home/rssh/.m2/repository/com/xpn/xwiki/products/xwiki-enterprise- wiki/1.3-SNAPSHOT/xwiki-enterprise-wiki-1.3-SNAPSHOT.xar [INFO] ------------------------------------------------------------------------ [INFO] Building XWiki Products - Enterprise - Database - Parent POM [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] [site:attach-descriptor] [INFO] [install:install] [INFO] Installing /home/rssh/xwiki-repo/trunks/xwiki-product-enterprise/database/ pom.xml to /home/rssh/.m2/repository/com/xpn/xwiki/products/xwiki-enterprise- database/1.3-SNAPSHOT/xwiki-enterprise-database-1.3-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [INFO] Building XWiki Products - Enterprise - Database - HSQLDB [INFO] task-segment: [install] [INFO] ------------------------------------------------------------------------ [INFO] Setting property: classpath.resource.loader.class => 'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'. [INFO] Setting property: velocimacro.messages.on => 'false'. [INFO] Setting property: resource.loader => 'classpath'. [INFO] Setting property: resource.manager.logwhenfound => 'false'. [INFO] [remote-resources:process {execution: default}] [INFO] [site:attach-descriptor] [INFO] [assembly:single {execution: default}] [INFO] Reading assembly descriptor: /home/rssh/xwiki-repo/trunks/xwiki-product-enterprise/database/ hsqldb/src/assemble/database.xml [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to create assembly: Error creating assembly archive: You must set at least one file.
[INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 8 seconds [INFO] Finished at: Thu Jan 10 18:24:37 EET 2008 [INFO] Final Memory: 14M/29M [INFO] ------------------------------------------------------------------------ [rssh@a22 xwiki-product-enterprise]$