FrancescoFioraEst | 5006eef | 2023-06-08 12:19:02 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (C) 2023 Nordix Foundation. |
| 4 | ================================================================================ |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | |
| 17 | SPDX-License-Identifier: Apache-2.0 |
| 18 | ============LICENSE_END========================================================= |
| 19 | --> |
| 20 | |
| 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | |
| 25 | <parent> |
| 26 | <groupId>org.onap.policy.clamp.participant</groupId> |
| 27 | <artifactId>policy-clamp-participant-impl</artifactId> |
adheli.tavares | 4407ea6 | 2023-08-11 15:10:44 +0100 | [diff] [blame] | 28 | <version>7.0.1-SNAPSHOT</version> |
FrancescoFioraEst | 5006eef | 2023-06-08 12:19:02 +0100 | [diff] [blame] | 29 | </parent> |
| 30 | |
| 31 | <artifactId>policy-clamp-participant-impl-simulator</artifactId> |
| 32 | <name>${project.artifactId}</name> |
| 33 | <description>Simulator participant, that performs Simulator operations</description> |
| 34 | <build> |
| 35 | <plugins> |
| 36 | <plugin> |
FrancescoFioraEst | 73a48d9 | 2023-06-13 09:19:08 +0100 | [diff] [blame] | 37 | <groupId>io.swagger.codegen.v3</groupId> |
| 38 | <artifactId>swagger-codegen-maven-plugin</artifactId> |
| 39 | <executions> |
| 40 | <execution> |
| 41 | <id>code-gen</id> |
| 42 | <goals> |
| 43 | <goal>generate</goal> |
| 44 | </goals> |
| 45 | <configuration> |
| 46 | <inputSpec>${project.basedir}/src/main/resources/openapi/openapi.yaml</inputSpec> |
| 47 | <invokerPackage>org.onap.policy.clamp.acm.participant.sim.controller</invokerPackage> |
| 48 | <apiPackage>org.onap.policy.clamp.acm.participant.sim.controller.genapi</apiPackage> |
| 49 | <language>spring</language> |
| 50 | <generateModels>false</generateModels> |
| 51 | <generateSupportingFiles>false</generateSupportingFiles> |
| 52 | <importMappings> |
| 53 | AutomationCompositions=org.onap.policy.clamp.models.acm.concepts.AutomationCompositions, |
FrancescoFioraEst | aea5fd0 | 2023-09-28 14:52:56 +0100 | [diff] [blame] | 54 | AutomationComposition=org.onap.policy.clamp.models.acm.concepts.AutomationComposition, |
FrancescoFioraEst | 73a48d9 | 2023-06-13 09:19:08 +0100 | [diff] [blame] | 55 | InternalDatas=org.onap.policy.clamp.acm.participant.sim.model.InternalDatas, |
| 56 | InternalData=org.onap.policy.clamp.acm.participant.sim.model.InternalData, |
| 57 | SimConfig=org.onap.policy.clamp.acm.participant.sim.model.SimConfig |
| 58 | </importMappings> |
| 59 | <configOptions> |
| 60 | <sourceFolder>src/gen/java</sourceFolder> |
adheli.tavares | 4407ea6 | 2023-08-11 15:10:44 +0100 | [diff] [blame] | 61 | <dateLibrary>java17</dateLibrary> |
FrancescoFioraEst | 73a48d9 | 2023-06-13 09:19:08 +0100 | [diff] [blame] | 62 | <interfaceOnly>true</interfaceOnly> |
| 63 | <useTags>true</useTags> |
adheli.tavares | 4407ea6 | 2023-08-11 15:10:44 +0100 | [diff] [blame] | 64 | <jakarta>true</jakarta> |
FrancescoFioraEst | 73a48d9 | 2023-06-13 09:19:08 +0100 | [diff] [blame] | 65 | </configOptions> |
| 66 | </configuration> |
| 67 | </execution> |
| 68 | </executions> |
| 69 | </plugin> |
| 70 | <plugin> |
FrancescoFioraEst | 5006eef | 2023-06-08 12:19:02 +0100 | [diff] [blame] | 71 | <groupId>org.springframework.boot</groupId> |
| 72 | <artifactId>spring-boot-maven-plugin</artifactId> |
adheli.tavares | 4407ea6 | 2023-08-11 15:10:44 +0100 | [diff] [blame] | 73 | <version>${version.springboot}</version> |
FrancescoFioraEst | 5006eef | 2023-06-08 12:19:02 +0100 | [diff] [blame] | 74 | <executions> |
| 75 | <execution> |
| 76 | <goals> |
| 77 | <goal>repackage</goal> |
| 78 | </goals> |
| 79 | <phase>package</phase> |
| 80 | </execution> |
| 81 | </executions> |
| 82 | </plugin> |
| 83 | </plugins> |
| 84 | </build> |
| 85 | </project> |