|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + <parent> |
| 6 | + <groupId>uk.gov.companieshouse</groupId> |
| 7 | + <artifactId>companies-house-spring-boot-parent</artifactId> |
| 8 | + <version>1.2.0</version> |
| 9 | + </parent> |
| 10 | + <artifactId>orders.api.ch.gov.uk</artifactId> |
| 11 | + <version>unversioned</version> |
| 12 | + <name>orders.api.ch.gov.uk</name> |
| 13 | + <description>CH API handling CRUD operations on Ordering Service</description> |
| 14 | + |
| 15 | + <properties> |
| 16 | + <java.version>1.8</java.version> |
| 17 | + <org.mapstruct.version>1.3.0.Final</org.mapstruct.version> |
| 18 | + <jacoco-maven-plugin.version>0.7.7.201606060606</jacoco-maven-plugin.version> |
| 19 | + <junit-jupiter-engine-version>5.2.0</junit-jupiter-engine-version> |
| 20 | + <mockito-junit-jupiter-version>2.18.0</mockito-junit-jupiter-version> |
| 21 | + <hamcrest-all-version>1.3</hamcrest-all-version> |
| 22 | + <start-class>uk.gov.companieshouse.orders.api.OrdersApiApplication</start-class> |
| 23 | + </properties> |
| 24 | + |
| 25 | + <dependencies> |
| 26 | + <dependency> |
| 27 | + <groupId>org.springframework.boot</groupId> |
| 28 | + <artifactId>spring-boot-starter-data-rest</artifactId> |
| 29 | + </dependency> |
| 30 | + |
| 31 | + <dependency> |
| 32 | + <groupId>org.springframework.boot</groupId> |
| 33 | + <artifactId>spring-boot-starter-test</artifactId> |
| 34 | + <scope>test</scope> |
| 35 | + <exclusions> |
| 36 | + <exclusion> |
| 37 | + <groupId>org.junit.vintage</groupId> |
| 38 | + <artifactId>junit-vintage-engine</artifactId> |
| 39 | + </exclusion> |
| 40 | + </exclusions> |
| 41 | + </dependency> |
| 42 | + <dependency> |
| 43 | + <groupId>org.junit.jupiter</groupId> |
| 44 | + <artifactId>junit-jupiter-engine</artifactId> |
| 45 | + <version>${junit-jupiter-engine-version}</version> |
| 46 | + <scope>test</scope> |
| 47 | + </dependency> |
| 48 | + <dependency> |
| 49 | + <groupId>org.mockito</groupId> |
| 50 | + <artifactId>mockito-junit-jupiter</artifactId> |
| 51 | + <version>${mockito-junit-jupiter-version}</version> |
| 52 | + <scope>test</scope> |
| 53 | + </dependency> |
| 54 | + <dependency> |
| 55 | + <groupId>org.hamcrest</groupId> |
| 56 | + <artifactId>hamcrest-all</artifactId> |
| 57 | + <version>${hamcrest-all-version}</version> |
| 58 | + <scope>test</scope> |
| 59 | + </dependency> |
| 60 | + </dependencies> |
| 61 | + |
| 62 | + <build> |
| 63 | + <plugins> |
| 64 | + |
| 65 | + <plugin> |
| 66 | + <groupId>org.springframework.boot</groupId> |
| 67 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 68 | + <configuration> |
| 69 | + <mainClass>${start-class}</mainClass> |
| 70 | + <layout>ZIP</layout> |
| 71 | + </configuration> |
| 72 | + <executions> |
| 73 | + <execution> |
| 74 | + <goals> |
| 75 | + <goal>repackage</goal> |
| 76 | + </goals> |
| 77 | + </execution> |
| 78 | + </executions> |
| 79 | + </plugin> |
| 80 | + |
| 81 | + <plugin> |
| 82 | + <groupId>org.jacoco</groupId> |
| 83 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 84 | + <version>${jacoco-maven-plugin.version}</version> |
| 85 | + <executions> |
| 86 | + <execution> |
| 87 | + <id>default-prepare-agent</id> |
| 88 | + <goals> |
| 89 | + <goal>prepare-agent</goal> |
| 90 | + </goals> |
| 91 | + </execution> |
| 92 | + <execution> |
| 93 | + <id>default-report</id> |
| 94 | + <phase>prepare-package</phase> |
| 95 | + <goals> |
| 96 | + <goal>report</goal> |
| 97 | + </goals> |
| 98 | + </execution> |
| 99 | + </executions> |
| 100 | + </plugin> |
| 101 | + |
| 102 | + <plugin> |
| 103 | + <groupId>org.apache.maven.plugins</groupId> |
| 104 | + <artifactId>maven-compiler-plugin</artifactId> |
| 105 | + <version>${maven-compiler-plugin.version}</version> |
| 106 | + <configuration> |
| 107 | + <source>${java.version}</source> |
| 108 | + <target>${java.version}</target> |
| 109 | + <fork>true</fork> |
| 110 | + <meminitial>128m</meminitial> |
| 111 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 112 | + <maxmem>512m</maxmem> |
| 113 | + <annotationProcessorPaths> |
| 114 | + <path> |
| 115 | + <groupId>org.mapstruct</groupId> |
| 116 | + <artifactId>mapstruct-processor</artifactId> |
| 117 | + <version>${org.mapstruct.version}</version> |
| 118 | + </path> |
| 119 | + <!-- other annotation processors --> |
| 120 | + </annotationProcessorPaths> |
| 121 | + </configuration> |
| 122 | + </plugin> |
| 123 | + |
| 124 | + </plugins> |
| 125 | + </build> |
| 126 | + |
| 127 | +</project> |
0 commit comments