Bruno Sakoto | f05a503 | 2021-03-03 18:27:54 -0500 | [diff] [blame] | 1 | <!-- |
| 2 | ============LICENSE_START======================================================= |
| 3 | Copyright (c) 2020 Linux Foundation. |
| 4 | Modifications Copyright (C) 2021 Bell Canada. |
| 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 | ============LICENSE_END========================================================= |
| 18 | --> |
| 19 | |
Ruslan Kashapov | 5e1a5a7 | 2021-02-04 17:26:01 +0200 | [diff] [blame] | 20 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 21 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 22 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 23 | <modelVersion>4.0.0</modelVersion> |
| 24 | <parent> |
| 25 | <groupId>org.onap.cps</groupId> |
| 26 | <artifactId>cps-parent</artifactId> |
Rishi.Chail | dbffd91 | 2021-03-05 12:32:33 +0000 | [diff] [blame] | 27 | <version>1.1.0-SNAPSHOT</version> |
Ruslan Kashapov | 5e1a5a7 | 2021-02-04 17:26:01 +0200 | [diff] [blame] | 28 | <relativePath>../cps-parent/pom.xml</relativePath> |
| 29 | </parent> |
| 30 | |
| 31 | <artifactId>cps-rest</artifactId> |
| 32 | |
| 33 | <dependencies> |
| 34 | <dependency> |
| 35 | <groupId>${project.groupId}</groupId> |
| 36 | <artifactId>cps-service</artifactId> |
| 37 | </dependency> |
| 38 | <dependency> |
Ruslan Kashapov | 5e1a5a7 | 2021-02-04 17:26:01 +0200 | [diff] [blame] | 39 | <groupId>org.springframework.boot</groupId> |
| 40 | <artifactId>spring-boot-starter-web</artifactId> |
| 41 | <exclusions> |
| 42 | <exclusion> |
| 43 | <groupId>org.springframework.boot</groupId> |
| 44 | <artifactId>spring-boot-starter-tomcat</artifactId> |
| 45 | </exclusion> |
| 46 | </exclusions> |
| 47 | </dependency> |
| 48 | <dependency> |
| 49 | <groupId>org.springframework.boot</groupId> |
Ruslan Kashapov | 8fe579d | 2021-03-04 17:13:00 +0200 | [diff] [blame] | 50 | <artifactId>spring-boot-starter-validation</artifactId> |
| 51 | </dependency> |
| 52 | <dependency> |
| 53 | <groupId>org.springframework.boot</groupId> |
Ruslan Kashapov | 5e1a5a7 | 2021-02-04 17:26:01 +0200 | [diff] [blame] | 54 | <artifactId>spring-boot-starter-jetty</artifactId> |
| 55 | </dependency> |
| 56 | <dependency> |
Ruslan Kashapov | 5e1a5a7 | 2021-02-04 17:26:01 +0200 | [diff] [blame] | 57 | <groupId>io.swagger.core.v3</groupId> |
| 58 | <artifactId>swagger-annotations</artifactId> |
| 59 | </dependency> |
| 60 | <dependency> |
| 61 | <groupId>io.springfox</groupId> |
| 62 | <artifactId>springfox-boot-starter</artifactId> |
| 63 | </dependency> |
| 64 | <dependency> |
| 65 | <groupId>io.swagger</groupId> |
| 66 | <artifactId>swagger-annotations</artifactId> |
| 67 | </dependency> |
| 68 | <dependency> |
| 69 | <groupId>org.apache.commons</groupId> |
| 70 | <artifactId>commons-lang3</artifactId> |
| 71 | </dependency> |
| 72 | <dependency> |
| 73 | <groupId>org.modelmapper</groupId> |
| 74 | <artifactId>modelmapper</artifactId> |
| 75 | </dependency> |
| 76 | <!-- T E S T D E P E N D E N C I E S --> |
| 77 | <dependency> |
| 78 | <groupId>org.codehaus.groovy</groupId> |
| 79 | <artifactId>groovy</artifactId> |
| 80 | <scope>test</scope> |
| 81 | </dependency> |
| 82 | <dependency> |
shivasubedi | 8a74ced | 2021-04-29 12:48:05 +0100 | [diff] [blame] | 83 | <groupId>org.codehaus.groovy</groupId> |
| 84 | <artifactId>groovy-json</artifactId> |
| 85 | <scope>test</scope> |
| 86 | </dependency> |
| 87 | <dependency> |
Ruslan Kashapov | 5e1a5a7 | 2021-02-04 17:26:01 +0200 | [diff] [blame] | 88 | <groupId>org.spockframework</groupId> |
| 89 | <artifactId>spock-core</artifactId> |
| 90 | <scope>test</scope> |
| 91 | </dependency> |
| 92 | <dependency> |
| 93 | <groupId>org.spockframework</groupId> |
| 94 | <artifactId>spock-spring</artifactId> |
| 95 | <scope>test</scope> |
| 96 | </dependency> |
| 97 | <dependency> |
| 98 | <groupId>cglib</groupId> |
| 99 | <artifactId>cglib-nodep</artifactId> |
| 100 | <scope>test</scope> |
| 101 | </dependency> |
| 102 | <dependency> |
| 103 | <groupId>org.springframework.boot</groupId> |
| 104 | <artifactId>spring-boot-starter-test</artifactId> |
| 105 | <scope>test</scope> |
| 106 | <exclusions> |
| 107 | <exclusion> |
| 108 | <groupId>org.junit.vintage</groupId> |
| 109 | <artifactId>junit-vintage-engine</artifactId> |
| 110 | </exclusion> |
| 111 | </exclusions> |
| 112 | </dependency> |
| 113 | </dependencies> |
| 114 | |
| 115 | <build> |
| 116 | <plugins> |
| 117 | <!-- Swagger code generation. --> |
| 118 | <plugin> |
| 119 | <groupId>io.swagger.codegen.v3</groupId> |
| 120 | <artifactId>swagger-codegen-maven-plugin</artifactId> |
| 121 | <executions> |
| 122 | <execution> |
| 123 | <goals> |
| 124 | <goal>generate</goal> |
| 125 | </goals> |
| 126 | <configuration> |
JosephKeenan | eef2e11 | 2021-05-24 17:42:23 +0100 | [diff] [blame] | 127 | <inputSpec>${project.basedir}/docs/openapi/openapi.yml</inputSpec> |
Ruslan Kashapov | 5e1a5a7 | 2021-02-04 17:26:01 +0200 | [diff] [blame] | 128 | <invokerPackage>org.onap.cps.rest.controller</invokerPackage> |
| 129 | <modelPackage>org.onap.cps.rest.model</modelPackage> |
| 130 | <apiPackage>org.onap.cps.rest.api</apiPackage> |
| 131 | <language>spring</language> |
| 132 | <generateSupportingFiles>false</generateSupportingFiles> |
| 133 | <configOptions> |
| 134 | <sourceFolder>src/gen/java</sourceFolder> |
| 135 | <dateLibrary>java11</dateLibrary> |
| 136 | <interfaceOnly>true</interfaceOnly> |
| 137 | <useTags>true</useTags> |
| 138 | </configOptions> |
| 139 | </configuration> |
| 140 | </execution> |
| 141 | </executions> |
| 142 | </plugin> |
| 143 | </plugins> |
| 144 | </build> |
| 145 | </project> |