blob: d66a9f39c5f2968a04e232438cc58b2bd5196fbf [file] [log] [blame]
Pamela Dragoshf0bd7f42020-10-26 09:59:09 -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
21<project xmlns="http://maven.apache.org/POM/4.0.0"
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>
25
26 <parent>
27 <groupId>org.onap.policy.xacml-pdp</groupId>
28 <artifactId>xacml-tutorials</artifactId>
Ram Krishna Vermaec80e952021-09-14 17:37:38 -040029 <version>2.5.1-SNAPSHOT</version>
Pamela Dragoshf0bd7f42020-10-26 09:59:09 -040030 </parent>
31
32 <groupId>org.onap.policy.tutorial.xacml-application</groupId>
33 <artifactId>tutorial-xacml-application</artifactId>
34 <packaging>jar</packaging>
35
36 <name>tutorial-xacml-application</name>
37
38 <properties>
39 <!-- There is code to support JUnit testing in this sub-module. -->
40 <sonar.skip>true</sonar.skip>
41 </properties>
42
43 <dependencies>
44 <dependency>
45 <groupId>org.onap.policy.xacml-pdp.applications</groupId>
46 <artifactId>common</artifactId>
47 <version>${project.version}</version>
48 </dependency>
49 <dependency>
50 <groupId>org.onap.policy.xacml-pdp</groupId>
51 <artifactId>xacml-test</artifactId>
52 <version>${project.version}</version>
53 <scope>test</scope>
54 </dependency>
55 </dependencies>
56
57 <profiles>
58 <profile>
59 <id>docker</id>
60 <build>
61 <plugins>
62 <plugin>
63 <groupId>io.fabric8</groupId>
64 <artifactId>docker-maven-plugin</artifactId>
65 <configuration>
66 <verbose>true</verbose>
67 <images>
68 <image>
69 <name>onap/policy-xacml-tutorial</name>
70 <alias>xacml-pdp</alias>
71 <build>
72 <contextDir>${project.basedir}/src/main/docker</contextDir>
73 <assembly>
74 <descriptorRef>artifact-with-dependencies</descriptorRef>
75 </assembly>
76 </build>
77 </image>
78 </images>
79 </configuration>
80 <executions>
81 <execution>
82 <id>clean-images</id>
83 <phase>pre-clean</phase>
84 <goals>
85 <goal>remove</goal>
86 </goals>
87 </execution>
88 <execution>
89 <id>generate-images</id>
90 <phase>package</phase>
91 <goals>
92 <goal>build</goal>
93 </goals>
94 </execution>
95 </executions>
96 </plugin>
Pamela Dragoshe7d7b102020-10-27 15:47:22 -040097 <plugin>
98 <groupId>org.apache.maven.plugins</groupId>
99 <artifactId>maven-deploy-plugin</artifactId>
100 <configuration>
101 <skip>true</skip>
102 </configuration>
103 </plugin>
Pamela Dragoshf0bd7f42020-10-26 09:59:09 -0400104 </plugins>
105 </build>
106 </profile>
107 </profiles>
108</project>