Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Maven groupid和artifactid是什么意思?_Maven - Fatal编程技术网

Maven groupid和artifactid是什么意思?

Maven groupid和artifactid是什么意思?,maven,Maven,我是马文的新手。我了解了pom.xml的用法。但我无法理解下面代码中groupId和artifactId的含义是什么 <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>3.0.0.RELEASE</v

我是马文的新手。我了解了pom.xml的用法。但我无法理解下面代码中groupId和artifactId的含义是什么

<dependencies>
  <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-context</artifactId>
    <version>3.0.0.RELEASE</version>
    <scope>runtime</scope>
  </dependency>
</dependencies

org.springframework
spring上下文
3.0.0.1版本
运行时

这些ID构成工件的坐标(以及版本、类型和分类器)。这对于确定要作为依赖项包含在项目中的工件是必要的。然后从本地或远程存储库获取工件,并将其添加到项目的类路径。

您必须阅读maven简介。这不是特定于spring的