Decouple configuration from application
[cps.git] / cps-nf-proxy-rest / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0"
2   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4     <modelVersion>4.0.0</modelVersion>
5     <parent>
6         <groupId>org.onap.cps</groupId>
7         <artifactId>cps-parent</artifactId>
8         <version>0.0.1-SNAPSHOT</version>
9         <relativePath>../cps-parent/pom.xml</relativePath>
10     </parent>
11
12     <artifactId>cps-nf-proxy-rest</artifactId>
13
14     <properties>
15         <minimum-coverage>0.0</minimum-coverage>
16     </properties>
17
18     <dependencies>
19         <dependency>
20             <groupId>${project.groupId}</groupId>
21             <artifactId>cps-service</artifactId>
22         </dependency>
23         <dependency>
24             <groupId>${project.groupId}</groupId>
25             <artifactId>cps-ri</artifactId>
26         </dependency>
27         <dependency>
28             <groupId>org.springframework.boot</groupId>
29             <artifactId>spring-boot-starter-web</artifactId>
30             <exclusions>
31                 <exclusion>
32                     <groupId>org.springframework.boot</groupId>
33                     <artifactId>spring-boot-starter-tomcat</artifactId>
34                 </exclusion>
35             </exclusions>
36         </dependency>
37         <dependency>
38             <groupId>org.springframework.boot</groupId>
39             <artifactId>spring-boot-starter-jetty</artifactId>
40         </dependency>
41         <dependency>
42             <groupId>org.springframework.boot</groupId>
43             <artifactId>spring-boot-starter-actuator</artifactId>
44         </dependency>
45         <dependency>
46             <groupId>io.swagger.core.v3</groupId>
47             <artifactId>swagger-annotations</artifactId>
48         </dependency>
49         <dependency>
50             <groupId>io.springfox</groupId>
51             <artifactId>springfox-boot-starter</artifactId>
52         </dependency>
53         <dependency>
54             <groupId>io.swagger</groupId>
55             <artifactId>swagger-annotations</artifactId>
56         </dependency>
57         <dependency>
58             <groupId>org.apache.commons</groupId>
59             <artifactId>commons-lang3</artifactId>
60         </dependency>
61         <!-- T E S T   D E P E N D E N C I E S -->
62         <dependency>
63             <groupId>org.codehaus.groovy</groupId>
64             <artifactId>groovy</artifactId>
65             <scope>test</scope>
66         </dependency>
67         <dependency>
68             <groupId>org.spockframework</groupId>
69             <artifactId>spock-core</artifactId>
70             <scope>test</scope>
71         </dependency>
72         <dependency>
73             <groupId>org.spockframework</groupId>
74             <artifactId>spock-spring</artifactId>
75             <scope>test</scope>
76         </dependency>
77         <dependency>
78             <groupId>cglib</groupId>
79             <artifactId>cglib-nodep</artifactId>
80             <scope>test</scope>
81         </dependency>
82         <dependency>
83             <groupId>org.springframework.boot</groupId>
84             <artifactId>spring-boot-starter-test</artifactId>
85             <scope>test</scope>
86             <exclusions>
87                 <exclusion>
88                     <groupId>org.junit.vintage</groupId>
89                     <artifactId>junit-vintage-engine</artifactId>
90                 </exclusion>
91             </exclusions>
92         </dependency>
93     </dependencies>
94
95     <build>
96         <plugins>
97             <!-- Swagger code generation. -->
98             <plugin>
99                 <groupId>io.swagger.codegen.v3</groupId>
100                 <artifactId>swagger-codegen-maven-plugin</artifactId>
101                 <executions>
102                     <execution>
103                         <goals>
104                             <goal>generate</goal>
105                         </goals>
106                         <configuration>
107                             <inputSpec>${project.basedir}/docs/openapi/openapi.yml</inputSpec>
108                             <invokerPackage>org.onap.cps.nfproxy.rest.controller</invokerPackage>
109                             <modelPackage>org.onap.cps.nfproxy.rest.model</modelPackage>
110                             <apiPackage>org.onap.cps.nfproxy.rest.api</apiPackage>
111                             <language>spring</language>
112                             <generateSupportingFiles>false</generateSupportingFiles>
113                             <configOptions>
114                                 <sourceFolder>src/gen/java</sourceFolder>
115                                 <dateLibrary>java11</dateLibrary>
116                                 <interfaceOnly>true</interfaceOnly>
117                                 <useTags>true</useTags>
118                             </configOptions>
119                         </configuration>
120                     </execution>
121                 </executions>
122             </plugin>
123         </plugins>
124     </build>
125 </project>