Please update your JDK to a newer version, e.g. 1.7.0_21. End you can build Camel without executing the tests with the following command: mvn clean install -Pfastinstall.
Best, Christian Sent from a mobile device Am 12.06.2013 09:01 schrieb "santonel" <[email protected]>: > Hello > > I've checked out the camel from git > (https://git-wip-us.apache.org/repos/asf/camel.git) and i'm trying to > build > it under windows (following the instruction from: > http://camel.apache.org/building.html) , but without success. > > This is the output of my mvn -v: > Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 > 14:51: > 28+0100) > Maven home: C:\Program Files (x86)\Apache Software > Foundation\apache-maven-3.0.5 > > Java version: 1.7.0_03, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.7.0_03\jre > Default locale: it_IT, platform encoding: UTF-8 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" > > And this is the output of the build (mvn install -Pfastinstall): > > ... > [INFO] Camel :: Web ...................................... FAILURE > [38.441s] > ... > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-javadoc-plugin:2.9:javadoc (default) on > project camel-web: An error has occurred in JavaDocs report generation: > [ERROR] Exit code: 1 - warning: [options] bootstrap class path not set in > conjunction with -source 1.6 > [ERROR] > > C:\Users\Stefano\Desktop\Source\camel\components\camel-web\target\classes\org\apache\camel\web\resources\RouteStatusResource.class:1: > error: unmappable character for encoding UTF-8 > > I've noted that it's an error of javadoc-plugin , so i've tried to build > skipping the generations of javadoc, with mvn install -Pfastinstall > -Dmaven.javadoc.skip=true, but no lucky: > > ... > [INFO] Camel :: Web ...................................... FAILURE > [34.677s] > ... > > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 5:41.205s > [INFO] Finished at: Wed Jun 12 14:51:32 CEST 2013 > [INFO] Final Memory: 175M/523M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > com.sun.jersey.contribs:maven-wadl-plugin:1.13:generate (generate) on > project camel-web: Could not write wadl file: UnmarshalException: > > C:\Users\stefano\Desktop\opta\camel\camel\components\camel-web\target\classes\resourcedoc.xml > (Impossibile trovare il file specificato) -> [Help 1] > > > I think it's a problem with the enconding of the file, i've checked the > properties setting in pom.xml: > <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> > > <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> > that it's the same platform-build enconding that i have. > I can't sort out why in first instance i can't build it. > > Any help is appreciated, thanks. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-build-on-windows-7-tp5734132.html > Sent from the Camel - Users mailing list archive at Nabble.com. >
