mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 2 | <!-- |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 3 | ============LICENSE_START======================================================= |
| 4 | org.onap.aai |
| 5 | ================================================================================ |
| 6 | Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved. |
| 7 | Copyright © 2017-2018 European Software Marketing Ltd. |
| 8 | ================================================================================ |
| 9 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 10 | you may not use this file except in compliance with the License. |
| 11 | You may obtain a copy of the License at |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 12 | |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 13 | http://www.apache.org/licenses/LICENSE-2.0 |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 14 | |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 15 | Unless required by applicable law or agreed to in writing, software |
| 16 | distributed under the License is distributed on an "AS IS" BASIS, |
| 17 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 18 | See the License for the specific language governing permissions and |
| 19 | limitations under the License. |
| 20 | ============LICENSE_END========================================================= |
| 21 | --> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 23 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 24 | <modelVersion>4.0.0</modelVersion> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 25 | |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 26 | <parent> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 27 | <groupId>org.onap.oparent</groupId> |
| 28 | <artifactId>oparent</artifactId> |
| 29 | <version>1.1.0</version> |
| 30 | <relativePath /> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 31 | </parent> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 32 | |
Arul.Nambi | 059f42e | 2017-09-13 15:13:29 -0400 | [diff] [blame] | 33 | <groupId>org.onap.aai.model-loader</groupId> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 34 | <artifactId>model-loader</artifactId> |
Jessica Wagantall | a277ee3 | 2017-11-16 15:23:12 -0800 | [diff] [blame] | 35 | <version>1.2.0-SNAPSHOT</version> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 36 | |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 37 | <dependencyManagement> |
| 38 | <dependencies> |
| 39 | <dependency> |
| 40 | <groupId>org.springframework.boot</groupId> |
| 41 | <artifactId>spring-boot-dependencies</artifactId> |
| 42 | <version>${spring-boot.version}</version> |
| 43 | <type>pom</type> |
| 44 | <scope>import</scope> |
| 45 | </dependency> |
| 46 | </dependencies> |
| 47 | </dependencyManagement> |
| 48 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 49 | <properties> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 50 | <start-class>org.onap.aai.modelloader.service.ModelLoaderApplication</start-class> |
Blackwell, Ian (ib733q) | 65757e7 | 2018-04-05 11:52:58 +0100 | [diff] [blame] | 51 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 52 | <docker.location>${basedir}/target</docker.location> |
| 53 | <spring-boot.version>1.5.12.RELEASE</spring-boot.version> |
| 54 | <apache.commons-text.version>1.1</apache.commons-text.version> |
| 55 | <hamcrest-all.version>1.3</hamcrest-all.version> |
mark.j.leonard | f979f0c | 2018-05-01 10:59:43 +0100 | [diff] [blame^] | 56 | <babel.version>1.2.0</babel.version> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 57 | <aai.rest.client.version>1.2.1</aai.rest.client.version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 58 | </properties> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 59 | |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 60 | <distributionManagement> |
| 61 | <repository> |
| 62 | <id>ecomp-releases</id> |
| 63 | <name>ECOMP Release Repository</name> |
| 64 | <url>${nexusproxy}/content/repositories/releases/</url> |
| 65 | </repository> |
| 66 | <snapshotRepository> |
| 67 | <id>ecomp-snapshots</id> |
| 68 | <name>ECOMP Snapshot Repository</name> |
| 69 | <url>${nexusproxy}/content/repositories/snapshots/</url> |
| 70 | </snapshotRepository> |
| 71 | </distributionManagement> |
| 72 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 73 | <dependencies> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 74 | <dependency> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 75 | <groupId>org.springframework.boot</groupId> |
| 76 | <artifactId>spring-boot-starter-web</artifactId> |
| 77 | </dependency> |
| 78 | <dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 79 | <groupId>org.onap.aai</groupId> |
| 80 | <artifactId>babel</artifactId> |
| 81 | <version>${babel.version}</version> |
| 82 | <classifier>client</classifier> |
| 83 | <exclusions> |
| 84 | <exclusion> |
| 85 | <groupId>*</groupId> |
| 86 | <artifactId>*</artifactId> |
| 87 | </exclusion> |
| 88 | </exclusions> |
| 89 | </dependency> |
| 90 | <dependency> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 91 | <groupId>org.glassfish.jersey.core</groupId> |
| 92 | <artifactId>jersey-common</artifactId> |
| 93 | <scope>test</scope> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 94 | </dependency> |
| 95 | <dependency> |
| 96 | <groupId>org.onap.aai</groupId> |
| 97 | <artifactId>rest-client</artifactId> |
| 98 | <version>${aai.rest.client.version}</version> |
| 99 | </dependency> |
| 100 | <dependency> |
| 101 | <groupId>com.google.code.gson</groupId> |
| 102 | <artifactId>gson</artifactId> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 103 | </dependency> |
| 104 | |
| 105 | <!-- Test dependencies --> |
| 106 | <dependency> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 107 | <groupId>junit</groupId> |
| 108 | <artifactId>junit</artifactId> |
| 109 | <scope>test</scope> |
| 110 | </dependency> |
| 111 | <dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 112 | <groupId>org.hamcrest</groupId> |
| 113 | <artifactId>hamcrest-all</artifactId> |
| 114 | <version>${hamcrest-all.version}</version> |
| 115 | <scope>test</scope> |
| 116 | </dependency> |
| 117 | <dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 118 | <groupId>org.mockito</groupId> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 119 | <artifactId>mockito-core</artifactId> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 120 | <scope>test</scope> |
| 121 | </dependency> |
| 122 | <dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 123 | <groupId>org.eclipse.persistence</groupId> |
| 124 | <artifactId>org.eclipse.persistence.moxy</artifactId> |
| 125 | <version>2.6.2</version> |
| 126 | <scope>compile</scope> |
| 127 | </dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 128 | <!-- https://mvnrepository.com/artifact/com.mikesamuel/json-sanitizer --> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 129 | <dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 130 | <groupId>com.mikesamuel</groupId> |
| 131 | <artifactId>json-sanitizer</artifactId> |
| 132 | <version>1.2.0</version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 133 | </dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 134 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 135 | <!-- Common logging framework --> |
| 136 | <dependency> |
Arul.Nambi | af1121f | 2017-09-21 10:39:37 -0400 | [diff] [blame] | 137 | <groupId>org.onap.aai.logging-service</groupId> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 138 | <artifactId>common-logging</artifactId> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 139 | <version>1.2.2</version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 140 | </dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 141 | <dependency> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 142 | <groupId>ch.qos.logback</groupId> |
| 143 | <artifactId>logback-core</artifactId> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 144 | </dependency> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 145 | <dependency> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 146 | <groupId>org.onap.sdc.sdc-distribution-client</groupId> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 147 | <artifactId>sdc-distribution-client</artifactId> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 148 | <version>1.3.0</version> |
Lee, Tian (tl5884) | 952a19d | 2017-08-18 16:45:23 +0100 | [diff] [blame] | 149 | </dependency> |
| 150 | <dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 151 | <groupId>org.json</groupId> |
| 152 | <artifactId>json</artifactId> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 153 | <version>20131018</version><!--$NO-MVN-MAN-VER$ --> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 154 | </dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 155 | <dependency> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 156 | <groupId>org.eclipse.jetty</groupId> |
| 157 | <artifactId>jetty-security</artifactId> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 158 | </dependency> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 159 | <dependency> |
| 160 | <groupId>org.springframework</groupId> |
| 161 | <artifactId>spring-webmvc</artifactId> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 162 | </dependency> |
| 163 | <dependency> |
| 164 | <groupId>jline</groupId> |
| 165 | <artifactId>jline</artifactId> |
| 166 | <version>2.12.1</version> |
| 167 | </dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 168 | <dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 169 | <groupId>commons-io</groupId> |
| 170 | <artifactId>commons-io</artifactId> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 171 | <version>2.4</version> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 172 | </dependency> |
| 173 | <dependency> |
| 174 | <groupId>org.apache.commons</groupId> |
| 175 | <artifactId>commons-text</artifactId> |
| 176 | <version>${apache.commons-text.version}</version> |
| 177 | </dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 178 | </dependencies> |
Steve Smokowski | e690871 | 2017-02-10 16:08:20 -0500 | [diff] [blame] | 179 | |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 180 | <!-- Plugins and repositories --> |
| 181 | <pluginRepositories> |
| 182 | <pluginRepository> |
| 183 | <id>central</id> |
| 184 | <url>http://repo1.maven.org/maven2</url> |
| 185 | </pluginRepository> |
| 186 | <pluginRepository> |
| 187 | <id>EvoSuite</id> |
| 188 | <name>EvoSuite Repository</name> |
| 189 | <url>http://www.evosuite.org/m2</url> |
| 190 | </pluginRepository> |
| 191 | </pluginRepositories> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 192 | |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 193 | <repositories> |
| 194 | <repository> |
| 195 | <id>central</id> |
| 196 | <name>Maven 2 repository 2</name> |
| 197 | <url>http://repo2.maven.org/maven2/</url> |
| 198 | </repository> |
| 199 | <repository> |
| 200 | <id>ecomp-releases</id> |
| 201 | <name>ECOMP Release Repository</name> |
| 202 | <url>${nexusproxy}/content/repositories/releases/</url> |
| 203 | </repository> |
| 204 | <repository> |
| 205 | <id>ecomp-snapshots</id> |
| 206 | <name>ECOMP Snapshot Repository</name> |
| 207 | <url>${nexusproxy}/content/repositories/snapshots/</url> |
| 208 | </repository> |
| 209 | <repository> |
| 210 | <id>ecomp-staging</id> |
| 211 | <name>ECOMP Staging Repository</name> |
| 212 | <url>${nexusproxy}/content/repositories/staging/</url> |
| 213 | </repository> |
| 214 | </repositories> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 215 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 216 | <build> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 217 | <finalName>model-loader</finalName> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 218 | <plugins> |
| 219 | <plugin> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 220 | <groupId>org.springframework.boot</groupId> |
| 221 | <artifactId>spring-boot-maven-plugin</artifactId> |
| 222 | <version>${spring-boot.version}</version> |
| 223 | <configuration> |
| 224 | <executable>true</executable> |
| 225 | </configuration> |
| 226 | <executions> |
| 227 | <execution> |
| 228 | <goals> |
| 229 | <goal>repackage</goal> |
| 230 | </goals> |
| 231 | </execution> |
| 232 | </executions> |
| 233 | </plugin> |
| 234 | <plugin> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 235 | <groupId>org.apache.maven.plugins</groupId> |
Venkata Harish K Kajur | 8d5d886 | 2017-02-20 21:33:52 +0000 | [diff] [blame] | 236 | <artifactId>maven-resources-plugin</artifactId> |
| 237 | <version>2.7</version> |
| 238 | <executions> |
| 239 | <execution> |
| 240 | <id>copy-docker-file</id> |
| 241 | <phase>package</phase> |
| 242 | <goals> |
| 243 | <goal>copy-resources</goal> |
| 244 | </goals> |
| 245 | <configuration> |
| 246 | <outputDirectory>target</outputDirectory> |
| 247 | <overwrite>true</overwrite> |
| 248 | <resources> |
| 249 | <resource> |
| 250 | <directory>${basedir}/src/main/docker</directory> |
| 251 | <filtering>true</filtering> |
| 252 | <includes> |
| 253 | <include>**/*</include> |
| 254 | </includes> |
| 255 | </resource> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 256 | <resource> |
| 257 | <directory>${basedir}/src/main/bin/</directory> |
| 258 | </resource> |
Venkata Harish K Kajur | 8d5d886 | 2017-02-20 21:33:52 +0000 | [diff] [blame] | 259 | </resources> |
| 260 | </configuration> |
| 261 | </execution> |
| 262 | </executions> |
| 263 | </plugin> |
mark.j.leonard | 6e4f04a | 2018-04-26 16:53:12 +0100 | [diff] [blame] | 264 | <plugin> |
| 265 | <groupId>com.mycila</groupId> |
| 266 | <artifactId>license-maven-plugin</artifactId> |
| 267 | <version>3.0</version> |
| 268 | <configuration> |
| 269 | <header>License.txt</header> |
| 270 | <includes> |
| 271 | <include>src/main/java/**</include> |
| 272 | <include>src/test/java/**</include> |
| 273 | <include>version/properties</include> |
| 274 | <include>pom.xml</include> |
| 275 | </includes> |
| 276 | <skipExistingHeaders>true</skipExistingHeaders> |
| 277 | </configuration> |
| 278 | <executions> |
| 279 | <execution> |
| 280 | <goals> |
| 281 | <!-- Set goal to "format" to auto update license headers --> |
| 282 | <goal>check</goal> |
| 283 | </goals> |
| 284 | <phase>process-sources</phase> |
| 285 | </execution> |
| 286 | </executions> |
| 287 | </plugin> |
Venkata Harish K Kajur | 8d5d886 | 2017-02-20 21:33:52 +0000 | [diff] [blame] | 288 | <plugin> |
| 289 | <groupId>com.spotify</groupId> |
| 290 | <artifactId>docker-maven-plugin</artifactId> |
| 291 | <version>0.4.11</version> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 292 | <configuration> |
Venkata Harish K Kajur | 61293a3 | 2017-02-20 23:58:13 +0000 | [diff] [blame] | 293 | <verbose>true</verbose> |
| 294 | <serverId>docker-hub</serverId> |
Blackwell, Ian (ib733q) | 30cffeb | 2018-04-04 13:04:04 +0100 | [diff] [blame] | 295 | <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName> |
Venkata Harish K Kajur | 8d5d886 | 2017-02-20 21:33:52 +0000 | [diff] [blame] | 296 | <dockerDirectory>${docker.location}</dockerDirectory> |
| 297 | <imageTags> |
Venkata Harish K Kajur | 8d5d886 | 2017-02-20 21:33:52 +0000 | [diff] [blame] | 298 | <imageTag>latest</imageTag> |
| 299 | </imageTags> |
| 300 | <forceTags>true</forceTags> |
| 301 | </configuration> |
| 302 | </plugin> |
| 303 | <plugin> |
| 304 | <groupId>org.apache.maven.plugins</groupId> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 305 | <artifactId>maven-deploy-plugin</artifactId> |
| 306 | <configuration> |
| 307 | <skip>true</skip> |
| 308 | </configuration> |
| 309 | </plugin> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 310 | </plugins> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 311 | </build> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 312 | </project> |