"org.wso2.carbon.databridge.agent.thrift" 的 Maven 依赖项

maven dependency for "org.wso2.carbon.databridge.agent.thrift"

我正在使用 "org.wso2.carbon.databridge.agent.thrift-4.2.0" 和 运行 解决关于两个依赖包 "xercesImpl-2.6.2" 和 "slf4j"

的版本冲突

作为临时解决方案,我必须排除原始版本,(见下文 pom.xml)

<dependency>
      <groupId>org.wso2.carbon</groupId>
      <artifactId>org.wso2.carbon.databridge.agent.thrift</artifactId>
      <version>4.2.0</version>
 <!-- xercesImpl-2.6.2 had caused error with 
      com.thoughtworks.xstream.io.xml.DomDriver.createDocumentBuilderFactory()     

      <exclusions>      
        <exclusion>
            <artifactId>xercesImpl</artifactId>
            <groupId>xerces</groupId>
        </exclusion>        
      </exclusions>
-->      
    </dependency>


SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/wjz/.m2/repository/slf4j/wso2/slf4j/1.5.10.wso2v1/slf4j-1.5.10.wso2v1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/wjz/.m2/repository/org/slf4j/slf4j-log4j12/1.7.2/slf4j-log4j12-1.7.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
SLF4J: The requested version 1.5.10 by your slf4j binding is not compatible with [1.6, 1.7]

我注意到 WSO2 AS 5.3.0 已经在其发布图像中使用 "org.wso2.carbon.databridge.agent.thrift-4.4.7"。

我还尝试通过在 pom.xml 中将版本号更改为 4.4.7 来升级到 4.4.7(见下文)

       <dependency>
          <groupId>org.wso2.carbon</groupId>
          <artifactId>org.wso2.carbon.databridge.agent.thrift</artifactId>
          <version>4.4.7</version>      
        </dependency>

我收到一条错误消息 "Missing artifact org.wso2.carbon:org.wso2.carbon.databridge.agent.thrift:jar:4.4.7"

我搜索了 maven repo 和 wso2 nexus,但一无所获。

所以我的问题是,最新的 maven 仓库在哪里 link 我可以通过它获取新的 WSO2 包

谢谢

组 ID 在 4.4.x 个罐子中不同。你指的那个应该改成这样。

<groupId>org.wso2.carbon.commons</groupId>