Instrumental | 71037c3 | 2018-03-26 13:51:48 -0700 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | * ============LICENSE_START==================================================== |
| 4 | * org.onap.aaf |
| 5 | * =========================================================================== |
| 6 | * Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. |
| 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 | --> |
| 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 | |
| 25 | <modelVersion>4.0.0</modelVersion> |
| 26 | <groupId>org.onap.aaf.auth</groupId> |
| 27 | <artifactId>parent</artifactId> |
| 28 | <version>2.1.0-SNAPSHOT</version> |
| 29 | <name>AAF Auth Parent</name> |
| 30 | <packaging>pom</packaging> |
| 31 | <properties> |
| 32 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 33 | <skipTests>true</skipTests> |
| 34 | <project.interfaceVersion>2.10-SNAPSHOT</project.interfaceVersion> |
| 35 | <project.miscVersion>1.3.0-SNAPSHOT</project.miscVersion> |
| 36 | <project.cadiVersion>1.5.0-SNAPSHOT</project.cadiVersion> |
| 37 | <!-- >project.jettyVersion>9.3.22.v20171030</project.jettyVersion --> |
| 38 | <project.jettyVersion>9.4.8.v20171121</project.jettyVersion> |
| 39 | <powermock.version>1.5.1</powermock.version> |
| 40 | <project.conf_dir>/opt/app/osaaf/etc</project.conf_dir> |
| 41 | </properties> |
| 42 | |
| 43 | <developers> |
| 44 | <developer> |
| 45 | <name>Jonathan Gathman</name> |
| 46 | <email>jonathan.gathman@att.com</email> |
| 47 | <organization>ATT</organization> |
| 48 | <roles> |
| 49 | <role>Architect</role> |
| 50 | <role>Lead Developer</role> |
| 51 | </roles> |
| 52 | </developer> |
| 53 | <developer> |
| 54 | <name>Gabe Maurer</name> |
| 55 | <email>gabe.maurer@att.com</email> |
| 56 | <organization>ATT</organization> |
| 57 | <roles> |
| 58 | <role>Developer</role> |
| 59 | </roles> |
| 60 | </developer> |
| 61 | <developer> |
| 62 | <name>Ian Howell</name> |
| 63 | <email>ian.howell@att.com</email> |
| 64 | <organization>ATT</organization> |
| 65 | <roles> |
| 66 | <role>Developer</role> |
| 67 | </roles> |
| 68 | </developer> |
| 69 | </developers> |
| 70 | |
| 71 | <build> |
| 72 | <pluginManagement> |
| 73 | <plugins> |
| 74 | <plugin> |
| 75 | <groupId>org.apache.maven.plugins</groupId> |
| 76 | <artifactId>maven-compiler-plugin</artifactId> |
| 77 | <version>2.3.2</version> |
| 78 | <configuration> |
| 79 | <source>1.8</source> |
| 80 | <target>1.8</target> |
| 81 | </configuration> |
| 82 | </plugin> |
| 83 | <plugin> |
| 84 | <groupId>org.apache.maven.plugins</groupId> |
| 85 | <artifactId>maven-deploy-plugin</artifactId> |
| 86 | <version>2.6</version> |
| 87 | <configuration> |
| 88 | <skip>false</skip> |
| 89 | </configuration> |
| 90 | </plugin> |
| 91 | |
| 92 | <plugin> |
| 93 | <groupId>org.apache.maven.plugins</groupId> |
| 94 | <artifactId>maven-surefire-plugin</artifactId> |
| 95 | <version>2.17</version> |
| 96 | <configuration> |
| 97 | <skipTests>${skipTests}</skipTests> |
| 98 | <includes> |
| 99 | <include>**/JU*.java</include> |
| 100 | </includes> |
| 101 | <excludes> |
| 102 | </excludes> |
| 103 | |
| 104 | </configuration> |
| 105 | </plugin> |
| 106 | |
| 107 | <plugin> |
| 108 | <groupId>org.apache.maven.plugins</groupId> |
| 109 | <artifactId>maven-failsafe-plugin</artifactId> |
| 110 | <version>2.17</version> |
| 111 | <configuration> |
| 112 | <skipTests>true</skipTests> |
| 113 | </configuration> |
| 114 | <executions> |
| 115 | <execution> |
| 116 | <id>integration-test</id> |
| 117 | <goals> |
| 118 | <goal>integration-test</goal> |
| 119 | <goal>verify</goal> |
| 120 | </goals> |
| 121 | </execution> |
| 122 | </executions> |
| 123 | </plugin> |
| 124 | |
| 125 | <!-- Builds O/S Command line ready jars and scripts, ready to run/zip --> |
| 126 | <plugin> |
| 127 | <groupId>org.codehaus.mojo</groupId> |
| 128 | <artifactId>appassembler-maven-plugin</artifactId> |
| 129 | <version>1.10</version> |
| 130 | <executions> |
| 131 | <execution> |
| 132 | <goals> |
| 133 | <goal>assemble</goal> |
| 134 | </goals> |
| 135 | <phase>install</phase> |
| 136 | </execution> |
| 137 | </executions> |
| 138 | <configuration> |
| 139 | <programs/> <!-- this set in projects that have programs --> |
| 140 | <assembleDirectory>../aaf_${project.version}</assembleDirectory> |
| 141 | <copyConfigurationDirectory>false</copyConfigurationDirectory> |
| 142 | <configurationDirectory>etc</configurationDirectory> |
| 143 | <repositoryName>lib</repositoryName> |
| 144 | <repositoryLayout>flat</repositoryLayout> |
| 145 | </configuration> |
| 146 | </plugin> |
| 147 | |
| 148 | <!-- Build Docker Image --> |
| 149 | <plugin> |
| 150 | <groupId>com.spotify</groupId> |
| 151 | <artifactId>docker-maven-plugin</artifactId> |
| 152 | <version>1.0.0</version> |
| 153 | <configuration> |
| 154 | <imageName>onap/osaaf/${project.artifactId}</imageName> |
| 155 | <!-- <dockerDirectory>${dockerLocation}</dockerDirectory> --> |
| 156 | <dockerDirectory>${basedir}/src/main/resources/docker</dockerDirectory> |
| 157 | <imageTags> |
| 158 | <imageTag>latest</imageTag> |
| 159 | <imageTag>${project.docker.latesttagtimestamp.version}</imageTag> |
| 160 | <imageTag>${project.docker.latesttag.version}</imageTag> |
| 161 | </imageTags> |
| 162 | <forceTags>true</forceTags> |
| 163 | <!-- <resources> <resource> <targetPath>/</targetPath> <directory>${project.build.directory}/opt</directory> |
| 164 | <filtering>true</filtering> <includes> <include>**/**</include> </includes> |
| 165 | </resource> </resources> --> |
| 166 | <resources> |
| 167 | <resource> |
| 168 | <targetPath>/</targetPath> |
| 169 | <directory>${project.build.directory}/opt</directory> |
| 170 | <include>${project.build.finalName}.jar</include> |
| 171 | </resource> |
| 172 | <resource> |
| 173 | <targetPath>/</targetPath> |
| 174 | <directory>${project.build.directory}</directory> |
| 175 | <include>**/**</include> |
| 176 | </resource> |
| 177 | </resources> |
| 178 | </configuration> |
| 179 | <executions> |
| 180 | <execution> |
| 181 | <id>build-image</id> |
| 182 | <phase>package</phase> |
| 183 | <goals> |
| 184 | <goal>build</goal> |
| 185 | </goals> |
| 186 | <configuration> |
| 187 | <skipDockerBuild>${skip.docker.build}</skipDockerBuild> |
| 188 | </configuration> |
| 189 | </execution> |
| 190 | |
| 191 | <execution> |
| 192 | <id>tag-image-project-version</id> |
| 193 | <phase>package</phase> |
| 194 | <goals> |
| 195 | <goal>tag</goal> |
| 196 | </goals> |
| 197 | <configuration> |
| 198 | <image>onap/osaaf/${project.artifactId}</image> |
| 199 | <newName>${docker.push.registry}/onap/osaaf/${project.artifactId}:${project.version}</newName> |
| 200 | <skipDockerTag>${skip.docker.push}</skipDockerTag> |
| 201 | </configuration> |
| 202 | </execution> |
| 203 | |
| 204 | <execution> |
| 205 | <id>tag-image-latest</id> |
| 206 | <phase>package</phase> |
| 207 | <goals> |
| 208 | <goal>tag</goal> |
| 209 | </goals> |
| 210 | <configuration> |
| 211 | <image>onap/aaf/authz-service</image> |
| 212 | <newName>${docker.push.registry}/onap/osaaf/${project.artifactId}:latest</newName> |
| 213 | <skipDockerTag>${skip.docker.push}</skipDockerTag> |
| 214 | </configuration> |
| 215 | </execution> |
| 216 | |
| 217 | <execution> |
| 218 | <id>push-image-latest</id> |
| 219 | <phase>deploy</phase> |
| 220 | <goals> |
| 221 | <goal>push</goal> |
| 222 | </goals> |
| 223 | <configuration> |
| 224 | <imageName>${docker.push.registry}/onap/osaaf/${project.artifactId}:${project.version}</imageName> |
| 225 | <skipDockerPush>${skip.docker.push}</skipDockerPush> |
| 226 | </configuration> |
| 227 | </execution> |
| 228 | |
| 229 | <execution> |
| 230 | <id>push-image</id> |
| 231 | <phase>deploy</phase> |
| 232 | <goals> |
| 233 | <goal>push</goal> |
| 234 | </goals> |
| 235 | <configuration> |
| 236 | <imageName>${docker.push.registry}/onap/osaaf/${project.artifactId}:latest</imageName> |
| 237 | <skipDockerPush>${skip.docker.push}</skipDockerPush> |
| 238 | </configuration> |
| 239 | </execution> |
| 240 | </executions> |
| 241 | </plugin> |
| 242 | </plugins> |
| 243 | </pluginManagement> |
| 244 | </build> |
| 245 | |
| 246 | <dependencies> |
| 247 | <dependency> |
| 248 | <groupId>org.mockito</groupId> |
| 249 | <artifactId>mockito-all</artifactId> |
| 250 | <version>1.9.5</version> |
| 251 | <scope>test</scope> |
| 252 | </dependency> |
| 253 | <dependency> |
| 254 | <groupId>org.powermock</groupId> |
| 255 | <artifactId>powermock-module-junit4</artifactId> |
| 256 | <version>${powermock.version}</version> |
| 257 | <scope>test</scope> |
| 258 | </dependency> |
| 259 | <dependency> |
| 260 | <groupId>org.powermock</groupId> |
| 261 | <artifactId>powermock-api-mockito</artifactId> |
| 262 | <version>${powermock.version}</version> |
| 263 | <scope>test</scope> |
| 264 | </dependency> |
| 265 | <dependency> |
| 266 | <groupId>junit</groupId> |
| 267 | <artifactId>junit</artifactId> |
| 268 | <version>4.10</version> |
| 269 | <scope>test</scope> |
| 270 | </dependency> |
| 271 | |
| 272 | </dependencies> |
| 273 | |
| 274 | <modules> |
| 275 | <!-- <module>auth-client</module> complile manually with mvn -N independently --> |
| 276 | <module>auth-core</module> |
| 277 | <module>auth-cass</module> |
| 278 | <module>auth-deforg</module> |
| 279 | |
| 280 | <module>auth-service</module> |
| 281 | <module>auth-cmd</module> |
| 282 | <module>auth-batch</module> |
| 283 | |
| 284 | <module>auth-gui</module> |
| 285 | <module>auth-locate</module> |
| 286 | <module>auth-oauth</module> |
| 287 | <module>auth-certman</module> |
| 288 | <module>auth-fs</module> |
| 289 | <module>auth-hello</module> |
| 290 | </modules> |
| 291 | |
| 292 | <dependencyManagement> |
| 293 | <dependencies> |
| 294 | <dependency> |
| 295 | <groupId>org.onap.aaf.misc</groupId> |
| 296 | <artifactId>aaf-misc-env</artifactId> |
| 297 | <version>${project.miscVersion}</version> |
| 298 | </dependency> |
| 299 | |
| 300 | <dependency> |
| 301 | <groupId>org.onap.aaf.misc</groupId> |
| 302 | <artifactId>aaf-misc-log4j</artifactId> |
| 303 | <version>${project.miscVersion}</version> |
| 304 | </dependency> |
| 305 | |
| 306 | <dependency> |
| 307 | <groupId>org.onap.aaf.misc</groupId> |
| 308 | <artifactId>aaf-misc-rosetta</artifactId> |
| 309 | <version>${project.miscVersion}</version> |
| 310 | </dependency> |
| 311 | |
| 312 | <dependency> |
| 313 | <groupId>org.onap.aaf.misc</groupId> |
| 314 | <artifactId>aaf-misc-xgen</artifactId> |
| 315 | <version>${project.miscVersion}</version> |
| 316 | </dependency> |
| 317 | |
| 318 | <dependency> |
| 319 | <groupId>org.onap.aaf.cadi</groupId> |
| 320 | <artifactId>aaf-cadi-core</artifactId> |
| 321 | <version>${project.cadiVersion}</version> |
| 322 | </dependency> |
| 323 | |
| 324 | <dependency> |
| 325 | <groupId>org.onap.aaf.cadi</groupId> |
| 326 | <artifactId>aaf-cadi-client</artifactId> |
| 327 | <version>${project.cadiVersion}</version> |
| 328 | </dependency> |
| 329 | |
| 330 | <dependency> |
| 331 | <groupId>org.onap.aaf.cadi</groupId> |
| 332 | <artifactId>aaf-cadi-aaf</artifactId> |
| 333 | <version>${project.cadiVersion}</version> |
| 334 | <exclusions> |
| 335 | <exclusion> |
| 336 | <groupId>org.apache.cassandra</groupId> |
| 337 | <artifactId>cassandra-all</artifactId> |
| 338 | </exclusion> |
| 339 | </exclusions> |
| 340 | </dependency> |
| 341 | |
| 342 | <dependency> |
| 343 | <groupId>org.onap.aaf.auth</groupId> |
| 344 | <artifactId>aaf-auth-client</artifactId> |
| 345 | <version>${project.interfaceVersion}</version> |
| 346 | </dependency> |
| 347 | |
| 348 | <dependency> |
| 349 | <groupId>org.onap.aaf.auth</groupId> |
| 350 | <artifactId>aaf-auth-core</artifactId> |
| 351 | <version>${project.version}</version> |
| 352 | </dependency> |
| 353 | |
| 354 | <dependency> |
| 355 | <groupId>org.onap.aaf.auth</groupId> |
| 356 | <artifactId>aaf-auth-cass</artifactId> |
| 357 | <version>${project.version}</version> |
| 358 | </dependency> |
| 359 | |
| 360 | <dependency> |
| 361 | <groupId>org.onap.aaf.auth</groupId> |
| 362 | <artifactId>aaf-auth-cmd</artifactId> |
| 363 | <version>${project.version}</version> |
| 364 | </dependency> |
| 365 | |
| 366 | <dependency> |
| 367 | <groupId>org.onap.aaf.auth</groupId> |
| 368 | <artifactId>aaf-auth-oauth</artifactId> |
| 369 | <version>${project.version}</version> |
| 370 | </dependency> |
| 371 | |
| 372 | <dependency> |
| 373 | <groupId>org.onap.aaf.auth</groupId> |
| 374 | <artifactId>aaf-auth-deforg</artifactId> |
| 375 | <version>${project.version}</version> |
| 376 | </dependency> |
| 377 | |
| 378 | <dependency> |
| 379 | <groupId>javax.servlet</groupId> |
| 380 | <artifactId>servlet-api</artifactId> |
| 381 | <version>3.0</version> |
| 382 | </dependency> |
| 383 | |
| 384 | <dependency> |
| 385 | <groupId>org.eclipse.jetty</groupId> |
| 386 | <artifactId>jetty-servlet</artifactId> |
| 387 | <version>${project.jettyVersion}</version> |
| 388 | </dependency> |
| 389 | |
| 390 | <dependency> |
| 391 | <groupId>org.eclipse.jetty</groupId> |
| 392 | <artifactId>jetty-server</artifactId> |
| 393 | <version>${project.jettyVersion}</version> |
| 394 | </dependency> |
| 395 | |
| 396 | <dependency> |
| 397 | <groupId>org.eclipse.jetty</groupId> |
| 398 | <artifactId>jetty-jmx</artifactId> |
| 399 | <version>${project.jettyVersion}</version> |
| 400 | </dependency> |
| 401 | |
| 402 | <dependency> |
| 403 | <groupId>com.datastax.cassandra</groupId> |
| 404 | <artifactId>cassandra-all</artifactId> |
| 405 | <version>3.3.0</version> |
| 406 | <exclusions> |
| 407 | <exclusion> |
| 408 | <groupId>org.slf4j</groupId> |
| 409 | <artifactId>slf4j-log4j12</artifactId> |
| 410 | </exclusion> |
| 411 | <exclusion> |
| 412 | <groupId>log4j</groupId> |
| 413 | <artifactId>log4j</artifactId> |
| 414 | </exclusion> |
| 415 | </exclusions> |
| 416 | </dependency> |
| 417 | <dependency> |
| 418 | <groupId>com.datastax.cassandra</groupId> |
| 419 | <artifactId>cassandra-driver-core</artifactId> |
| 420 | <!-- version>1.0.3</version --> |
| 421 | <!-- version>1.0.5</version --> |
| 422 | <version>3.3.0</version> |
| 423 | <exclusions> |
| 424 | <exclusion> |
| 425 | <groupId>org.slf4j</groupId> |
| 426 | <artifactId>slf4j-log4j12</artifactId> |
| 427 | </exclusion> |
| 428 | <exclusion> |
| 429 | <groupId>log4j</groupId> |
| 430 | <artifactId>log4j</artifactId> |
| 431 | </exclusion> |
| 432 | </exclusions> |
| 433 | </dependency> |
| 434 | |
| 435 | <dependency> |
| 436 | <groupId>org.slf4j</groupId> |
| 437 | <artifactId>slf4j-log4j12</artifactId> |
| 438 | <version>1.7.5</version> |
| 439 | </dependency> |
| 440 | |
| 441 | <dependency> |
| 442 | <groupId>javax.mail</groupId> |
| 443 | <artifactId>mail</artifactId> |
| 444 | <version>1.4.5</version> |
| 445 | </dependency> |
| 446 | </dependencies> |
| 447 | </dependencyManagement> |
| 448 | |
| 449 | |
| 450 | <distributionManagement> |
| 451 | <repository> |
| 452 | <id>nexus</id> |
| 453 | <name>attarch-releases</name> |
| 454 | <url>http://mavencentral.it.att.com:8084/nexus/content/repositories/attarch-releases</url> |
| 455 | </repository> |
| 456 | <snapshotRepository> |
| 457 | <id>nexus</id> |
| 458 | <name>attarch-snapshots</name> |
| 459 | <url>http://mavencentral.it.att.com:8084/nexus/content/repositories/attarch-snapshots</url> |
| 460 | </snapshotRepository> |
| 461 | </distributionManagement> |
| 462 | |
| 463 | </project> |