blob: 4030c1c5995a8fe6edff3f8601255c6f6e3af1e9 [file] [log] [blame]
Lathish1279d192019-10-10 13:30:07 +01001<?xml version="1.0" encoding="UTF-8"?>
RehanRaza553523f2019-11-12 13:39:40 +01002<!--
3 ============LICENSE_START=======================================================
4 Copyright (C) 2019 Nordix Foundation.
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
18 SPDX-License-Identifier: Apache-2.0
19 ============LICENSE_END=========================================================
20-->
Lathish1279d192019-10-10 13:30:07 +010021<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 http://maven.apache.org/maven-v4_0_0.xsd">
24 <modelVersion>4.0.0</modelVersion>
25 <parent>
26 <groupId>org.oran.nearric</groupId>
27 <artifactId>nearric-simulator</artifactId>
28 <version>1.0.0-SNAPSHOT</version>
29
30 </parent>
31
32 <artifactId>a1-med-api</artifactId>
33 <name>${project.artifactId}</name>
34
35 <properties>
36 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38 <gson-fire-version>1.8.2</gson-fire-version>
39 <threetenbp-version>1.3.6</threetenbp-version>
40 <generated.package.api>org.oransc.ric.a1med.api</generated.package.api>
41 </properties>
42 <dependencies>
43 <dependency>
44 <groupId>javax.annotation</groupId>
45 <artifactId>javax.annotation-api</artifactId>
46 </dependency>
47 <dependency>
48 <groupId>io.swagger.core.v3</groupId>
49 <artifactId>swagger-annotations</artifactId>
50 <version>2.0.8</version>
51 </dependency>
52 <dependency>
53 <groupId>io.swagger</groupId>
54 <artifactId>swagger-codegen-maven-plugin</artifactId>
55 <version>2.4.8</version>
56 </dependency>
57 <!-- <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId>
58 <version>2.9.2</version> </dependency> -->
59 <dependency>
60 <groupId>com.fasterxml.jackson.core</groupId>
61 <artifactId>jackson-core</artifactId>
62 </dependency>
63 <dependency>
64 <groupId>com.fasterxml.jackson.core</groupId>
65 <artifactId>jackson-annotations</artifactId>
66 </dependency>
67 <dependency>
68 <groupId>com.fasterxml.jackson.core</groupId>
69 <artifactId>jackson-databind</artifactId>
70 </dependency>
71 <dependency>
72 <groupId>com.fasterxml.jackson.jaxrs</groupId>
73 <artifactId>jackson-jaxrs-json-provider</artifactId>
74 </dependency>
75 <dependency>
76 <groupId>com.fasterxml.jackson.datatype</groupId>
77 <artifactId>jackson-datatype-jsr310</artifactId>
78 </dependency>
79 <dependency>
80 <groupId>com.squareup.okhttp</groupId>
81 <artifactId>okhttp</artifactId>
82 <version>2.7.5</version>
83 </dependency>
84 <dependency>
85 <groupId>com.squareup.okhttp</groupId>
86 <artifactId>logging-interceptor</artifactId>
87 <version>2.7.5</version>
88 </dependency>
89 <dependency>
90 <groupId>io.gsonfire</groupId>
91 <artifactId>gson-fire</artifactId>
92 <version>${gson-fire-version}</version>
93 </dependency>
94 <dependency>
95 <groupId>org.threeten</groupId>
96 <artifactId>threetenbp</artifactId>
97 <version>${threetenbp-version}</version>
98 </dependency>
99 </dependencies>
100 <build>
101 <plugins>
102 <plugin>
103 <groupId>io.swagger.codegen.v3</groupId>
104 <artifactId>swagger-codegen-maven-plugin</artifactId>
105 <version>3.0.11</version>
106 <executions>
107 <execution>
108 <id>generate-sources-server</id>
109 <phase>generate-sources</phase>
110 <goals>
111 <goal>generate</goal>
112 </goals>
113 <configuration>
114 <inputSpec>${project.basedir}/src/main/resources/a1_mediator_0.11.0.yaml</inputSpec>
115 <language>java</language>
116 <output>${project.basedir}/target/generated-sources/a1med</output>
117 <configOptions>
118 <apiPackage>${generated.package.api}</apiPackage>
119 <modelPackage>${generated.package.api}.model</modelPackage>
120 <addCompileSourceRoot>true</addCompileSourceRoot>
121 <generateApiTests>true</generateApiTests>
122 <generateModels>true</generateModels>
123 <generateApis>true</generateApis>
124 <generateModelTests>true</generateModelTests>
125 <sourceFolder>src/gen/java/main</sourceFolder>
126 <jackson>true</jackson>
127 </configOptions>
128 </configuration>
129 </execution>
130 </executions>
131 </plugin>
132 </plugins>
133 <pluginManagement>
134 <plugins>
135 <plugin>
136 <groupId>org.springframework.boot</groupId>
137 <artifactId>spring-boot-maven-plugin</artifactId>
138 <configuration>
139 <skip>true</skip>
140 </configuration>
141 </plugin>
142 <!--This plugin's configuration is used to store Eclipse m2e settings
143 only. It has no influence on the Maven build itself. -->
144 <plugin>
145 <groupId>org.eclipse.m2e</groupId>
146 <artifactId>lifecycle-mapping</artifactId>
147 <version>1.0.0</version>
148 <configuration>
149 <lifecycleMappingMetadata>
150 <pluginExecutions>
151 <pluginExecution>
152 <pluginExecutionFilter>
153 <groupId>io.swagger.codegen.v3</groupId>
154 <artifactId>swagger-codegen-maven-plugin</artifactId>
155 <versionRange>[1.0,)</versionRange>
156 <goals>
157 <goal>generate</goal>
158 </goals>
159 </pluginExecutionFilter>
160 <action>
161 <ignore />
162 </action>
163 </pluginExecution>
164 </pluginExecutions>
165 </lifecycleMappingMetadata>
166 </configuration>
167 </plugin>
168 </plugins>
169 </pluginManagement>
170 </build>
171</project>