WSO2 端点查找示例 [英] WSO2 Endpoint look-up sample

查看:10
本文介绍了WSO2 端点查找示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I am trying to set up the WSO2 Endpoint look-up sample. I have made the changes according to the documentation, but when I try to build the app using "mvn clean install" I am receiving the following error:

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

校验和失败.是否有人需要更新存储库中的文件?

The checksums are failing. Does someone need to update the files in the repository?

推荐答案

我设法获得了要构建的处理程序示例:

I managed to get the handler sample to build by:

1) 查看 Greg 4.5.3 源代码:

1) Checkout the Greg 4.5.3 Source Code:

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 清理肯定报告的问题而导致构建失败,我忽略了这一点.

I had a build failure due to maven issues cleaning up surefire reports, which I ignored.

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

3) Build the handler sample in the directory I unzipped the binary version of GREG to:

cd %CARBON_HOME%
wso2greg-4.5.3sampleshandlersrc
mvn clean install

这次处理程序示例构建成功.

This time the handler sample built ok.

上面的方法有点啰嗦,但确实有效!

The approach above is a bit long winded, but it works!

这篇关于WSO2 端点查找示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆