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