shivasubedi | 8df61a9 | 2021-06-16 14:43:18 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Bruno Sakoto | f05a503 | 2021-03-03 18:27:54 -0500 | [diff] [blame] | 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | Copyright (c) 2020 Linux Foundation. |
lukegleeson | d5bda88 | 2022-03-02 14:32:47 +0000 | [diff] [blame] | 5 | Modifications Copyright (C) 2020-2022 Nordix Foundation. |
Bruno Sakoto | f05a503 | 2021-03-03 18:27:54 -0500 | [diff] [blame] | 6 | Modifications Copyright (C) 2021 Bell Canada. |
| 7 | ================================================================================ |
| 8 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | you may not use this file except in compliance with the License. |
| 10 | You may obtain a copy of the License at |
| 11 | |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 14 | Unless required by applicable law or agreed to in writing, software |
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | See the License for the specific language governing permissions and |
| 18 | limitations under the License. |
Renu Kumari | 4d52001 | 2021-08-30 11:50:43 -0400 | [diff] [blame] | 19 | |
| 20 | SPDX-License-Identifier: Apache-2.0 |
Bruno Sakoto | f05a503 | 2021-03-03 18:27:54 -0500 | [diff] [blame] | 21 | ============LICENSE_END========================================================= |
| 22 | --> |
| 23 | |
Ruslan Kashapov | 5e1a5a7 | 2021-02-04 17:26:01 +0200 | [diff] [blame] | 24 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 25 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 26 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 27 | <modelVersion>4.0.0</modelVersion> |
| 28 | <parent> |
| 29 | <groupId>org.onap.cps</groupId> |
| 30 | <artifactId>cps-parent</artifactId> |
mpriyank | fe77531 | 2022-09-30 14:16:51 +0100 | [diff] [blame] | 31 | <version>3.1.4-SNAPSHOT</version> |
Ruslan Kashapov | 5e1a5a7 | 2021-02-04 17:26:01 +0200 | [diff] [blame] | 32 | <relativePath>../cps-parent/pom.xml</relativePath> |
| 33 | </parent> |
| 34 | |
| 35 | <artifactId>cps-rest</artifactId> |
| 36 | |
| 37 | <dependencies> |
| 38 | <dependency> |
| 39 | <groupId>${project.groupId}</groupId> |
| 40 | <artifactId>cps-service</artifactId> |
| 41 | </dependency> |
| 42 | <dependency> |
Ruslan Kashapov | 5e1a5a7 | 2021-02-04 17:26:01 +0200 | [diff] [blame] | 43 | <groupId>org.springframework.boot</groupId> |
| 44 | <artifactId>spring-boot-starter-web</artifactId> |
| 45 | <exclusions> |
| 46 | <exclusion> |
| 47 | <groupId>org.springframework.boot</groupId> |
| 48 | <artifactId>spring-boot-starter-tomcat</artifactId> |
| 49 | </exclusion> |
| 50 | </exclusions> |
| 51 | </dependency> |
| 52 | <dependency> |
| 53 | <groupId>org.springframework.boot</groupId> |
Ruslan Kashapov | 8fe579d | 2021-03-04 17:13:00 +0200 | [diff] [blame] | 54 | <artifactId>spring-boot-starter-validation</artifactId> |
| 55 | </dependency> |
| 56 | <dependency> |
| 57 | <groupId>org.springframework.boot</groupId> |
Ruslan Kashapov | 5e1a5a7 | 2021-02-04 17:26:01 +0200 | [diff] [blame] | 58 | <artifactId>spring-boot-starter-jetty</artifactId> |
| 59 | </dependency> |
| 60 | <dependency> |
Bruno Sakoto | 9be188d | 2021-06-16 11:47:54 -0400 | [diff] [blame] | 61 | <groupId>org.springframework.retry</groupId> |
| 62 | <artifactId>spring-retry</artifactId> |
| 63 | </dependency> |
| 64 | <dependency> |
| 65 | <groupId>org.springframework</groupId> |
| 66 | <artifactId>spring-aspects</artifactId> |
| 67 | </dependency> |
| 68 | <dependency> |
Ruslan Kashapov | 5e1a5a7 | 2021-02-04 17:26:01 +0200 | [diff] [blame] | 69 | <groupId>io.swagger.core.v3</groupId> |
| 70 | <artifactId>swagger-annotations</artifactId> |
| 71 | </dependency> |
| 72 | <dependency> |
JosephKeenan | 2472e61 | 2021-06-23 14:15:52 +0100 | [diff] [blame] | 73 | <groupId>org.springdoc</groupId> |
| 74 | <artifactId>springdoc-openapi-ui</artifactId> |
Bruno Sakoto | 91bef9e | 2021-10-20 17:30:29 +0200 | [diff] [blame] | 75 | <version>1.5.11</version> |
JosephKeenan | 2472e61 | 2021-06-23 14:15:52 +0100 | [diff] [blame] | 76 | </dependency> |
| 77 | <dependency> |
Ruslan Kashapov | 5e1a5a7 | 2021-02-04 17:26:01 +0200 | [diff] [blame] | 78 | <groupId>org.apache.commons</groupId> |
| 79 | <artifactId>commons-lang3</artifactId> |
| 80 | </dependency> |
| 81 | <dependency> |
lukegleeson | d5bda88 | 2022-03-02 14:32:47 +0000 | [diff] [blame] | 82 | <groupId>org.mapstruct</groupId> |
| 83 | <artifactId>mapstruct</artifactId> |
| 84 | </dependency> |
| 85 | <dependency> |
| 86 | <groupId>org.mapstruct</groupId> |
| 87 | <artifactId>mapstruct-processor</artifactId> |
Ruslan Kashapov | 5e1a5a7 | 2021-02-04 17:26:01 +0200 | [diff] [blame] | 88 | </dependency> |
| 89 | <!-- T E S T D E P E N D E N C I E S --> |
| 90 | <dependency> |
| 91 | <groupId>org.codehaus.groovy</groupId> |
| 92 | <artifactId>groovy</artifactId> |
| 93 | <scope>test</scope> |
| 94 | </dependency> |
| 95 | <dependency> |
shivasubedi | 8a74ced | 2021-04-29 12:48:05 +0100 | [diff] [blame] | 96 | <groupId>org.codehaus.groovy</groupId> |
| 97 | <artifactId>groovy-json</artifactId> |
| 98 | <scope>test</scope> |
| 99 | </dependency> |
| 100 | <dependency> |
Ruslan Kashapov | 5e1a5a7 | 2021-02-04 17:26:01 +0200 | [diff] [blame] | 101 | <groupId>org.spockframework</groupId> |
| 102 | <artifactId>spock-core</artifactId> |
| 103 | <scope>test</scope> |
| 104 | </dependency> |
| 105 | <dependency> |
| 106 | <groupId>org.spockframework</groupId> |
| 107 | <artifactId>spock-spring</artifactId> |
| 108 | <scope>test</scope> |
| 109 | </dependency> |
| 110 | <dependency> |
| 111 | <groupId>cglib</groupId> |
| 112 | <artifactId>cglib-nodep</artifactId> |
| 113 | <scope>test</scope> |
| 114 | </dependency> |
| 115 | <dependency> |
| 116 | <groupId>org.springframework.boot</groupId> |
| 117 | <artifactId>spring-boot-starter-test</artifactId> |
| 118 | <scope>test</scope> |
| 119 | <exclusions> |
| 120 | <exclusion> |
| 121 | <groupId>org.junit.vintage</groupId> |
| 122 | <artifactId>junit-vintage-engine</artifactId> |
| 123 | </exclusion> |
| 124 | </exclusions> |
| 125 | </dependency> |
| 126 | </dependencies> |
| 127 | |
| 128 | <build> |
| 129 | <plugins> |
| 130 | <!-- Swagger code generation. --> |
| 131 | <plugin> |
| 132 | <groupId>io.swagger.codegen.v3</groupId> |
| 133 | <artifactId>swagger-codegen-maven-plugin</artifactId> |
| 134 | <executions> |
| 135 | <execution> |
Renu Kumari | 4d52001 | 2021-08-30 11:50:43 -0400 | [diff] [blame] | 136 | <id>code-gen</id> |
Ruslan Kashapov | 5e1a5a7 | 2021-02-04 17:26:01 +0200 | [diff] [blame] | 137 | <goals> |
| 138 | <goal>generate</goal> |
| 139 | </goals> |
| 140 | <configuration> |
Renu Kumari | 4d52001 | 2021-08-30 11:50:43 -0400 | [diff] [blame] | 141 | <inputSpec>${project.basedir}/docs/openapi/openapi.yml</inputSpec> |
Ruslan Kashapov | 5e1a5a7 | 2021-02-04 17:26:01 +0200 | [diff] [blame] | 142 | <invokerPackage>org.onap.cps.rest.controller</invokerPackage> |
| 143 | <modelPackage>org.onap.cps.rest.model</modelPackage> |
| 144 | <apiPackage>org.onap.cps.rest.api</apiPackage> |
| 145 | <language>spring</language> |
| 146 | <generateSupportingFiles>false</generateSupportingFiles> |
| 147 | <configOptions> |
| 148 | <sourceFolder>src/gen/java</sourceFolder> |
| 149 | <dateLibrary>java11</dateLibrary> |
| 150 | <interfaceOnly>true</interfaceOnly> |
| 151 | <useTags>true</useTags> |
| 152 | </configOptions> |
| 153 | </configuration> |
| 154 | </execution> |
| 155 | </executions> |
| 156 | </plugin> |
Renu Kumari | 4d52001 | 2021-08-30 11:50:43 -0400 | [diff] [blame] | 157 | <plugin> |
| 158 | <artifactId>maven-resources-plugin</artifactId> |
| 159 | <executions> |
| 160 | <execution> |
| 161 | <id>copy-resources</id> |
| 162 | <phase>compile</phase> |
| 163 | <goals> |
| 164 | <goal>copy-resources</goal> |
| 165 | </goals> |
| 166 | <configuration> |
| 167 | <outputDirectory>${project.basedir}/target/classes/static/api-docs/cps-core</outputDirectory> |
| 168 | <resources> |
| 169 | <resource> |
| 170 | <directory>${project.basedir}/target/generated-sources/swagger/</directory> |
| 171 | <includes> |
| 172 | <include>openapi.yaml</include> |
| 173 | </includes> |
| 174 | </resource> |
| 175 | </resources> |
| 176 | </configuration> |
| 177 | </execution> |
| 178 | </executions> |
| 179 | </plugin> |
Ruslan Kashapov | 5e1a5a7 | 2021-02-04 17:26:01 +0200 | [diff] [blame] | 180 | </plugins> |
| 181 | </build> |
| 182 | </project> |