Sirisha_Manchikanti | f83411a | 2021-05-07 15:17:52 +0100 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
rameshiyer27 | fda6280 | 2022-07-28 11:58:19 +0100 | [diff] [blame] | 3 | Copyright (C) 2021-2022 Nordix Foundation. |
Sirisha_Manchikanti | f83411a | 2021-05-07 15:17:52 +0100 | [diff] [blame] | 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 | |
liamfallon | 7d04c23 | 2021-06-29 17:13:09 +0100 | [diff] [blame] | 21 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 22 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Sirisha_Manchikanti | f83411a | 2021-05-07 15:17:52 +0100 | [diff] [blame] | 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.clamp.participant</groupId> |
| 28 | <artifactId>policy-clamp-participant-impl</artifactId> |
liamfallon | 75a69e6 | 2022-10-21 17:45:53 +0100 | [diff] [blame] | 29 | <version>6.4.0-SNAPSHOT</version> |
Sirisha_Manchikanti | f83411a | 2021-05-07 15:17:52 +0100 | [diff] [blame] | 30 | </parent> |
| 31 | |
rameshiyer27 | fda6280 | 2022-07-28 11:58:19 +0100 | [diff] [blame] | 32 | <artifactId>policy-clamp-acm-element-impl</artifactId> |
Sirisha_Manchikanti | f83411a | 2021-05-07 15:17:52 +0100 | [diff] [blame] | 33 | <name>${project.artifactId}</name> |
rameshiyer27 | fda6280 | 2022-07-28 11:58:19 +0100 | [diff] [blame] | 34 | <description>AC element implementation, used to test automation compositions</description> |
FrancescoFioraEst | 1595ed7 | 2021-06-09 14:22:50 +0100 | [diff] [blame] | 35 | |
FrancescoFioraEst | 1595ed7 | 2021-06-09 14:22:50 +0100 | [diff] [blame] | 36 | <build> |
| 37 | <plugins> |
| 38 | <plugin> |
liamfallon | cf5af3f | 2022-12-01 15:24:57 +0000 | [diff] [blame^] | 39 | <groupId>io.swagger.codegen.v3</groupId> |
| 40 | <artifactId>swagger-codegen-maven-plugin</artifactId> |
| 41 | <version>${version.swagger.codegen.v3}</version> |
| 42 | <executions> |
| 43 | <execution> |
| 44 | <id>code-gen</id> |
| 45 | <goals> |
| 46 | <goal>generate</goal> |
| 47 | </goals> |
| 48 | <configuration> |
| 49 | <inputSpec>${project.basedir}/src/main/resources/openapi/openapi.yaml</inputSpec> |
| 50 | <invokerPackage>org.onap.policy.clamp.acm.runtime.main.rest</invokerPackage> |
| 51 | <apiPackage>org.onap.policy.clamp.acm.element.main.rest.genapi</apiPackage> |
| 52 | <language>spring</language> |
| 53 | <generateModels>false</generateModels> |
| 54 | <generateSupportingFiles>false</generateSupportingFiles> |
| 55 | <importMappings> |
| 56 | ElementConfig=org.onap.policy.clamp.models.acm.messages.rest.element.ElementConfig |
| 57 | </importMappings> |
| 58 | <configOptions> |
| 59 | <sourceFolder>src/gen/java</sourceFolder> |
| 60 | <dateLibrary>java11</dateLibrary> |
| 61 | <interfaceOnly>true</interfaceOnly> |
| 62 | <useTags>true</useTags> |
| 63 | </configOptions> |
| 64 | </configuration> |
| 65 | </execution> |
| 66 | </executions> |
| 67 | </plugin> |
| 68 | <plugin> |
FrancescoFioraEst | 1595ed7 | 2021-06-09 14:22:50 +0100 | [diff] [blame] | 69 | <groupId>org.springframework.boot</groupId> |
| 70 | <artifactId>spring-boot-maven-plugin</artifactId> |
FrancescoFioraEst | 1595ed7 | 2021-06-09 14:22:50 +0100 | [diff] [blame] | 71 | <executions> |
| 72 | <execution> |
| 73 | <goals> |
| 74 | <goal>repackage</goal> |
| 75 | </goals> |
| 76 | <phase>package</phase> |
| 77 | </execution> |
| 78 | </executions> |
| 79 | </plugin> |
| 80 | </plugins> |
| 81 | </build> |
Sirisha_Manchikanti | f83411a | 2021-05-07 15:17:52 +0100 | [diff] [blame] | 82 | </project> |