Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 1 | <!-- |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 2 | ============LICENSE_START========================================== |
| 3 | org.onap.aai |
| 4 | =================================================================== |
| 5 | Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved. |
| 6 | Copyright © 2017-2018 Amdocs |
| 7 | =================================================================== |
| 8 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | you may not use this file except in compliance with the License. |
| 10 | You may obtain a copy of the License at |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 14 | Unless required by applicable law or agreed to in writing, software |
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | See the License for the specific language governing permissions and |
| 18 | limitations under the License. |
| 19 | ============LICENSE_END============================================ |
| 20 | --> |
| 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> |
| 27 | <artifactId>ajsc-archetype-parent</artifactId> |
| 28 | <groupId>com.att.ajsc</groupId> |
Blimkie, Steven (sb787e) | dc1bca8 | 2017-11-10 17:27:05 +0200 | [diff] [blame] | 29 | <version>2.0.0</version> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 30 | </parent> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 31 | |
Arul.Nambi | 059f42e | 2017-09-13 15:13:29 -0400 | [diff] [blame] | 32 | <groupId>org.onap.aai.model-loader</groupId> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 33 | <artifactId>model-loader</artifactId> |
Jessica Wagantall | a277ee3 | 2017-11-16 15:23:12 -0800 | [diff] [blame] | 34 | <version>1.2.0-SNAPSHOT</version> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 35 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 36 | <properties> |
| 37 | <docker.location>${basedir}/target</docker.location> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 38 | <module.ajsc.namespace.name>model-loader</module.ajsc.namespace.name> |
| 39 | <module.ajsc.namespace.version>v1</module.ajsc.namespace.version> |
Blimkie, Steven (sb787e) | dc1bca8 | 2017-11-10 17:27:05 +0200 | [diff] [blame] | 40 | <ajscRuntimeVersion>2.0.0</ajscRuntimeVersion> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 41 | <absoluteDistFilesRoot>/appl/${project.artifactId}</absoluteDistFilesRoot> |
| 42 | <distFilesRoot>/appl/${project.artifactId}/${project.version}</distFilesRoot> |
| 43 | <runAjscHome>${basedir}/target/swm/package/nix/dist_files${distFilesRoot}</runAjscHome> |
| 44 | |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 45 | <javax.ws.rs-api.version>2.0.1</javax.ws.rs-api.version> |
| 46 | <apache.lang3.version>3.6</apache.lang3.version> |
| 47 | <apache.commons-text.version>1.1</apache.commons-text.version> |
| 48 | <commons-compress.version>1.14</commons-compress.version> |
| 49 | <fasterxml.version>2.8.1</fasterxml.version> |
| 50 | <mockito.version>1.10.19</mockito.version> |
| 51 | <powermock.version>1.6.2</powermock.version> |
| 52 | <jsr311-api.version>1.1.1</jsr311-api.version> |
| 53 | <jersey-client.version>1.18</jersey-client.version> |
| 54 | <gson.version>2.7</gson.version> |
| 55 | <hamcrest-all.version>1.3</hamcrest-all.version> |
| 56 | <version.jacoco.maven.plugin>0.7.9</version.jacoco.maven.plugin> |
| 57 | |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 58 | <!-- Port Selection. A value of 0 will allow for dynamic port selection. |
| 59 | For local testing, you may choose to hardcode this value to something like |
| 60 | 8080 --> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 61 | <serverPort>9500</serverPort> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 62 | <sslport>0</sslport> |
| 63 | |
| 64 | |
| 65 | <!-- For SOA Cloud Installation --> |
| 66 | <installOwnerUser>aaiadmin</installOwnerUser> |
| 67 | <installOwnerGroup>aaiadmin</installOwnerGroup> |
| 68 | <ownerManagementGroup>org.openecomp.aai.dev</ownerManagementGroup> |
| 69 | |
| 70 | <testRouteOffer>workstation</testRouteOffer> |
| 71 | <testEnv>DEV</testEnv> |
| 72 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 73 | <dependency.scope>provided</dependency.scope> |
| 74 | <checkstyle.config.location>google_checks.xml</checkstyle.config.location> |
| 75 | <maven.compiler.source>1.8</maven.compiler.source> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 76 | <maven.compiler.target>1.8</maven.compiler.target> |
| 77 | <sonar.language>java</sonar.language> |
| 78 | <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> |
| 79 | <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> |
| 80 | <sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath> |
| 81 | <sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero> |
| 82 | <sonar.projectVersion>${project.version}</sonar.projectVersion> |
Blackwell, Ian (ib733q) | 65757e7 | 2018-04-05 11:52:58 +0100 | [diff] [blame^] | 83 | <nexusproxy>https://nexus.onap.org</nexusproxy> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 84 | <babel.version>1.2.0-SNAPSHOT</babel.version> |
| 85 | <aai.rest.client.version>1.2.1</aai.rest.client.version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 86 | </properties> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 87 | |
Venkata Harish K Kajur | 74573bf | 2017-03-08 17:25:12 +0000 | [diff] [blame] | 88 | <distributionManagement> |
| 89 | <repository> |
| 90 | <id>ecomp-releases</id> |
| 91 | <name>ECOMP Release Repository</name> |
| 92 | <url>${nexusproxy}/content/repositories/releases/</url> |
| 93 | </repository> |
| 94 | <snapshotRepository> |
| 95 | <id>ecomp-snapshots</id> |
| 96 | <name>ECOMP Snapshot Repository</name> |
| 97 | <url>${nexusproxy}/content/repositories/snapshots/</url> |
| 98 | </snapshotRepository> |
| 99 | </distributionManagement> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 100 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 101 | <dependencies> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 102 | <dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 103 | <groupId>org.onap.aai</groupId> |
| 104 | <artifactId>babel</artifactId> |
| 105 | <version>${babel.version}</version> |
| 106 | <classifier>client</classifier> |
| 107 | <exclusions> |
| 108 | <exclusion> |
| 109 | <groupId>*</groupId> |
| 110 | <artifactId>*</artifactId> |
| 111 | </exclusion> |
| 112 | </exclusions> |
| 113 | </dependency> |
| 114 | <dependency> |
| 115 | <groupId>javax.ws.rs</groupId> |
| 116 | <artifactId>javax.ws.rs-api</artifactId> |
| 117 | <version>${javax.ws.rs-api.version}</version> |
| 118 | </dependency> |
| 119 | <dependency> |
| 120 | <groupId>javax.ws.rs</groupId> |
| 121 | <artifactId>jsr311-api</artifactId> |
| 122 | <version>${jsr311-api.version}</version> |
| 123 | </dependency> |
| 124 | <!-- https://mvnrepository.com/artifact/com.sun.jersey/jersey-bundle --> |
| 125 | <dependency> |
| 126 | <groupId>com.sun.jersey</groupId> |
| 127 | <artifactId>jersey-client</artifactId> |
| 128 | <version>${jersey-client.version}</version> |
| 129 | </dependency> |
| 130 | <dependency> |
| 131 | <groupId>org.onap.aai</groupId> |
| 132 | <artifactId>rest-client</artifactId> |
| 133 | <version>${aai.rest.client.version}</version> |
| 134 | </dependency> |
| 135 | <dependency> |
| 136 | <groupId>com.google.code.gson</groupId> |
| 137 | <artifactId>gson</artifactId> |
| 138 | <version>${gson.version}</version> |
| 139 | </dependency> |
| 140 | |
| 141 | <!-- Test dependencies --> |
| 142 | <dependency> |
| 143 | <groupId>org.hamcrest</groupId> |
| 144 | <artifactId>hamcrest-all</artifactId> |
| 145 | <version>${hamcrest-all.version}</version> |
| 146 | <scope>test</scope> |
| 147 | </dependency> |
| 148 | <dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 149 | <groupId>org.mockito</groupId> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 150 | <artifactId>mockito-core</artifactId> |
| 151 | <version>${mockito.version}</version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 152 | <scope>test</scope> |
| 153 | </dependency> |
| 154 | <dependency> |
| 155 | <groupId>org.powermock</groupId> |
| 156 | <artifactId>powermock-module-junit4</artifactId> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 157 | <version>${powermock.version}</version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 158 | <scope>test</scope> |
| 159 | </dependency> |
| 160 | <dependency> |
| 161 | <groupId>org.powermock</groupId> |
| 162 | <artifactId>powermock-api-mockito</artifactId> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 163 | <version>${powermock.version}</version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 164 | <scope>test</scope> |
| 165 | </dependency> |
| 166 | <dependency> |
| 167 | <groupId>org.powermock</groupId> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 168 | <artifactId>powermock-module-junit4-rule-agent</artifactId> |
| 169 | <version>1.6.2</version> |
| 170 | <scope>test</scope> |
Lee, Tian (tl5884) | 0eb7bd9 | 2018-02-26 12:13:31 +0000 | [diff] [blame] | 171 | <exclusions> |
| 172 | <exclusion> |
| 173 | <artifactId>powermock-module-javaagent</artifactId> |
| 174 | <groupId>org.powermock</groupId> |
| 175 | </exclusion> |
| 176 | </exclusions> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 177 | </dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 178 | <dependency> |
| 179 | <groupId>org.javassist</groupId> |
| 180 | <artifactId>javassist</artifactId> |
| 181 | <version>3.19.0-GA</version> |
| 182 | </dependency> |
| 183 | <dependency> |
| 184 | <groupId>com.fasterxml.jackson.core</groupId> |
| 185 | <artifactId>jackson-core</artifactId> |
| 186 | <version>${fasterxml.version}</version><!--$NO-MVN-MAN-VER$ --> |
| 187 | </dependency> |
| 188 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 189 | <!-- xjc dependencies --> |
| 190 | <dependency> |
| 191 | <groupId>javax.xml.bind</groupId> |
| 192 | <artifactId>jaxb-api</artifactId> |
| 193 | <version>2.2.11</version> |
| 194 | </dependency> |
| 195 | <dependency> |
| 196 | <groupId>com.sun.xml.bind</groupId> |
| 197 | <artifactId>jaxb-impl</artifactId> |
| 198 | <version>2.2.11</version> |
| 199 | </dependency> |
| 200 | <dependency> |
| 201 | <groupId>com.sun.xml.bind</groupId> |
| 202 | <artifactId>jaxb-core</artifactId> |
| 203 | <version>2.2.11</version> |
| 204 | </dependency> |
| 205 | <dependency> |
| 206 | <groupId>com.sun.xml.bind</groupId> |
| 207 | <artifactId>jaxb-xjc</artifactId> |
| 208 | <version>2.2.11</version> |
| 209 | </dependency> |
| 210 | <dependency> |
| 211 | <groupId>org.eclipse.persistence</groupId> |
| 212 | <artifactId>org.eclipse.persistence.moxy</artifactId> |
| 213 | <version>2.6.2</version> |
| 214 | <scope>compile</scope> |
| 215 | </dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 216 | <!-- https://mvnrepository.com/artifact/com.mikesamuel/json-sanitizer --> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 217 | <dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 218 | <groupId>com.mikesamuel</groupId> |
| 219 | <artifactId>json-sanitizer</artifactId> |
| 220 | <version>1.2.0</version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 221 | </dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 222 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 223 | <!-- Common logging framework --> |
| 224 | <dependency> |
Arul.Nambi | af1121f | 2017-09-21 10:39:37 -0400 | [diff] [blame] | 225 | <groupId>org.onap.aai.logging-service</groupId> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 226 | <artifactId>common-logging</artifactId> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 227 | <version>1.2.2</version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 228 | </dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 229 | <dependency> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 230 | <groupId>ch.qos.logback</groupId> |
| 231 | <artifactId>logback-core</artifactId> |
| 232 | <version>1.1.7</version> |
| 233 | </dependency> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 234 | <dependency> |
Lee, Tian (tl5884) | 3e34fda | 2017-08-15 16:18:20 +0100 | [diff] [blame] | 235 | <groupId>org.openecomp.sdc.sdc-distribution-client</groupId> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 236 | <artifactId>sdc-distribution-client</artifactId> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 237 | <version>1.2.2</version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 238 | </dependency> |
| 239 | <dependency> |
Lee, Tian (tl5884) | 952a19d | 2017-08-18 16:45:23 +0100 | [diff] [blame] | 240 | <groupId>org.apache.httpcomponents</groupId> |
| 241 | <artifactId>httpclient</artifactId> |
| 242 | <version>4.5</version> |
| 243 | </dependency> |
| 244 | <dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 245 | <groupId>org.json</groupId> |
| 246 | <artifactId>json</artifactId> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 247 | <version>20131018</version><!--$NO-MVN-MAN-VER$ --> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 248 | </dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 249 | <dependency> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 250 | <groupId>org.eclipse.jetty</groupId> |
| 251 | <artifactId>jetty-security</artifactId> |
| 252 | <version>9.3.8.RC0</version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 253 | </dependency> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 254 | <dependency> |
| 255 | <groupId>org.springframework</groupId> |
| 256 | <artifactId>spring-webmvc</artifactId> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 257 | </dependency> |
| 258 | <dependency> |
| 259 | <groupId>jline</groupId> |
| 260 | <artifactId>jline</artifactId> |
| 261 | <version>2.12.1</version> |
| 262 | </dependency> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 263 | <dependency> |
| 264 | <groupId>org.yaml</groupId> |
| 265 | <artifactId>snakeyaml</artifactId> |
| 266 | <version>1.18</version> |
| 267 | </dependency> |
| 268 | |
| 269 | <!-- apache commons --> |
| 270 | <dependency> |
| 271 | <groupId>org.apache.commons</groupId> |
| 272 | <artifactId>commons-compress</artifactId> |
| 273 | <version>${commons-compress.version}</version> |
| 274 | </dependency> |
| 275 | <dependency> |
| 276 | <groupId>commons-io</groupId> |
| 277 | <artifactId>commons-io</artifactId> |
| 278 | </dependency> |
| 279 | <dependency> |
| 280 | <groupId>org.apache.commons</groupId> |
| 281 | <artifactId>commons-lang3</artifactId> |
| 282 | <version>${apache.lang3.version}</version> |
| 283 | </dependency> |
| 284 | <dependency> |
| 285 | <groupId>org.apache.commons</groupId> |
| 286 | <artifactId>commons-text</artifactId> |
| 287 | <version>${apache.commons-text.version}</version> |
| 288 | </dependency> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 289 | </dependencies> |
Steve Smokowski | e690871 | 2017-02-10 16:08:20 -0500 | [diff] [blame] | 290 | |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 291 | <!-- Plugins and repositories --> |
| 292 | <pluginRepositories> |
| 293 | <pluginRepository> |
| 294 | <id>central</id> |
| 295 | <url>http://repo1.maven.org/maven2</url> |
| 296 | </pluginRepository> |
| 297 | <pluginRepository> |
| 298 | <id>EvoSuite</id> |
| 299 | <name>EvoSuite Repository</name> |
| 300 | <url>http://www.evosuite.org/m2</url> |
| 301 | </pluginRepository> |
| 302 | </pluginRepositories> |
Blackwell, Ian (ib733q) | 30cffeb | 2018-04-04 13:04:04 +0100 | [diff] [blame] | 303 | |
| 304 | <repositories> |
| 305 | <repository> |
| 306 | <id>central</id> |
| 307 | <name>Maven 2 repository 2</name> |
| 308 | <url>http://repo2.maven.org/maven2/</url> |
| 309 | </repository> |
| 310 | <repository> |
| 311 | <id>ecomp-releases</id> |
| 312 | <name>ECOMP Release Repository</name> |
| 313 | <url>${nexusproxy}/content/repositories/releases/</url> |
| 314 | </repository> |
| 315 | <repository> |
| 316 | <id>ecomp-snapshots</id> |
| 317 | <name>ECOMP Snapshot Repository</name> |
| 318 | <url>${nexusproxy}/content/repositories/snapshots/</url> |
| 319 | </repository> |
| 320 | <repository> |
| 321 | <id>ecomp-staging</id> |
| 322 | <name>ECOMP Staging Repository</name> |
| 323 | <url>${nexusproxy}/content/repositories/staging/</url> |
| 324 | </repository> |
| 325 | </repositories> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 326 | |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 327 | <profiles> |
| 328 | <profile> |
| 329 | <id>runAjsc</id> |
| 330 | <build> |
| 331 | <defaultGoal>initialize</defaultGoal> |
| 332 | <plugins> |
| 333 | <plugin> |
| 334 | <groupId>org.codehaus.mojo</groupId> |
| 335 | <artifactId>exec-maven-plugin</artifactId> |
| 336 | <version>1.3.2</version> |
| 337 | <executions> |
| 338 | <execution> |
| 339 | <phase>initialize</phase> |
| 340 | <goals> |
| 341 | <goal>java</goal> |
| 342 | </goals> |
| 343 | <configuration> |
| 344 | <includeProjectDependencies>false</includeProjectDependencies> |
| 345 | <includePluginDependencies>true</includePluginDependencies> |
| 346 | <executable>java</executable> |
| 347 | <mainClass>com.att.ajsc.runner.Runner</mainClass> |
| 348 | <executableDependency> |
| 349 | <groupId>com.att.ajsc</groupId> |
| 350 | <artifactId>ajsc-runner</artifactId> |
| 351 | </executableDependency> |
| 352 | <additionalClasspathElements> |
| 353 | <additionalClasspathElement>${basedir}/ajsc-shared-config/etc</additionalClasspathElement> |
| 354 | </additionalClasspathElements> |
| 355 | |
| 356 | <environmentVariables> |
| 357 | <AJSC_HOME>${runAjscHome}</AJSC_HOME> |
| 358 | </environmentVariables> |
| 359 | |
| 360 | <!-- Main AJSC System Properties below (necessary for proper startup) --> |
| 361 | <systemProperties> |
| 362 | <systemProperty> |
| 363 | <key>AJSC_HOME</key> |
| 364 | <value>${runAjscHome}</value> |
| 365 | </systemProperty> |
| 366 | <systemProperty> |
| 367 | <key>CONFIG_HOME</key> |
| 368 | <value>${basedir}/appconfig-local/</value> |
| 369 | </systemProperty> |
| 370 | <systemProperty> |
| 371 | <key>AJSC_CONF_HOME</key> |
| 372 | <value>${basedir}/bundleconfig-local</value> |
| 373 | </systemProperty> |
| 374 | <systemProperty> |
| 375 | <key>logback.configurationFile</key> |
| 376 | <value>${basedir}/ajsc-shared-config/etc/logback.xml</value> |
| 377 | </systemProperty> |
| 378 | <systemProperty> |
| 379 | <key>AJSC_SHARED_CONFIG</key> |
| 380 | <value>${basedir}/ajsc-shared-config</value> |
| 381 | </systemProperty> |
| 382 | |
| 383 | <sysproperty> |
| 384 | <key>AJSC_EXTERNAL_LIB_FOLDERS</key> |
| 385 | <value>${basedir}/target/commonLibs</value> |
| 386 | </sysproperty> |
| 387 | <sysproperty> |
| 388 | <key>AJSC_EXTERNAL_PROPERTIES_FOLDERS</key> |
| 389 | <value>${basedir}/ajsc-shared-config/etc</value> |
| 390 | </sysproperty> |
| 391 | <systemProperty> |
| 392 | <key>AJSC_SERVICE_NAMESPACE</key> |
| 393 | <value>${module.ajsc.namespace.name}</value> |
| 394 | </systemProperty> |
| 395 | <systemProperty> |
| 396 | <key>AJSC_SERVICE_VERSION</key> |
| 397 | <value>${module.ajsc.namespace.version}</value> |
| 398 | </systemProperty> |
| 399 | <systemProperty> |
| 400 | <key>SOACLOUD_SERVICE_VERSION</key> |
| 401 | <value>${project.version}</value> |
| 402 | </systemProperty> |
| 403 | <systemProperty> |
| 404 | <key>server.port</key> |
| 405 | <value>${serverPort}</value> |
| 406 | </systemProperty> |
| 407 | </systemProperties> |
| 408 | |
| 409 | <!-- Command Line Arguments to add to the java command. Here, you |
| 410 | can specify the port as well as the Context you want your service to run |
| 411 | in. Use context=/ to run in an unnamed Context (Root Context). The default |
| 412 | configuration of the AJSC is to run under the / Context. Setting the port |
| 413 | here can aid during the development phase of your service. However, you can |
| 414 | leave this argument out entirely, and the AJSC will default to using an Ephemeral |
| 415 | port. --> |
| 416 | <arguments> |
| 417 | <argument>context=//</argument> |
| 418 | <argument>port=${serverPort}</argument> |
| 419 | <argument>sslport=${sslport}</argument> |
| 420 | </arguments> |
| 421 | </configuration> |
| 422 | </execution> |
| 423 | </executions> |
| 424 | <configuration> |
| 425 | <executable>java</executable> |
| 426 | </configuration> |
| 427 | <dependencies> |
| 428 | <dependency> |
| 429 | <groupId>com.att.ajsc</groupId> |
| 430 | <artifactId>ajsc-runner</artifactId> |
| 431 | <version>${ajscRuntimeVersion}</version> |
| 432 | </dependency> |
| 433 | </dependencies> |
| 434 | </plugin> |
| 435 | </plugins> |
| 436 | </build> |
| 437 | </profile> |
| 438 | </profiles> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 439 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 440 | <build> |
| 441 | <plugins> |
| 442 | <plugin> |
| 443 | <groupId>org.apache.maven.plugins</groupId> |
Venkata Harish K Kajur | 8d5d886 | 2017-02-20 21:33:52 +0000 | [diff] [blame] | 444 | <artifactId>maven-resources-plugin</artifactId> |
| 445 | <version>2.7</version> |
| 446 | <executions> |
| 447 | <execution> |
| 448 | <id>copy-docker-file</id> |
| 449 | <phase>package</phase> |
| 450 | <goals> |
| 451 | <goal>copy-resources</goal> |
| 452 | </goals> |
| 453 | <configuration> |
| 454 | <outputDirectory>target</outputDirectory> |
| 455 | <overwrite>true</overwrite> |
| 456 | <resources> |
| 457 | <resource> |
| 458 | <directory>${basedir}/src/main/docker</directory> |
| 459 | <filtering>true</filtering> |
| 460 | <includes> |
| 461 | <include>**/*</include> |
| 462 | </includes> |
| 463 | </resource> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 464 | <resource> |
| 465 | <directory>${basedir}/src/main/bin/</directory> |
| 466 | </resource> |
Venkata Harish K Kajur | 8d5d886 | 2017-02-20 21:33:52 +0000 | [diff] [blame] | 467 | </resources> |
| 468 | </configuration> |
| 469 | </execution> |
| 470 | </executions> |
| 471 | </plugin> |
| 472 | <plugin> |
| 473 | <groupId>com.spotify</groupId> |
| 474 | <artifactId>docker-maven-plugin</artifactId> |
| 475 | <version>0.4.11</version> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 476 | <configuration> |
Venkata Harish K Kajur | 61293a3 | 2017-02-20 23:58:13 +0000 | [diff] [blame] | 477 | <verbose>true</verbose> |
| 478 | <serverId>docker-hub</serverId> |
Blackwell, Ian (ib733q) | 30cffeb | 2018-04-04 13:04:04 +0100 | [diff] [blame] | 479 | <imageName>${docker.push.registry}/onap/${project.artifactId}</imageName> |
Venkata Harish K Kajur | 8d5d886 | 2017-02-20 21:33:52 +0000 | [diff] [blame] | 480 | <dockerDirectory>${docker.location}</dockerDirectory> |
| 481 | <imageTags> |
Venkata Harish K Kajur | 8d5d886 | 2017-02-20 21:33:52 +0000 | [diff] [blame] | 482 | <imageTag>latest</imageTag> |
| 483 | </imageTags> |
| 484 | <forceTags>true</forceTags> |
| 485 | </configuration> |
| 486 | </plugin> |
| 487 | <plugin> |
| 488 | <groupId>org.apache.maven.plugins</groupId> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 489 | <artifactId>maven-dependency-plugin</artifactId> |
| 490 | <version>2.8</version> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 491 | <executions> |
| 492 | <execution> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 493 | <id>copy-agent</id> |
| 494 | <phase>process-test-classes</phase> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 495 | <goals> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 496 | <goal>copy</goal> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 497 | </goals> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 498 | <configuration> |
| 499 | <artifactItems> |
| 500 | <artifactItem> |
| 501 | <groupId>org.powermock</groupId> |
| 502 | <artifactId>powermock-module-javaagent</artifactId> |
| 503 | <version>1.6.2</version> |
| 504 | <outputDirectory>${project.build.directory}/agents</outputDirectory> |
| 505 | <destFileName>powermock-javaagent.jar</destFileName> |
| 506 | </artifactItem> |
| 507 | </artifactItems> |
| 508 | </configuration> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 509 | </execution> |
| 510 | </executions> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 511 | </plugin> |
| 512 | <plugin> |
| 513 | <groupId>org.apache.maven.plugins</groupId> |
| 514 | <artifactId>maven-surefire-plugin</artifactId> |
| 515 | <version>2.12.4</version><!--$NO-MVN-MAN-VER$ --> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 516 | <configuration> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 517 | <argLine>-noverify ${argLine}</argLine> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 518 | </configuration> |
| 519 | </plugin> |
| 520 | <plugin> |
| 521 | <groupId>org.apache.maven.plugins</groupId> |
| 522 | <artifactId>maven-compiler-plugin</artifactId> |
| 523 | <version>3.1</version> |
| 524 | </plugin> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 525 | |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 526 | <!-- Checkstyle plugin - used to report on compliance with --> |
| 527 | <!-- the Google style guide. --> |
| 528 | <plugin> |
| 529 | <groupId>org.apache.maven.plugins</groupId> |
| 530 | <artifactId>maven-site-plugin</artifactId> |
| 531 | <version>3.3</version> |
| 532 | <configuration> |
| 533 | <reportPlugins> |
| 534 | <plugin> |
| 535 | <groupId>org.apache.maven.plugins</groupId> |
| 536 | <artifactId>maven-checkstyle-plugin</artifactId> |
| 537 | <version>2.17</version> |
| 538 | <reportSets> |
| 539 | <reportSet> |
| 540 | <reports> |
| 541 | <report>checkstyle</report> |
| 542 | </reports> |
| 543 | </reportSet> |
| 544 | </reportSets> |
| 545 | </plugin> |
| 546 | </reportPlugins> |
| 547 | </configuration> |
| 548 | </plugin> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 549 | |
Blackwell, Ian (ib733q) | 30cffeb | 2018-04-04 13:04:04 +0100 | [diff] [blame] | 550 | <!-- license plugin --> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 551 | <plugin> |
Fraboni, Gino (gf403a) | 578368f | 2017-05-03 13:47:43 -0400 | [diff] [blame] | 552 | <groupId>com.mycila</groupId> |
| 553 | <artifactId>license-maven-plugin</artifactId> |
| 554 | <version>3.0</version> |
| 555 | <configuration> |
| 556 | <header>License.txt</header> |
| 557 | <includes> |
| 558 | <include>src/main/java/**</include> |
| 559 | <include>src/test/java/**</include> |
| 560 | </includes> |
| 561 | </configuration> |
| 562 | <executions> |
| 563 | <execution> |
| 564 | <goals> |
| 565 | <goal>format</goal> |
| 566 | </goals> |
| 567 | <phase>process-sources</phase> |
| 568 | </execution> |
| 569 | </executions> |
| 570 | </plugin> |
Blackwell, Ian (ib733q) | 30cffeb | 2018-04-04 13:04:04 +0100 | [diff] [blame] | 571 | |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 572 | <plugin> |
| 573 | <groupId>org.apache.maven.plugins</groupId> |
| 574 | <artifactId>maven-deploy-plugin</artifactId> |
| 575 | <configuration> |
| 576 | <skip>true</skip> |
| 577 | </configuration> |
| 578 | </plugin> |
| 579 | <plugin> |
| 580 | <groupId>org.codehaus.mojo</groupId> |
| 581 | <artifactId>sonar-maven-plugin</artifactId> |
| 582 | <version>3.2</version> |
| 583 | </plugin> |
Blackwell, Ian (ib733q) | 7b1f813 | 2018-04-03 17:28:44 +0100 | [diff] [blame] | 584 | <plugin> |
| 585 | <groupId>org.jacoco</groupId> |
| 586 | <artifactId>jacoco-maven-plugin</artifactId> |
| 587 | <version>${version.jacoco.maven.plugin}</version> |
| 588 | <executions> |
| 589 | <execution> |
| 590 | <id>jacoco-initialize-unit-tests</id> |
| 591 | <goals> |
| 592 | <goal>prepare-agent</goal> |
| 593 | </goals> |
| 594 | </execution> |
| 595 | <execution> |
| 596 | <id>report</id> |
| 597 | <phase>package</phase> |
| 598 | <goals> |
| 599 | <goal>report</goal> |
| 600 | </goals> |
| 601 | </execution> |
| 602 | </executions> |
| 603 | </plugin> |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 604 | <plugin> |
| 605 | <groupId>org.sonatype.plugins</groupId> |
| 606 | <artifactId>nexus-staging-maven-plugin</artifactId> |
| 607 | <version>1.6.7</version> |
| 608 | <extensions>true</extensions> |
| 609 | <configuration> |
| 610 | <nexusUrl>${nexusproxy}</nexusUrl> |
| 611 | <stagingProfileId>176c31dfe190a</stagingProfileId> |
| 612 | <serverId>ecomp-staging</serverId> |
| 613 | </configuration> |
| 614 | </plugin> |
Venkata Harish K Kajur | 74573bf | 2017-03-08 17:25:12 +0000 | [diff] [blame] | 615 | |
Lee, Tian (tl5884) | 46a2b5f | 2017-11-29 15:29:18 +0000 | [diff] [blame] | 616 | </plugins> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 617 | </build> |
Steve Smokowski | ef768a7 | 2017-02-09 15:43:35 -0500 | [diff] [blame] | 618 | </project> |