【发布时间】:2016-01-29 09:15:12
【问题描述】:
我在 pom.xml 中添加了一个依赖,比如:
<dependency>
<groupId>org.opendaylight.controller</groupId>
<artifactId>features-restconf</artifactId>
<version>1.2.1-Lithium-SR1</version>
<classifier>features</classifier>
<type>xml</type>
<scope>runtime</scope>
</dependency>
这个依赖是一个xml文件,它类似于:(为简单起见)
<feature name ='odl-mdsal-apidocs' version='1.2.1-Lithium-SR1' description="OpenDaylight :: MDSAL :: APIDOCS">
<feature version='1.2.1-Lithium-SR1'>odl-restconf</feature>
<bundle>mvn:org.opendaylight.controller/sal-rest-docgen/1.2.1-Lithium-SR1</bundle>
<bundle>mvn:com.fasterxml.jackson.core/jackson-annotations/2.3.2</bundle>
<bundle>mvn:com.fasterxml.jackson.core/jackson-core/2.3.2</bundle>
<bundle>mvn:com.fasterxml.jackson.core/jackson-databind/2.3.2</bundle>
<bundle>mvn:com.fasterxml.jackson.datatype/jackson-datatype-json-org/2.3.2</bundle>
<bundle>mvn:com.fasterxml.jackson.module/jackson-module-jaxb-annotations/2.3.2</bundle>
<bundle>mvn:com.fasterxml.jackson.jaxrs/jackson-jaxrs-base/2.3.2</bundle>
</feature>
我发现 xml 文件中描述为
在哪里可以找到有关 Maven 的这一部分的资料?有没有文档或教程?
【问题讨论】: