Вы находитесь на странице: 1из 1

Maven help

1. POM.xml
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.mycompany.app</groupId>
<artifactId>my-app</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
2. Dependency
In the POM you are not specifically telling Maven where the dependencies are phy
sically located, you
are simply telling Maven what a specific project expects.
A dependency is uniquely identified by the following identifiers: groupId,
artifactId and version.

Вам также может понравиться