blob: 380ee512c345eaad4b50a809257e14e4de253683 [file] [log] [blame]
Pamela Dragosha2427692020-08-07 14:03:31 -04001<!--
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 Dragosh0b3efb82019-06-18 12:29:38 -040021<project xmlns="http://maven.apache.org/POM/4.0.0"
Pamela Dragosh51389562020-07-28 13:33:30 -040022 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 Dragosh0ac4c6a2019-06-11 10:55:04 -040025
Pamela Dragosh51389562020-07-28 13:33:30 -040026 <groupId>org.onap.policy.tutorial</groupId>
27 <artifactId>tutorial</artifactId>
28 <version>0.0.1-SNAPSHOT</version>
29 <packaging>jar</packaging>
Pamela Dragosh0ac4c6a2019-06-11 10:55:04 -040030
Pamela Dragosh51389562020-07-28 13:33:30 -040031 <name>tutorial</name>
Pamela Dragosh0ac4c6a2019-06-11 10:55:04 -040032
Pamela Dragosh51389562020-07-28 13:33:30 -040033 <properties>
34 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35 </properties>
Pamela Dragosh0ac4c6a2019-06-11 10:55:04 -040036
Pamela Dragosh51389562020-07-28 13:33:30 -040037 <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 Dragosha2427692020-08-07 14:03:31 -040056
Pamela Dragosh51389562020-07-28 13:33:30 -040057 <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 Dragosha2427692020-08-07 14:03:31 -040067 <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 Dragosh51389562020-07-28 13:33:30 -0400104 </plugins>
105 </build>
Pamela Dragosh0ac4c6a2019-06-11 10:55:04 -0400106</project>