Pamela Dragosh | a242769 | 2020-08-07 14:03:31 -0400 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | ONAP Policy Engine - XACML Application Tutorial |
| 4 | ================================================================================ |
| 5 | Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. |
| 6 | ================================================================================ |
| 7 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | you may not use this file except in compliance with the License. |
| 9 | You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, software |
| 14 | distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | See the License for the specific language governing permissions and |
| 17 | limitations under the License. |
| 18 | ============LICENSE_END========================================================= |
| 19 | --> |
| 20 | |
Pamela Dragosh | 0b3efb8 | 2019-06-18 12:29:38 -0400 | [diff] [blame] | 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
Pamela Dragosh | 5138956 | 2020-07-28 13:33:30 -0400 | [diff] [blame] | 22 | 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> |
Pamela Dragosh | 0ac4c6a | 2019-06-11 10:55:04 -0400 | [diff] [blame] | 25 | |
Pamela Dragosh | 5138956 | 2020-07-28 13:33:30 -0400 | [diff] [blame] | 26 | <groupId>org.onap.policy.tutorial</groupId> |
| 27 | <artifactId>tutorial</artifactId> |
| 28 | <version>0.0.1-SNAPSHOT</version> |
| 29 | <packaging>jar</packaging> |
Pamela Dragosh | 0ac4c6a | 2019-06-11 10:55:04 -0400 | [diff] [blame] | 30 | |
Pamela Dragosh | 5138956 | 2020-07-28 13:33:30 -0400 | [diff] [blame] | 31 | <name>tutorial</name> |
Pamela Dragosh | 0ac4c6a | 2019-06-11 10:55:04 -0400 | [diff] [blame] | 32 | |
Pamela Dragosh | 5138956 | 2020-07-28 13:33:30 -0400 | [diff] [blame] | 33 | <properties> |
| 34 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 35 | </properties> |
Pamela Dragosh | 0ac4c6a | 2019-06-11 10:55:04 -0400 | [diff] [blame] | 36 | |
Pamela Dragosh | 5138956 | 2020-07-28 13:33:30 -0400 | [diff] [blame] | 37 | <dependencies> |
| 38 | <dependency> |
| 39 | <groupId>junit</groupId> |
| 40 | <artifactId>junit</artifactId> |
| 41 | <version>4.13</version> |
| 42 | <scope>test</scope> |
| 43 | </dependency> |
| 44 | <dependency> |
| 45 | <groupId>org.onap.policy.xacml-pdp.applications</groupId> |
| 46 | <artifactId>common</artifactId> |
| 47 | <version>2.2.2</version> |
| 48 | </dependency> |
| 49 | <dependency> |
| 50 | <groupId>org.onap.policy.xacml-pdp</groupId> |
| 51 | <artifactId>xacml-test</artifactId> |
| 52 | <version>2.2.2</version> |
| 53 | <scope>test</scope> |
| 54 | </dependency> |
| 55 | </dependencies> |
Pamela Dragosh | a242769 | 2020-08-07 14:03:31 -0400 | [diff] [blame] | 56 | |
Pamela Dragosh | 5138956 | 2020-07-28 13:33:30 -0400 | [diff] [blame] | 57 | <build> |
| 58 | <plugins> |
| 59 | <plugin> |
| 60 | <groupId>org.apache.maven.plugins</groupId> |
| 61 | <artifactId>maven-compiler-plugin</artifactId> |
| 62 | <version>3.8.0</version> |
| 63 | <configuration> |
| 64 | <release>11</release> |
| 65 | </configuration> |
| 66 | </plugin> |
Pamela Dragosh | a242769 | 2020-08-07 14:03:31 -0400 | [diff] [blame] | 67 | <plugin> |
| 68 | <groupId>io.fabric8</groupId> |
| 69 | <artifactId>docker-maven-plugin</artifactId> |
| 70 | <version>0.33.0</version> |
| 71 | <configuration> |
| 72 | <verbose>true</verbose> |
| 73 | <images> |
| 74 | <image> |
| 75 | <name>onap/policy-xacml-tutorial</name> |
| 76 | <alias>xacml-pdp</alias> |
| 77 | <build> |
| 78 | <contextDir>${project.basedir}/src/main/docker</contextDir> |
| 79 | <assembly> |
| 80 | <descriptorRef>artifact-with-dependencies</descriptorRef> |
| 81 | </assembly> |
| 82 | </build> |
| 83 | </image> |
| 84 | </images> |
| 85 | </configuration> |
| 86 | <executions> |
| 87 | <execution> |
| 88 | <id>clean-images</id> |
| 89 | <phase>pre-clean</phase> |
| 90 | <goals> |
| 91 | <goal>remove</goal> |
| 92 | </goals> |
| 93 | </execution> |
| 94 | |
| 95 | <execution> |
| 96 | <id>generate-images</id> |
| 97 | <phase>package</phase> |
| 98 | <goals> |
| 99 | <goal>build</goal> |
| 100 | </goals> |
| 101 | </execution> |
| 102 | </executions> |
| 103 | </plugin> |
Pamela Dragosh | 5138956 | 2020-07-28 13:33:30 -0400 | [diff] [blame] | 104 | </plugins> |
| 105 | </build> |
Pamela Dragosh | 0ac4c6a | 2019-06-11 10:55:04 -0400 | [diff] [blame] | 106 | </project> |