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