What branch / tag of https://github.com/xwiki/xwiki-platform/ are you building? Did you make any changes (is git status clean) ? Did you configure Maven as per http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven ? What OS are you using?
I have no problem building the entire xwiki-platform-wiki module on the clean master branch, using Maven 3.0.4 and Java 7 on Linux (Ubuntu). Hope this helps, Marius On Thu, Apr 16, 2015 at 6:58 PM, Khjintcorp <khjintc...@gmail.com> wrote: > Hello > > I am new on Xwiki. I like to rebuild Xwiki platform or common packages. I > fixed all problems related to build. Except one thing if the module has > component codes or components.txt I always got build error. Please see the > attached error log. I think I missed one thing but I don't know yet. Can you > help me on this issue. > > Thanks > > > Ken > > Sent from my iPhone > > Begin forwarded message: > >> From: "LIANG, KEN K (CTR)" <ken.k.li...@cbp.dhs.gov> >> Date: April 16, 2015 at 10:13:14 AM EDT >> To: "khjintc...@gmail.com" <khjintc...@gmail.com> >> Subject: Can't build project xwiki-platform-wiki-default >> >> >> [INFO] XWiki Platform - Wiki - Parent POM ................. SUCCESS [ 7.463 >> s] >> [INFO] XWiki Platform - Wiki - API ........................ SUCCESS [ 8.459 >> s] >> [INFO] XWiki Platform - Wiki - Default Implementation ..... FAILURE [ 25.449 >> s] >> [INFO] XWiki Platform - Wiki - REST - Parent POM .......... SKIPPED >> [INFO] XWiki Platform - Wiki - REST - API ................. SKIPPED >> [INFO] XWiki Platform - Wiki - Template - Parent POM ...... SKIPPED >> [INFO] XWiki Platform - Wiki - Template - API ............. SKIPPED >> [INFO] XWiki Platform - Wiki - REST - Default implementation SKIPPED >> [INFO] XWiki Platform - Wiki - Script services ............ SKIPPED >> [INFO] XWiki Platform - Wiki - Template - Default ......... SKIPPED >> [INFO] XWiki Platform - Wiki - Template - Script .......... SKIPPED >> [INFO] XWiki Platform - Wiki - User - Parent POM .......... SKIPPED >> [INFO] XWiki Platform - Wiki - User - API ................. SKIPPED >> [INFO] XWiki Platform - Wiki - User - Default ............. SKIPPED >> [INFO] XWiki Platform - Wiki - User - Script .............. SKIPPED >> [INFO] XWiki Platform - Wiki - UI - Parent POM ............ SKIPPED >> [INFO] XWiki Platform - Wiki - UI - Common ................ SKIPPED >> [INFO] XWiki Platform - Wiki - UI - Main Wiki ............. SKIPPED >> [INFO] XWiki Platform - Wiki - UI - Wiki .................. SKIPPED >> [INFO] XWiki Platform - Wiki - Workspaces Migrator ........ SKIPPED >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 43.351 s >> [INFO] Finished at: 2015-04-16T10:11:32-04:00 >> [INFO] Final Memory: 72M/912M >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) >> on project xwiki-platform-wiki-default: Compilation failure: Compilation >> failure: >> [ERROR] There's no [META-INF/components.txt] file and thus Component >> [org.xwiki.wiki.internal.manager.DefaultWikiCreator] isn't declared! >> Consider adding a components.txt file or if it's normal use the >> "staticRegistration" parameter as in "@Component(staticRegistration = false)" >> [ERROR] There's no [META-INF/components.txt] file and thus Component >> [org.xwiki.wiki.internal.descriptor.builder.DefaultWikiDescriptorBuilder] >> isn't declared! Consider adding a components.txt file or if it's normal use >> the "staticRegistration" parameter as in "@Component(staticRegistration = >> false)" >> [ERROR] There's no [META-INF/components.txt] file and thus Component >> [org.xwiki.wiki.internal.manager.WikiDescriptorCache] isn't declared! >> Consider adding a components.txt file or if it's normal use the >> "staticRegistration" parameter as in "@Component(staticRegistration = false)" >> [ERROR] There's no [META-INF/components.txt] file and thus Component >> [org.xwiki.wiki.internal.descriptor.listener.WikiDescriptorListener] isn't >> declared! Consider adding a components.txt file or if it's normal use the >> "staticRegistration" parameter as in "@Component(staticRegistration = false)" >> [ERROR] There's no [META-INF/components.txt] file and thus Component >> [org.xwiki.wiki.internal.manager.DefaultWikiDeleter] isn't declared! >> Consider adding a components.txt file or if it's normal use the >> "staticRegistration" parameter as in "@Component(staticRegistration = false)" >> [ERROR] There's no [META-INF/components.txt] file and thus Component >> [org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper] >> isn't declared! Consider adding a components.txt file or if it's normal use >> the "staticRegistration" parameter as in "@Component(staticRegistration = >> false)" >> [ERROR] There's no [META-INF/components.txt] file and thus Component >> [org.xwiki.wiki.internal.descriptor.document.XWikiServerClassDocumentInitializer] >> isn't declared! Consider adding a components.txt file or if it's normal use >> the "staticRegistration" parameter as in "@Component(staticRegistration = >> false)" >> [ERROR] There's no [META-INF/components.txt] file and thus Component >> [org.xwiki.wiki.internal.provisioning.DefaultWikiCopier] isn't declared! >> Consider adding a components.txt file or if it's normal use the >> "staticRegistration" parameter as in "@Component(staticRegistration = false)" >> [ERROR] There's no [META-INF/components.txt] file and thus Component >> [org.xwiki.wiki.internal.descriptor.migrator.WikiDescriptorMigrator] isn't >> declared! Consider adding a components.txt file or if it's normal use the >> "staticRegistration" parameter as in "@Component(staticRegistration = false)" >> [ERROR] There's no [META-INF/components.txt] file and thus Component >> [org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager] isn't >> declared! Consider adding a components.txt file or if it's normal use the >> "staticRegistration" parameter as in "@Component(staticRegistration = false)" >> [ERROR] There's no [META-INF/components.txt] file and thus Component >> [org.xwiki.wiki.internal.configuration.DefaultWikiConfiguration] isn't >> declared! Consider adding a components.txt file or if it's normal use the >> "staticRegistration" parameter as in "@Component(staticRegistration = false)" >> [ERROR] There's no [META-INF/components.txt] file and thus Component >> [org.xwiki.wiki.internal.descriptor.properties.DefaultWikiPropertyGroupManager] >> isn't declared! Consider adding a components.txt file or if it's normal use >> the "staticRegistration" parameter as in "@Component(staticRegistration = >> false)" >> [ERROR] There's no [META-INF/components.txt] file and thus Component >> [org.xwiki.wiki.internal.provisioning.DefaultWikiProvisioningJobExecutor] >> isn't declared! Consider adding a components.txt file or if it's normal use >> the "staticRegistration" parameter as in "@Component(staticRegistration = >> false)" >> [ERROR] There's no [META-INF/components.txt] file and thus Component >> [org.xwiki.wiki.internal.manager.DefaultWikiManager] isn't declared! >> Consider adding a components.txt file or if it's normal use the >> "staticRegistration" parameter as in "@Component(staticRegistration = false)" >> [ERROR] -> [Help 1] >> [ERROR] >> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e >> switch. >> [ERROR] Re-run Maven using the -X switch to enable full debug logging. >> [ERROR] >> [ERROR] For more information about the errors and possible solutions, please >> read the following articles: >> [ERROR] [Help 1] >> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with the >> command >> [ERROR] mvn <goals> -rf :xwiki-platform-wiki-default >> FATAL ERROR in native method: JDWP on getting class status, >> jvmtiError=JVMTI_ERROR_WRONG_PHASE(112) >> JDWP exit error JVMTI_ERROR_WRONG_PHASE(112): on getting class status >> [util.c:1283] >> >> >> Ken Liang >> Contractor >> Unisys >> Supporting the Targeting & Analysis Systems Program Directorate >> Office of Information and Technology >> U.S. Customs & Border Protection >> Office: 571-468-2782 >> >> > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users