[xwiki-devs] maven build of xwiki-product-enterprise in current svn failed
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]$ -- Ruslan Shevchenko GradSoft. http://www.gradsoft.ua
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.
Read http://dev.xwiki.org/xwiki/bin/view/Community/Building and especially http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven
On Thu, 10 Jan 2008 17:48:09 +0100, Sergiu Dumitriu wrote
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.
Read http://dev.xwiki.org/xwiki/bin/view/Community/Building and especially http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven
It would be good change 2.0.7 to 2.0.8 (or 2.0.x) on this page, because when some person read 'get our snapshot, since 2.0.7 or lesser does not work', when 2.0.8 available, than natural intention is to install 2.0.8, not snapshot. (I read this page, than updated maven to 2.0.8, than receive error. With 2.1-SNAPSHOT all works. Thanks.)
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Ruslan Shevchenko GradSoft. http://www.gradsoft.ua
Hi, On Jan 10, 2008, at 6:04 PM, rssh wrote:
On Thu, 10 Jan 2008 17:48:09 +0100, Sergiu Dumitriu wrote
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.
Read http://dev.xwiki.org/xwiki/bin/view/Community/Building and especially http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven
It would be good change 2.0.7 to 2.0.8 (or 2.0.x) on this page, because when some person read 'get our snapshot, since 2.0.7 or lesser does not work', when 2.0.8 available, than natural intention is to install 2.0.8, not snapshot.
Agreed. It's a wiki, just do it :)
(I read this page, than updated maven to 2.0.8, than receive error. With 2.1-SNAPSHOT all works. Thanks.)
cool Thanks -Vincent
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]$
participants (3)
-
rssh -
Sergiu Dumitriu -
Vincent Massol