Geora Barsky | 16c93bd | 2017-09-19 17:08:12 -0400 | [diff] [blame] | 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 | <modelVersion>4.0.0</modelVersion> |
| 6 | <groupId>org.onap.integration</groupId> |
Geora Barsky | 46c1a40 | 2017-09-22 12:47:03 -0400 | [diff] [blame] | 7 | <artifactId>sniroemulator</artifactId> |
Jessica Wagantall | 9ce7efe | 2017-11-28 16:47:38 -0800 | [diff] [blame] | 8 | <version>1.1.0-SNAPSHOT</version> |
Geora Barsky | 46c1a40 | 2017-09-22 12:47:03 -0400 | [diff] [blame] | 9 | <name>sniroemulator</name> |
| 10 | <description>onap sniro emulator project based on Spring Boot</description> |
Geora Barsky | 16c93bd | 2017-09-19 17:08:12 -0400 | [diff] [blame] | 11 | |
| 12 | <parent> |
Geora Barsky | 5055dee | 2017-09-25 13:15:22 -0400 | [diff] [blame] | 13 | <groupId>org.onap.oparent</groupId> |
| 14 | <artifactId>oparent</artifactId> |
Gary Wu | 284b23a | 2018-09-18 10:21:49 -0700 | [diff] [blame] | 15 | <version>1.2.1</version> |
Geora Barsky | 5055dee | 2017-09-25 13:15:22 -0400 | [diff] [blame] | 16 | </parent> |
| 17 | |
Geora Barsky | 16c93bd | 2017-09-19 17:08:12 -0400 | [diff] [blame] | 18 | <properties> |
| 19 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 20 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 21 | <java.version>1.8</java.version> |
Dmitry Puzikov | b7e96e8 | 2019-02-21 16:30:05 +0100 | [diff] [blame] | 22 | <dockerLocation>${basedir}/target</dockerLocation> |
| 23 | <docker.tag>latest</docker.tag> |
| 24 | <docker.maven.plugin.version>1.2.0</docker.maven.plugin.version> |
Geora Barsky | 16c93bd | 2017-09-19 17:08:12 -0400 | [diff] [blame] | 25 | <versions.jackson>2.8.9</versions.jackson> |
| 26 | <jetty.version>9.2.22.v20170606</jetty.version> |
Geora Barsky | 5055dee | 2017-09-25 13:15:22 -0400 | [diff] [blame] | 27 | <start-class>org.onap.integration.test.mocks.sniroemulator.MockApplication</start-class> |
Geora Barsky | 16c93bd | 2017-09-19 17:08:12 -0400 | [diff] [blame] | 28 | </properties> |
| 29 | |
Geora Barsky | 5055dee | 2017-09-25 13:15:22 -0400 | [diff] [blame] | 30 | <dependencyManagement> |
| 31 | <dependencies> |
| 32 | <dependency> |
| 33 | <groupId>org.eclipse.jetty</groupId> |
| 34 | <artifactId>jetty-http</artifactId> |
| 35 | <version>${jetty.version}</version> |
| 36 | </dependency> |
| 37 | <dependency> |
| 38 | <groupId>org.eclipse.jetty</groupId> |
| 39 | <artifactId>jetty-security</artifactId> |
| 40 | <version>${jetty.version}</version> |
| 41 | </dependency> |
| 42 | <dependency> |
| 43 | <groupId>org.eclipse.jetty</groupId> |
| 44 | <artifactId>jetty-util</artifactId> |
| 45 | <version>${jetty.version}</version> |
| 46 | </dependency> |
| 47 | <dependency> |
| 48 | <groupId>org.eclipse.jetty</groupId> |
| 49 | <artifactId>jetty-xml</artifactId> |
| 50 | <version>${jetty.version}</version> |
| 51 | </dependency> |
| 52 | <dependency> |
| 53 | <groupId>org.eclipse.jetty</groupId> |
| 54 | <artifactId>jetty-io</artifactId> |
| 55 | <version>${jetty.version}</version> |
| 56 | </dependency> |
| 57 | <dependency> |
| 58 | <groupId>org.eclipse.jetty</groupId> |
| 59 | <artifactId>jetty-continuation</artifactId> |
| 60 | <version>${jetty.version}</version> |
| 61 | </dependency> |
| 62 | <dependency> |
| 63 | <groupId>org.springframework.boot</groupId> |
| 64 | <artifactId>spring-boot-dependencies</artifactId> |
| 65 | <version>1.5.7.RELEASE</version> |
| 66 | <type>pom</type> |
| 67 | <scope>import</scope> |
| 68 | </dependency> |
| 69 | </dependencies> |
| 70 | </dependencyManagement> |
| 71 | |
Geora Barsky | 16c93bd | 2017-09-19 17:08:12 -0400 | [diff] [blame] | 72 | <dependencies> |
| 73 | <dependency> |
| 74 | <groupId>org.springframework.boot</groupId> |
| 75 | <artifactId>spring-boot-starter</artifactId> |
| 76 | </dependency> |
| 77 | |
| 78 | <dependency> |
| 79 | <groupId>org.springframework.boot</groupId> |
| 80 | <artifactId>spring-boot-starter-test</artifactId> |
| 81 | <scope>test</scope> |
| 82 | </dependency> |
| 83 | <dependency> |
| 84 | <groupId>org.springframework.cloud</groupId> |
| 85 | <artifactId>spring-cloud-contract-wiremock</artifactId> |
| 86 | <version>1.1.3.RELEASE</version> |
| 87 | <scope>compile</scope> |
| 88 | </dependency> |
| 89 | <dependency> |
| 90 | <groupId>net.sf.jopt-simple</groupId> |
| 91 | <artifactId>jopt-simple</artifactId> |
| 92 | <version>5.0.3</version> |
| 93 | </dependency> |
| 94 | <dependency> |
| 95 | <groupId>org.eclipse.jetty</groupId> |
| 96 | <artifactId>jetty-server</artifactId> |
| 97 | <version>9.2.22.v20170606</version> |
| 98 | </dependency> |
| 99 | <dependency> |
| 100 | <groupId>org.eclipse.jetty</groupId> |
| 101 | <artifactId>jetty-servlet</artifactId> |
| 102 | <version>9.2.22.v20170606</version> |
| 103 | </dependency> |
| 104 | <dependency> |
| 105 | <groupId>org.eclipse.jetty</groupId> |
| 106 | <artifactId>jetty-servlets</artifactId> |
| 107 | <version>9.2.22.v20170606</version> |
| 108 | </dependency> |
| 109 | <dependency> |
| 110 | <groupId>org.eclipse.jetty</groupId> |
| 111 | <artifactId>jetty-webapp</artifactId> |
| 112 | <version>9.2.22.v20170606</version> |
| 113 | </dependency> |
| 114 | <dependency> |
| 115 | <groupId>com.google.guava</groupId> |
| 116 | <artifactId>guava</artifactId> |
| 117 | <version>20.0</version> |
| 118 | </dependency> |
| 119 | <dependency> |
| 120 | <groupId>com.fasterxml.jackson.core</groupId> |
| 121 | <artifactId>jackson-core</artifactId> |
| 122 | <version>${versions.jackson}</version> |
| 123 | </dependency> |
| 124 | <dependency> |
| 125 | <groupId>com.fasterxml.jackson.core</groupId> |
| 126 | <artifactId>jackson-annotations</artifactId> |
| 127 | <version>${versions.jackson}</version> |
| 128 | </dependency> |
| 129 | <dependency> |
| 130 | <groupId>com.fasterxml.jackson.core</groupId> |
| 131 | <artifactId>jackson-databind</artifactId> |
| 132 | <version>${versions.jackson}</version> |
| 133 | </dependency> |
| 134 | <dependency> |
| 135 | <groupId>org.apache.httpcomponents</groupId> |
| 136 | <artifactId>httpclient</artifactId> |
| 137 | </dependency> |
| 138 | <dependency> |
| 139 | <groupId>org.xmlunit</groupId> |
| 140 | <artifactId>xmlunit-core</artifactId> |
| 141 | <version>2.3.0</version> |
| 142 | </dependency> |
| 143 | <dependency> |
| 144 | <groupId>org.xmlunit</groupId> |
| 145 | <artifactId>xmlunit-legacy</artifactId> |
| 146 | <version>2.3.0</version> |
| 147 | </dependency> |
| 148 | <dependency> |
| 149 | <groupId>com.jayway.jsonpath</groupId> |
| 150 | <artifactId>json-path</artifactId> |
| 151 | <version>2.4.0</version> |
| 152 | </dependency> |
| 153 | <dependency> |
| 154 | <groupId>org.slf4j</groupId> |
| 155 | <artifactId>slf4j-api</artifactId> |
| 156 | <version>1.7.12</version> |
| 157 | </dependency> |
| 158 | <dependency> |
| 159 | <groupId>org.apache.commons</groupId> |
| 160 | <artifactId>commons-lang3</artifactId> |
| 161 | <version>3.6</version> |
| 162 | </dependency> |
| 163 | <dependency> |
| 164 | <groupId>com.flipkart.zjsonpatch</groupId> |
| 165 | <artifactId>zjsonpatch</artifactId> |
| 166 | <version>0.3.0</version> |
| 167 | </dependency> |
| 168 | <dependency> |
| 169 | <groupId>com.github.jknack</groupId> |
| 170 | <artifactId>handlebars</artifactId> |
| 171 | <version>4.0.6</version> |
| 172 | </dependency> |
| 173 | </dependencies> |
| 174 | |
| 175 | <build> |
| 176 | <finalName>${project.artifactId}</finalName> |
| 177 | <plugins> |
| 178 | <plugin> |
| 179 | <groupId>org.springframework.boot</groupId> |
| 180 | <artifactId>spring-boot-maven-plugin</artifactId> |
Geora Barsky | 5055dee | 2017-09-25 13:15:22 -0400 | [diff] [blame] | 181 | <executions> |
| 182 | <execution> |
| 183 | <goals> |
| 184 | <goal>repackage</goal> |
| 185 | </goals> |
| 186 | </execution> |
| 187 | </executions> |
| 188 | <configuration> |
| 189 | <mainClass>${start-class}</mainClass> |
| 190 | </configuration> |
Geora Barsky | 16c93bd | 2017-09-19 17:08:12 -0400 | [diff] [blame] | 191 | </plugin> |
| 192 | <plugin> |
| 193 | <artifactId>maven-dependency-plugin</artifactId> |
| 194 | </plugin> |
Geora Barsky | f9aac39 | 2017-09-22 14:56:12 -0400 | [diff] [blame] | 195 | <plugin> |
| 196 | <groupId>org.apache.maven.plugins</groupId> |
| 197 | <artifactId>maven-resources-plugin</artifactId> |
| 198 | <version>2.7</version> |
| 199 | <executions> |
| 200 | <execution> |
| 201 | <id>copy-docker-file</id> |
| 202 | <phase>package</phase> |
| 203 | <goals> |
| 204 | <goal>copy-resources</goal> |
| 205 | </goals> |
| 206 | <configuration> |
| 207 | <outputDirectory>target</outputDirectory> |
| 208 | <overwrite>true</overwrite> |
| 209 | <resources> |
| 210 | <resource> |
| 211 | <directory>${basedir}/src/main/docker</directory> |
| 212 | <filtering>true</filtering> |
| 213 | <includes> |
| 214 | <include>**/*</include> |
| 215 | </includes> |
| 216 | </resource> |
| 217 | </resources> |
| 218 | </configuration> |
| 219 | </execution> |
| 220 | </executions> |
| 221 | </plugin> |
| 222 | <plugin> |
| 223 | <groupId>com.spotify</groupId> |
| 224 | <artifactId>docker-maven-plugin</artifactId> |
Dmitry Puzikov | b7e96e8 | 2019-02-21 16:30:05 +0100 | [diff] [blame] | 225 | <version>${docker.maven.plugin.version}</version> |
Geora Barsky | f9aac39 | 2017-09-22 14:56:12 -0400 | [diff] [blame] | 226 | <configuration> |
Gary Wu | 3fe76b7 | 2017-09-27 15:56:22 -0700 | [diff] [blame] | 227 | <verbose>true</verbose> |
Gary Wu | 35921f6 | 2017-09-28 10:41:02 -0700 | [diff] [blame] | 228 | <registryUrl>${docker.push.registry}</registryUrl> |
Geora Barsky | 505b095 | 2017-09-26 12:18:28 -0400 | [diff] [blame] | 229 | <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName> |
Geora Barsky | f9aac39 | 2017-09-22 14:56:12 -0400 | [diff] [blame] | 230 | <dockerDirectory>${dockerLocation}</dockerDirectory> |
Geora Barsky | f9aac39 | 2017-09-22 14:56:12 -0400 | [diff] [blame] | 231 | <imageTags> |
Dmitry Puzikov | b7e96e8 | 2019-02-21 16:30:05 +0100 | [diff] [blame] | 232 | <imageTag>${docker.tag}</imageTag> |
Geora Barsky | f9aac39 | 2017-09-22 14:56:12 -0400 | [diff] [blame] | 233 | </imageTags> |
| 234 | <forceTags>true</forceTags> |
| 235 | </configuration> |
| 236 | </plugin> |
Geora Barsky | 16c93bd | 2017-09-19 17:08:12 -0400 | [diff] [blame] | 237 | </plugins> |
| 238 | </build> |
| 239 | </project> |