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