我已使用svn checkout http://svn.wso2.org/repos/wso2/carbon/kernel/branches/4.1.0 wso2carbon
的说明检查了来源:http://docs.wso2.org/wiki/display/Carbon410/Obtaining+the+Product
我尝试使用maven 2.2.1(rdebian-8)运行mvn install
- 安装先决条件表明版本2.1.0或更高版本的maven没问题:http://docs.wso2.org/wiki/display/Carbon410/Installation+Prerequisites
我点击了错误:
Component descriptor role: 'com.jcraft.jsch.UIKeyboardInteractive', implementation:
'org.apache.maven.wagon.providers.ssh.jsch.interactive.PrompterUIKeyboardInteractive', role hint:
'default' has a hint, but there are other implementations that don't
在Google上搜索,这似乎是maven 2.2.1的问题 - http://jira.codehaus.org/browse/WAGON-393
所以我尝试使用mvn 3.0.5并遇到以下错误:
Failed tests:
test3(org.apache.axis2.jaxws.utility.ClassUtilsTests)
test4(org.apache.axis2.jaxws.utility.ClassUtilsTests)
Tests run: 457, Failures: 2, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Axis2 - Parent ............................. SUCCESS [0.730s]
[INFO] Apache Axis2 - Resource bundle .................... SUCCESS [1.144s]
[INFO] Axiom Parent POM .................................. SUCCESS [0.590s]
[INFO] Axiom Test Utilities .............................. SUCCESS [2.559s]
[INFO] Axiom Jaxen Test Suite ............................ SUCCESS [1.380s]
[INFO] Axiom API ......................................... SUCCESS [18.402s]
[INFO] Axiom Implementation Test Suite ................... SUCCESS [2.008s]
[INFO] Axiom Impl ........................................ SUCCESS [13.743s]
[INFO] Apache Axis2 - Kernel ............................. SUCCESS [16.125s]
[INFO] Axiom DOM ......................................... SUCCESS [18.484s]
[INFO] Apache Axis2 - Data Binding ....................... SUCCESS [9.023s]
[INFO] Apache Axis2 - Transport - Local .................. SUCCESS [2.363s]
[INFO] Apache Axis2 - Transport - HTTP ................... SUCCESS [2.792s]
[INFO] Apache Axis2 - Code Generation .................... SUCCESS [10.721s]
[INFO] Apache Axis2 - ADB Codegen ........................ SUCCESS [30.639s]
[INFO] Apache Axis2 - Addressing ......................... SUCCESS [4.468s]
[INFO] Apache Axis2 - Java2WSDL .......................... SUCCESS [6.632s]
[INFO] Apache Axis2 - tool - Repository Maven Plugin ..... SUCCESS [1.410s]
[INFO] Apache Axis2 - Fast Infoset ....................... SUCCESS [13.221s]
[INFO] Apache Axis2 - Clustering ......................... SUCCESS [1:10.258s]
[INFO] Apache Axis2 - Scripting .......................... SUCCESS [2.957s]
[INFO] Apache Axis2 - JAXB-RI Data Binding ............... SUCCESS [10.221s]
[INFO] Apache Axis2 - SAAJ ............................... SUCCESS [17.412s]
[INFO] Apache Axis2 - Metadata ........................... SUCCESS [22.842s]
[INFO] Apache Axis2 - JAXWS .............................. FAILURE [1:12.654s]
编辑:2013年5月31日
当我运行mvn install -Dmaven.test.skip=true
时,我会更进一步,但遇到一个新的错误:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.0.2:compile (default-compile) on project axis2-transport-testkit: Compilation failure: Compilation failure:
[ERROR] /home/snowch/repos_thirdparty/carbon_kernel_4.1.0/dependencies/transports/1.1.0-wso2v8/modules/testkit/src/main/java/org/apache/axis2/transport/testkit/doclet/ResourceInfoDoclet.java:[27,22] error: package com.sun.javadoc does not exist
我猜测源树中的某个地方,有人编写了对SUN JDK的依赖,我正在运行OpenJDK。