WSO2端点查找示例

时间:2013-06-20 23:15:24

标签: wso2 sample wso2greg

我正在尝试设置WSO2端点查找示例。我根据文档进行了更改,但是当我尝试使用“mvn clean install”构建应用程序时,我收到以下错误:

Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/eclipse/vali
dateutility/0.95/validateutility-0.95.pom
[WARNING] Checksum validation failed, expected 53f8bac71524372a3d51a6ecf11365042
96f37af but is 8edc83998e0bf2a8867395883f3853eb901be267 for http://maven.wso2.or
g/nexus/content/groups/wso2-public/eclipse/validateutility/0.95/validateutility-
0.95.pom
Downloading: http://maven.wso2.org/nexus/content/groups/wso2-public/org/eclipse/
osgi/org.eclipse.osgi.services/3.2.0.v20090520-1800/org.eclipse.osgi.services-3.
2.0.v20090520-1800.pom
[WARNING] Checksum validation failed, expected <!DOCTYPE but is 8edc83998e0bf2a8
867395883f3853eb901be267 for http://maven.wso2.org/nexus/content/groups/wso2-pub
lic/org/eclipse/osgi/org.eclipse.osgi.services/3.2.0.v20090520-1800/org.eclipse.
osgi.services-3.2.0.v20090520-1800.pom

校验和失败。有人需要更新存储库中的文件吗?

1 个答案:

答案 0 :(得分:0)

我设法通过以下方式获取处理程序示例:

1)查看Greg 4.5.3源代码:

svn co https://svn.wso2.org/repos/wso2/carbon/platform/tags/4.0.5/products/greg/4.5.3/ wso2_greg_453

2)建立源:

cd wso2_greg_453
mvn clean install -Dmaven.test.skip=true

我因为maven问题清理了万无一失的报告而导致构建失败,我忽略了这一点。

3)在目录中构建处理程序示例我将GREG的二进制版本解压缩到:

cd %CARBON_HOME%
wso2greg-4.5.3\samples\handler\src
mvn clean install

这次处理器示例构建正常。

上面的方法有点长,但它确实有效!