Maven中的WSO2 BAM 2.0库 [英] WSO2 BAM 2.0 libraries in Maven
问题描述
我正在尝试在WSO2 BAM ALPHA2版本中复制KPIAgent示例,但使用maven来获取项目运行所需的库.
I'm trying to replicate the KPIAgent example in the WSO2 BAM ALPHA2 release but using maven to get the libraries required for the project to run.
因此,我定义了以下依赖项:
So I've defined the following dependencies:
<dependency>
<groupId>org.wso2.carbon</groupId>
<artifactId>org.wso2.carbon.bam.agent</artifactId>
<version>3.2.4</version>
</dependency>
<dependency>
<groupId>org.wso2.carbon</groupId>
<artifactId>org.wso2.carbon.bam.data.publisher.util</artifactId>
<version>3.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.wso2.carbon</groupId>
<artifactId>org.wso2.carbon.bam.service</artifactId>
<version>3.2.1</version>
</dependency>
<dependency>
<groupId>com.google.common.wso2</groupId>
<artifactId>google-collect</artifactId>
<version>1.0.0.wso2v2</version>
</dependency>
<dependency>
<groupId>libthrift.wso2</groupId>
<artifactId>libthrift</artifactId>
<version>0.5.wso2v1</version>
</dependency>
<dependency>
<groupId>commons-pool.wso2</groupId>
<artifactId>commons-pool</artifactId>
<version>1.5.0.wso2v1</version>
</dependency>
与他们一起,我已经以这种方式定义了WSO2存储库:
Along with them I've defined the WSO2 repository this way:
<repository>
<id>wso2-maven2-repository</id>
<name>WSO2 Maven2 Repository</name>
<url>http://dist.wso2.org/maven2</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
<updatePolicy>never</updatePolicy>
<checksumPolicy>fail</checksumPolicy>
</releases>
</repository>
我遇到的问题是不存在.
我认为这是由于组件源的重新排列而发生的,而该重新排列尚未完全反映在存储库中;从而导致这种不一致.
I assume this happens due to a rearrangement of the component's sources which is not fully reflected in the repository just yet; thus causing this inconsistency.
那么问题是,我应该使用哪组依赖项来使用EventReceiver来发布自己的事件?
Question is then, which set of dependencies should I use to use EventReceiver in order to publish my own Events?
预先感谢您的支持.
推荐答案
由于某些原因,它似乎不在回购协议中.您可以尝试将下面给出的pom安装到本地存储库中,看看它是否有效.
Seems it is not in the repo as you have mentioned for some reason. Can you try installing the pom given below to your local repository and see whether it works.
这篇关于Maven中的WSO2 BAM 2.0库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!