liamfallon | 20c7487 | 2021-05-26 11:02:07 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
liamfallon | 0e405f3 | 2023-02-17 19:15:16 +0000 | [diff] [blame] | 4 | Copyright (C) 2021-2023 Nordix Foundation. |
liamfallon | 20c7487 | 2021-05-26 11:02:07 +0100 | [diff] [blame] | 5 | ================================================================================ |
| 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 | |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 22 | <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"> |
liamfallon | 20c7487 | 2021-05-26 11:02:07 +0100 | [diff] [blame] | 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | |
| 25 | <parent> |
| 26 | <groupId>org.onap.policy.clamp</groupId> |
| 27 | <artifactId>policy-clamp</artifactId> |
FrancescoFioraEst | 97d1555 | 2023-08-25 10:13:43 +0100 | [diff] [blame] | 28 | <version>7.0.1-SNAPSHOT</version> |
liamfallon | 20c7487 | 2021-05-26 11:02:07 +0100 | [diff] [blame] | 29 | </parent> |
| 30 | |
liamfallon | 4309804 | 2022-01-25 19:55:43 +0000 | [diff] [blame] | 31 | <artifactId>policy-clamp-runtime-acm</artifactId> |
liamfallon | 20c7487 | 2021-05-26 11:02:07 +0100 | [diff] [blame] | 32 | <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> |
FrancescoFioraEst | 97d1555 | 2023-08-25 10:13:43 +0100 | [diff] [blame] | 43 | <version>7.0.1-SNAPSHOT</version> |
liamfallon | 20c7487 | 2021-05-26 11:02:07 +0100 | [diff] [blame] | 44 | </dependency> |
FrancescoFioraEst | d5fb4e0 | 2021-07-05 10:36:42 +0100 | [diff] [blame] | 45 | <dependency> |
adheli.tavares | 7f63094 | 2022-03-09 10:39:29 +0000 | [diff] [blame] | 46 | <groupId>org.onap.policy.clamp</groupId> |
| 47 | <artifactId>policy-clamp-examples</artifactId> |
| 48 | <version>${project.version}</version> |
| 49 | </dependency> |
liamfallon | 20c7487 | 2021-05-26 11:02:07 +0100 | [diff] [blame] | 50 | </dependencies> |
FrancescoFioraEst | d5fb4e0 | 2021-07-05 10:36:42 +0100 | [diff] [blame] | 51 | |
| 52 | <build> |
| 53 | <plugins> |
lapentafd | 9d345f3 | 2022-10-26 16:43:00 +0100 | [diff] [blame] | 54 | <!-- Swagger code generation. --> |
| 55 | <plugin> |
| 56 | <groupId>io.swagger.codegen.v3</groupId> |
| 57 | <artifactId>swagger-codegen-maven-plugin</artifactId> |
FrancescoFioraEst | cee4b8a | 2023-08-11 15:10:44 +0100 | [diff] [blame] | 58 | <version>3.0.46</version> |
lapentafd | 9d345f3 | 2022-10-26 16:43:00 +0100 | [diff] [blame] | 59 | <executions> |
| 60 | <execution> |
| 61 | <id>code-gen</id> |
| 62 | <goals> |
| 63 | <goal>generate</goal> |
| 64 | </goals> |
| 65 | <configuration> |
| 66 | <inputSpec>${project.basedir}/src/main/resources/openapi/openapi.yaml</inputSpec> |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 67 | <invokerPackage>org.onap.policy.clamp.acm.runtime.main.rest</invokerPackage> |
FrancescoFioraEst | cfa51e6 | 2022-11-10 11:52:31 +0000 | [diff] [blame] | 68 | <modelPackage>org.onap.policy.clamp.models.acm.concepts</modelPackage> |
liamfallon | cf5af3f | 2022-12-01 15:24:57 +0000 | [diff] [blame] | 69 | <apiPackage>org.onap.policy.clamp.acm.runtime.main.rest.gen</apiPackage> |
lapentafd | 9d345f3 | 2022-10-26 16:43:00 +0100 | [diff] [blame] | 70 | <language>spring</language> |
| 71 | <generateModels>false</generateModels> |
| 72 | <generateSupportingFiles>false</generateSupportingFiles> |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 73 | <importMappings> |
| 74 | ToscaServiceTemplates=org.onap.policy.models.tosca.authorative.concepts.ToscaServiceTemplates, |
| 75 | ToscaServiceTemplate=org.onap.policy.models.tosca.authorative.concepts.ToscaServiceTemplate, |
| 76 | ToscaNodeTemplate=org.onap.policy.models.tosca.authorative.concepts.ToscaNodeTemplate, |
| 77 | AutomationCompositions=org.onap.policy.clamp.models.acm.concepts.AutomationCompositions, |
| 78 | SimpleResponse=org.onap.policy.clamp.models.acm.messages.rest.SimpleResponse, |
liamfallon | f5ebd50 | 2022-12-16 10:17:46 +0000 | [diff] [blame] | 79 | AcTypeStateUpdate=org.onap.policy.clamp.models.acm.messages.rest.commissioning.AcTypeStateUpdate, |
| 80 | AcInstanceStateUpdate=org.onap.policy.clamp.models.acm.messages.rest.instantiation.AcInstanceStateUpdate, |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 81 | InstancePropertiesResponse=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstancePropertiesResponse, |
| 82 | CommissioningResponse=org.onap.policy.clamp.models.acm.messages.rest.commissioning.CommissioningResponse, |
| 83 | InstantiationCommand=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationCommand, |
FrancescoFioraEst | 5e0f791 | 2022-12-09 14:38:10 +0000 | [diff] [blame] | 84 | InstantiationResponse=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationResponse, |
| 85 | InstantiationUpdate=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationUpdate |
liamfallon | c998a3a | 2022-11-11 13:43:16 +0000 | [diff] [blame] | 86 | </importMappings> |
lapentafd | 9d345f3 | 2022-10-26 16:43:00 +0100 | [diff] [blame] | 87 | <configOptions> |
| 88 | <sourceFolder>src/gen/java</sourceFolder> |
| 89 | <dateLibrary>java11</dateLibrary> |
| 90 | <interfaceOnly>true</interfaceOnly> |
| 91 | <useTags>true</useTags> |
FrancescoFioraEst | cee4b8a | 2023-08-11 15:10:44 +0100 | [diff] [blame] | 92 | <jakarta>true</jakarta> |
lapentafd | 9d345f3 | 2022-10-26 16:43:00 +0100 | [diff] [blame] | 93 | </configOptions> |
| 94 | </configuration> |
| 95 | </execution> |
| 96 | </executions> |
| 97 | </plugin> |
FrancescoFioraEst | d5fb4e0 | 2021-07-05 10:36:42 +0100 | [diff] [blame] | 98 | <plugin> |
adheli.tavares | 7f63094 | 2022-03-09 10:39:29 +0000 | [diff] [blame] | 99 | <groupId>org.apache.maven.plugins</groupId> |
| 100 | <artifactId>maven-remote-resources-plugin</artifactId> |
adheli.tavares | 7f63094 | 2022-03-09 10:39:29 +0000 | [diff] [blame] | 101 | <configuration> |
| 102 | <resourceBundles> |
| 103 | <resourceBundle>org.onap.policy.clamp:policy-clamp-examples:${project.version}</resourceBundle> |
| 104 | </resourceBundles> |
| 105 | </configuration> |
| 106 | <executions> |
| 107 | <execution> |
| 108 | <goals> |
| 109 | <goal>process</goal> |
| 110 | </goals> |
| 111 | </execution> |
| 112 | </executions> |
| 113 | </plugin> |
| 114 | <plugin> |
FrancescoFioraEst | d5fb4e0 | 2021-07-05 10:36:42 +0100 | [diff] [blame] | 115 | <groupId>org.springframework.boot</groupId> |
| 116 | <artifactId>spring-boot-maven-plugin</artifactId> |
FrancescoFioraEst | cee4b8a | 2023-08-11 15:10:44 +0100 | [diff] [blame] | 117 | <version>${version.springboot}</version> |
FrancescoFioraEst | d5fb4e0 | 2021-07-05 10:36:42 +0100 | [diff] [blame] | 118 | <executions> |
| 119 | <execution> |
| 120 | <goals> |
| 121 | <goal>repackage</goal> |
| 122 | </goals> |
| 123 | <phase>package</phase> |
| 124 | </execution> |
| 125 | </executions> |
| 126 | </plugin> |
| 127 | </plugins> |
| 128 | </build> |
liamfallon | 20c7487 | 2021-05-26 11:02:07 +0100 | [diff] [blame] | 129 | </project> |