Assuming you're trying to build the trunk: In the root pom.xml file, change the version of maven-site-plugin to 3.3 and try to build.
Thanks, Hiranya On Sep 9, 2013, at 6:05 PM, Xinglong Zhang <zhangxinglon...@gmail.com> wrote: > Hi, > > I have downloaded the Synapse source code and used maven to clean and > install it on Win7. But there is an error. Here is the error below. > > *[INFO] Apache Synapse .................................... SUCCESS [0.462s] > * > > *[INFO] Apache Synapse - Secure Vault ..................... SUCCESS > [13.882s]* > > *[INFO] Apache Synapse - Commons .......................... SUCCESS > [13.388s]* > > *[INFO] Apache Synapse - Transports ....................... SUCCESS [5.054s] > * > > *[INFO] Apache Synapse - Non-blocking HTTP/s Transport .... SUCCESS > [17.697s]* > > *[INFO] Apache Synapse - PIPE Transport ................... SUCCESS [0.548s] > * > > *[INFO] Apache Synapse - VFS Transport .................... SUCCESS [9.542s] > * > > *[INFO] Apache Synapse - FIX Transport .................... SUCCESS [1.652s] > * > > *[INFO] Apache Synapse - AMQP Transport ................... SUCCESS [1.583s] > * > > *[INFO] Apache Synapse - Tasks ............................ SUCCESS [0.803s] > * > > *[INFO] Apache Synapse - Core ............................. SUCCESS > [2:38.705s]* > > *[INFO] Apache Synapse - Extensions ....................... SUCCESS > [18.348s]* > > *[INFO] Apache Synapse - Samples .......................... SUCCESS [6.451s] > * > > *[INFO] Apache Synapse - Patches .......................... SUCCESS [0.869s] > * > > *[INFO] Apache Synapse - Experimental code ................ SUCCESS [0.846s] > * > > *[INFO] Apache Synapse - Documentation .................... FAILURE [1.405s] > * > > *[INFO] Apache Synapse - Web Application .................. SKIPPED* > > *[INFO] Apache Synapse - Handler Module ................... SKIPPED* > > *[INFO] Apache Synapse - XAR Maven Plugin ................. SKIPPED* > > *[INFO] Apache Synapse - Configuration Migrator ........... SKIPPED* > > *[INFO] Apache Synapse - Distribution ..................... SKIPPED* > > *[INFO] Apache Synapse - Package skeleton ZIP ............. SKIPPED* > > *[INFO] Apache Synapse - Package archetype ................ SKIPPED* > > *[INFO] Apache Synapse - Integration ...................... SKIPPED* > > *[INFO] > ------------------------------------------------------------------------* > > *[INFO] BUILD FAILURE* > > *[INFO] > ------------------------------------------------------------------------* > > *[INFO] Total time: 4:12.277s* > > *[INFO] Finished at: Tue Sep 10 08:55:33 CST 2013* > > *[INFO] Final Memory: 43M/102M* > > *[INFO] > ------------------------------------------------------------------------* > > *[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-site-plugin:3.0:site (default) on project > synapse-documentation: Execution default of goal > org.apache.maven.plugins:maven-site-plugin:3.0:site failed: A required > class was missing while executing > org.apache.maven.plugins:maven-site-plugin:3.0:site: > org/sonatype/aether/graph/DependencyFilter* > > I tried to solve this problem, so I downloaded aether-api-1.7.jar and put > it at > C:\Users\Administrator\.m2\repository\org\sonatype\aether\aether-api\1.7. > But when I maven clean and install again, the bug is still there.* > * > > I sincerely hope someone can help me. PS:The environment:jdk1.7 Maven3.1.0 > > Then I imported the maven project into Eclipse and mvn clean and mvn > install. There is another error. > > *[INFO] Apache Synapse .................................... SUCCESS [0.376s] > * > > *[INFO] Apache Synapse - Secure Vault ..................... SUCCESS [1.311s] > * > > *[INFO] Apache Synapse - Commons .......................... SUCCESS [1.624s] > * > > *[INFO] Apache Synapse - Transports ....................... SUCCESS [0.344s] > * > > *[INFO] Apache Synapse - Non-blocking HTTP/s Transport .... SUCCESS [8.318s] > * > > *[INFO] Apache Synapse - PIPE Transport ................... SUCCESS [0.454s] > * > > *[INFO] Apache Synapse - VFS Transport .................... SUCCESS [8.114s] > * > > *[INFO] Apache Synapse - FIX Transport .................... SUCCESS [0.795s] > * > > *[INFO] Apache Synapse - AMQP Transport ................... SUCCESS [1.015s] > * > > *[INFO] Apache Synapse - Tasks ............................ SUCCESS [0.532s] > * > > *[INFO] Apache Synapse - Core ............................. SUCCESS > [2:08.212s]* > > *[INFO] Apache Synapse - Extensions ....................... SUCCESS > [10.395s]* > > *[INFO] Apache Synapse - Samples .......................... SUCCESS [1.233s] > * > > *[INFO] Apache Synapse - Patches .......................... SUCCESS [0.672s] > * > > *[INFO] Apache Synapse - Experimental code ................ SUCCESS [0.639s] > * > > *[INFO] Apache Synapse - Documentation .................... SUCCESS [1.734s] > * > > *[INFO] Apache Synapse - Web Application .................. SUCCESS [4.042s] > * > > *[INFO] Apache Synapse - Handler Module ................... SUCCESS [0.718s] > * > > *[INFO] Apache Synapse - XAR Maven Plugin ................. SUCCESS [0.422s] > * > > *[INFO] Apache Synapse - Configuration Migrator ........... SUCCESS [0.749s] > * > > *[INFO] Apache Synapse - Distribution ..................... SUCCESS > [12.536s]* > > *[INFO] Apache Synapse - Package skeleton ZIP ............. SUCCESS [0.405s] > * > > *[INFO] Apache Synapse - Package archetype ................ SUCCESS [0.515s] > * > > *[INFO] Apache Synapse - Integration ...................... FAILURE [1.734s] > * > > *[INFO] > ------------------------------------------------------------------------* > > *[INFO] BUILD FAILURE* > > *[INFO] > ------------------------------------------------------------------------* > > *[INFO] Total time: 3:07.606s* > > *[INFO] Finished at: Mon Sep 09 22:14:03 CST 2013* > > *[INFO] Final Memory: 58M/138M* > > *[INFO] > ------------------------------------------------------------------------* > > *[ERROR] Failed to execute goal > org.apache.maven.plugins:maven-antrun-plugin:1.7:run (create_repo) on > project synapse-integration: An Ant BuildException has occured: Unable to > delete file > D:\synapse-src\modules\integration\target\temp\axis2-tmp-4364200731091871462.tmp\axis2100756303325216559SimpleStockQuoteService.aar > * > > *[ERROR] around Ant part ...<delete dir="${temp.dir}"/>... @ 55:30 in > D:\synapse-src\modules\integration\target\antrun\build-main.xml* > > PS:Eclipse:Java EE IDE for Web Developers. Version: Kepler Release > > Eclipse mvn plugin:1.4.2 > > > I sincerely hope someone can help me. > > Best regards, > > John -- Hiranya Jayathilaka Mayhem Lab/RACE Lab; Dept. of Computer Science, UCSB; http://cs.ucsb.edu E-mail: hira...@cs.ucsb.edu; Mobile: +1 (805) 895-7443 Blog: http://techfeast-hiranya.blogspot.com