|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" |
3 | | - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
4 | | - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
5 | | - |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
6 | 3 | <modelVersion>4.0.0</modelVersion> |
7 | 4 | <groupId>hr.fer.zemris.java.jmbag0036505387</groupId> |
8 | 5 | <artifactId>hw05-0036505387</artifactId> |
9 | 6 | <version>1.0</version> |
10 | | - |
| 7 | + |
11 | 8 | <!-- configuration of basic properties --> |
12 | 9 | <properties> |
13 | 10 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
14 | 11 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
15 | 12 | <maven.compiler.source>11</maven.compiler.source> |
16 | 13 | <maven.compiler.target>11</maven.compiler.target> |
17 | 14 | <maven.compiler.showDeprecation>true</maven.compiler.showDeprecation> |
18 | | - |
19 | 15 | <junit.jupiter.version>5.4.0</junit.jupiter.version> |
20 | 16 | </properties> |
21 | | - |
| 17 | + |
22 | 18 | <dependencies> |
23 | 19 | <dependency> |
24 | 20 | <groupId>org.junit.jupiter</groupId> |
|
38 | 34 | <version>${junit.jupiter.version}</version> |
39 | 35 | <scope>test</scope> |
40 | 36 | </dependency> |
41 | | - |
42 | 37 | <dependency> |
43 | 38 | <groupId>lsystems</groupId> |
44 | 39 | <artifactId>lsystems</artifactId> |
45 | 40 | <version>1</version> |
46 | 41 | </dependency> |
47 | 42 | </dependencies> |
48 | | - |
| 43 | + |
49 | 44 | <build> |
50 | 45 | <plugins> |
51 | 46 | <!-- JUnit 5 requires Surefire version 2.22.1 or higher --> |
52 | 47 | <plugin> |
53 | 48 | <artifactId>maven-surefire-plugin</artifactId> |
54 | 49 | <version>2.22.1</version> |
55 | 50 | </plugin> |
| 51 | + <plugin> |
| 52 | + <groupId>org.apache.maven.plugins</groupId> |
| 53 | + <artifactId>maven-install-plugin</artifactId> |
| 54 | + <version>2.5.1</version> |
| 55 | + <configuration> |
| 56 | + <groupId>lsystems</groupId> |
| 57 | + <artifactId>lsystems</artifactId> |
| 58 | + <version>1</version> |
| 59 | + <packaging>jar</packaging> |
| 60 | + <file>${basedir}/lib/lsystems.jar</file> |
| 61 | + <generatePom>true</generatePom> |
| 62 | + </configuration> |
| 63 | + <executions> |
| 64 | + <execution> |
| 65 | + <id>install-jar-lib</id> |
| 66 | + <goals> |
| 67 | + <goal>install-file</goal> |
| 68 | + </goals> |
| 69 | + <phase>install</phase> |
| 70 | + </execution> |
| 71 | + </executions> |
| 72 | + </plugin> |
56 | 73 | </plugins> |
57 | 74 | </build> |
58 | | - |
59 | 75 | </project> |
0 commit comments