【问题标题】:How to get CXF jars with Ivy [duplicate]如何使用 Ivy 获取 CXF 罐子 [重复]
【发布时间】:2012-03-11 15:32:12
【问题描述】:

可能重复:
Which maven2 artifacts are necessary to build a WS with CXF and Spring?

我正在使用ivy.xml 文件来获取我需要的依赖项。所以为了获得一些依赖,我写了例如

<dependency org="org.hibernate" name="hibernate-entitymanager" rev="3.6.6.Final">
    <artifact name="hibernate-entitymanager" type="jar" />
</dependency>.

the Maven Central Repository搜索CXF时,发现如下Ivy依赖信息:

<dependency org="org.apache.cxf" name="cxf" rev="2.5.2" >
    <artifact name="cxf" type="pom" />
</dependency>

该依赖项的类型为 pom 而不是 jar。如何使用 Ivy 获得 CXF 的罐子?

【问题讨论】:

    标签: cxf ivy dependency-management


    【解决方案1】:

    被拆分为 several JAR。我不知道 但你可能需要单独导入它们,例如:

    <dependency org="org.apache.cxf" name="cxf" rev="2.5.2"/>
    <dependency org="org.apache.cxf" name="cxf-rt-frontend-jaxws" rev="2.5.2"/>
    

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-06-20
    • 2012-10-12
    • 2020-10-11
    • 2020-03-15
    • 1970-01-01
    • 2012-07-20
    • 2018-01-01
    相关资源
    最近更新 更多