Debian Codegraph @

mockdriver/pom.xml

raw
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3 <modelVersion>4.0.0</modelVersion>
4
5 <groupId>org.jaydebeapi</groupId>
6 <artifactId>mockdriver</artifactId>
7 <version>1.0-SNAPSHOT</version>
8 <packaging>jar</packaging>
9
10 <properties>
11 <maven.compiler.source>1.8</maven.compiler.source>
12 <maven.compiler.target>1.8</maven.compiler.target>
13 </properties>
14
15 <dependencies>
16 <dependency>
17 <groupId>org.mockito</groupId>
18 <artifactId>mockito-core</artifactId>
19 <version>3.3.3</version>
20 <!-- non-test scope on purpose -->
21 </dependency>
22 <dependency>
23 <groupId>junit</groupId>
24 <artifactId>junit</artifactId>
25 <version>4.13</version>
26 <scope>test</scope>
27 </dependency>
28 </dependencies>
29
30 <build>
31 <plugins>
32 <plugin>
33 <groupId>org.apache.maven.plugins</groupId>
34 <artifactId>maven-dependency-plugin</artifactId>
35 <version>3.1.2</version>
36 <executions>
37 <execution>
38 <id>copy-dependencies</id>
39 <phase>prepare-package</phase>
40 <goals>
41 <goal>copy-dependencies</goal>
42 </goals>
43 <configuration>
44 <outputDirectory>${project.build.directory}/lib</outputDirectory>
45 <overWriteReleases>false</overWriteReleases>
46 <overWriteSnapshots>false</overWriteSnapshots>
47 <overWriteIfNewer>true</overWriteIfNewer>
48 </configuration>
49 </execution>
50 </executions>
51 </plugin>
52 <plugin>
53 <groupId>org.apache.maven.plugins</groupId>
54 <artifactId>maven-jar-plugin</artifactId>
55 <version>3.2.0</version>
56 <configuration>
57 <archive>
58 <manifest>
59 <addClasspath>true</addClasspath>
60 <classpathPrefix>lib/</classpathPrefix>
61 </manifest>
62 </archive>
63 </configuration>
64 </plugin>
65 </plugins>
66 </build>
67
68 </project>