blob: bc8dc75d754e59a32da6ed4fc6f5334f4a95e282 [file] [log] [blame]
liamfallon20c74872021-05-26 11:02:07 +01001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
liamfallon0e405f32023-02-17 19:15:16 +00004 Copyright (C) 2021-2023 Nordix Foundation.
liamfallon20c74872021-05-26 11:02:07 +01005 ================================================================================
6 Licensed under the Apache License, Version 2.0 (the "License");
7 you may not use this file except in compliance with the License.
8 You may obtain a copy of the License at
9
10 http://www.apache.org/licenses/LICENSE-2.0
11
12 Unless required by applicable law or agreed to in writing, software
13 distributed under the License is distributed on an "AS IS" BASIS,
14 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 See the License for the specific language governing permissions and
16 limitations under the License.
17
18 SPDX-License-Identifier: Apache-2.0
19 ============LICENSE_END=========================================================
20-->
21
liamfallonc998a3a2022-11-11 13:43:16 +000022<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
liamfallon20c74872021-05-26 11:02:07 +010023 <modelVersion>4.0.0</modelVersion>
24
25 <parent>
26 <groupId>org.onap.policy.clamp</groupId>
27 <artifactId>policy-clamp</artifactId>
liamfallon8e6aa422023-05-25 09:41:35 +010028 <version>7.0.0-SNAPSHOT</version>
liamfallon20c74872021-05-26 11:02:07 +010029 </parent>
30
liamfallon43098042022-01-25 19:55:43 +000031 <artifactId>policy-clamp-runtime-acm</artifactId>
liamfallon20c74872021-05-26 11:02:07 +010032 <name>${project.artifactId}</name>
33
34 <dependencies>
35 <dependency>
36 <groupId>org.onap.policy.clamp</groupId>
37 <artifactId>policy-clamp-common</artifactId>
38 <version>${project.version}</version>
39 </dependency>
40 <dependency>
41 <groupId>org.onap.policy.clamp</groupId>
42 <artifactId>policy-clamp-models</artifactId>
liamfallon8e6aa422023-05-25 09:41:35 +010043 <version>7.0.0-SNAPSHOT</version>
liamfallon20c74872021-05-26 11:02:07 +010044 </dependency>
FrancescoFioraEstd5fb4e02021-07-05 10:36:42 +010045 <dependency>
adheli.tavares7f630942022-03-09 10:39:29 +000046 <groupId>org.onap.policy.clamp</groupId>
47 <artifactId>policy-clamp-examples</artifactId>
48 <version>${project.version}</version>
49 </dependency>
liamfallon20c74872021-05-26 11:02:07 +010050 </dependencies>
FrancescoFioraEstd5fb4e02021-07-05 10:36:42 +010051
52 <build>
53 <plugins>
lapentafd9d345f32022-10-26 16:43:00 +010054 <!-- Swagger code generation. -->
55 <plugin>
56 <groupId>io.swagger.codegen.v3</groupId>
57 <artifactId>swagger-codegen-maven-plugin</artifactId>
lapentafd9d345f32022-10-26 16:43:00 +010058 <executions>
59 <execution>
60 <id>code-gen</id>
61 <goals>
62 <goal>generate</goal>
63 </goals>
64 <configuration>
65 <inputSpec>${project.basedir}/src/main/resources/openapi/openapi.yaml</inputSpec>
liamfallonc998a3a2022-11-11 13:43:16 +000066 <invokerPackage>org.onap.policy.clamp.acm.runtime.main.rest</invokerPackage>
FrancescoFioraEstcfa51e62022-11-10 11:52:31 +000067 <modelPackage>org.onap.policy.clamp.models.acm.concepts</modelPackage>
liamfalloncf5af3f2022-12-01 15:24:57 +000068 <apiPackage>org.onap.policy.clamp.acm.runtime.main.rest.gen</apiPackage>
lapentafd9d345f32022-10-26 16:43:00 +010069 <language>spring</language>
70 <generateModels>false</generateModels>
71 <generateSupportingFiles>false</generateSupportingFiles>
liamfallonc998a3a2022-11-11 13:43:16 +000072 <importMappings>
73 ToscaServiceTemplates=org.onap.policy.models.tosca.authorative.concepts.ToscaServiceTemplates,
74 ToscaServiceTemplate=org.onap.policy.models.tosca.authorative.concepts.ToscaServiceTemplate,
75 ToscaNodeTemplate=org.onap.policy.models.tosca.authorative.concepts.ToscaNodeTemplate,
76 AutomationCompositions=org.onap.policy.clamp.models.acm.concepts.AutomationCompositions,
77 SimpleResponse=org.onap.policy.clamp.models.acm.messages.rest.SimpleResponse,
liamfallonf5ebd502022-12-16 10:17:46 +000078 AcTypeStateUpdate=org.onap.policy.clamp.models.acm.messages.rest.commissioning.AcTypeStateUpdate,
79 AcInstanceStateUpdate=org.onap.policy.clamp.models.acm.messages.rest.instantiation.AcInstanceStateUpdate,
liamfallonc998a3a2022-11-11 13:43:16 +000080 InstancePropertiesResponse=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstancePropertiesResponse,
81 CommissioningResponse=org.onap.policy.clamp.models.acm.messages.rest.commissioning.CommissioningResponse,
82 InstantiationCommand=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationCommand,
FrancescoFioraEst5e0f7912022-12-09 14:38:10 +000083 InstantiationResponse=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationResponse,
84 InstantiationUpdate=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationUpdate
liamfallonc998a3a2022-11-11 13:43:16 +000085 </importMappings>
lapentafd9d345f32022-10-26 16:43:00 +010086 <configOptions>
87 <sourceFolder>src/gen/java</sourceFolder>
88 <dateLibrary>java11</dateLibrary>
89 <interfaceOnly>true</interfaceOnly>
90 <useTags>true</useTags>
91 </configOptions>
92 </configuration>
93 </execution>
94 </executions>
95 </plugin>
FrancescoFioraEstd5fb4e02021-07-05 10:36:42 +010096 <plugin>
adheli.tavares7f630942022-03-09 10:39:29 +000097 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-remote-resources-plugin</artifactId>
adheli.tavares7f630942022-03-09 10:39:29 +000099 <configuration>
100 <resourceBundles>
101 <resourceBundle>org.onap.policy.clamp:policy-clamp-examples:${project.version}</resourceBundle>
102 </resourceBundles>
103 </configuration>
104 <executions>
105 <execution>
106 <goals>
107 <goal>process</goal>
108 </goals>
109 </execution>
110 </executions>
111 </plugin>
112 <plugin>
FrancescoFioraEstd5fb4e02021-07-05 10:36:42 +0100113 <groupId>org.springframework.boot</groupId>
114 <artifactId>spring-boot-maven-plugin</artifactId>
115 <executions>
116 <execution>
117 <goals>
118 <goal>repackage</goal>
119 </goals>
120 <phase>package</phase>
121 </execution>
122 </executions>
123 </plugin>
124 </plugins>
125 </build>
liamfallon20c74872021-05-26 11:02:07 +0100126</project>