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