Near-RT-RIC Simualator & README files
[nonrtric.git] / near-rt-ric-simulator / nearric-simulator / a1-med-api / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
5         <modelVersion>4.0.0</modelVersion>
6         <parent>
7                 <groupId>org.oran.nearric</groupId>
8                 <artifactId>nearric-simulator</artifactId>
9                 <version>1.0.0-SNAPSHOT</version>
10                 
11         </parent>
12
13         <artifactId>a1-med-api</artifactId>
14         <name>${project.artifactId}</name>
15
16         <properties>
17                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
18                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19                 <gson-fire-version>1.8.2</gson-fire-version>
20                 <threetenbp-version>1.3.6</threetenbp-version>
21                 <generated.package.api>org.oransc.ric.a1med.api</generated.package.api>
22         </properties>
23         <dependencies>
24                 <dependency>
25                         <groupId>javax.annotation</groupId>
26                         <artifactId>javax.annotation-api</artifactId>
27                 </dependency>
28                 <dependency>
29                         <groupId>io.swagger.core.v3</groupId>
30                         <artifactId>swagger-annotations</artifactId>
31                         <version>2.0.8</version>
32                 </dependency>
33                 <dependency>
34                         <groupId>io.swagger</groupId>
35                         <artifactId>swagger-codegen-maven-plugin</artifactId>
36                         <version>2.4.8</version>
37                 </dependency>
38                 <!-- <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> 
39                         <version>2.9.2</version> </dependency> -->
40                 <dependency>
41                         <groupId>com.fasterxml.jackson.core</groupId>
42                         <artifactId>jackson-core</artifactId>
43                 </dependency>
44                 <dependency>
45                         <groupId>com.fasterxml.jackson.core</groupId>
46                         <artifactId>jackson-annotations</artifactId>
47                 </dependency>
48                 <dependency>
49                         <groupId>com.fasterxml.jackson.core</groupId>
50                         <artifactId>jackson-databind</artifactId>
51                 </dependency>
52                 <dependency>
53                         <groupId>com.fasterxml.jackson.jaxrs</groupId>
54                         <artifactId>jackson-jaxrs-json-provider</artifactId>
55                 </dependency>
56                 <dependency>
57                         <groupId>com.fasterxml.jackson.datatype</groupId>
58                         <artifactId>jackson-datatype-jsr310</artifactId>
59                 </dependency>
60                 <dependency>
61                         <groupId>com.squareup.okhttp</groupId>
62                         <artifactId>okhttp</artifactId>
63                         <version>2.7.5</version>
64                 </dependency>
65                 <dependency>
66                         <groupId>com.squareup.okhttp</groupId>
67                         <artifactId>logging-interceptor</artifactId>
68                         <version>2.7.5</version>
69                 </dependency>
70                 <dependency>
71                         <groupId>io.gsonfire</groupId>
72                         <artifactId>gson-fire</artifactId>
73                         <version>${gson-fire-version}</version>
74                 </dependency>
75                 <dependency>
76                         <groupId>org.threeten</groupId>
77                         <artifactId>threetenbp</artifactId>
78                         <version>${threetenbp-version}</version>
79                 </dependency>
80         </dependencies>
81         <build>
82                 <plugins>
83                         <plugin>
84                                 <groupId>io.swagger.codegen.v3</groupId>
85                                 <artifactId>swagger-codegen-maven-plugin</artifactId>
86                                 <version>3.0.11</version>
87                                 <executions>
88                                         <execution>
89                                                 <id>generate-sources-server</id>
90                                                 <phase>generate-sources</phase>
91                                                 <goals>
92                                                         <goal>generate</goal>
93                                                 </goals>
94                                                 <configuration>
95                                                         <inputSpec>${project.basedir}/src/main/resources/a1_mediator_0.11.0.yaml</inputSpec>
96                                                         <language>java</language>
97                                                         <output>${project.basedir}/target/generated-sources/a1med</output>
98                                                         <configOptions>
99                                                                 <apiPackage>${generated.package.api}</apiPackage>
100                                                                 <modelPackage>${generated.package.api}.model</modelPackage>
101                                                                 <addCompileSourceRoot>true</addCompileSourceRoot>
102                                                                 <generateApiTests>true</generateApiTests>
103                                                                 <generateModels>true</generateModels>
104                                                                 <generateApis>true</generateApis>
105                                                                 <generateModelTests>true</generateModelTests>
106                                                                 <sourceFolder>src/gen/java/main</sourceFolder>
107                                                                 <jackson>true</jackson>
108                                                         </configOptions>
109                                                 </configuration>
110                                         </execution>
111                                 </executions>
112                         </plugin>
113                 </plugins>
114                 <pluginManagement>
115                         <plugins>
116                                 <plugin>
117                                         <groupId>org.springframework.boot</groupId>
118                                         <artifactId>spring-boot-maven-plugin</artifactId>
119                                         <configuration>
120                                                 <skip>true</skip>
121                                         </configuration>
122                                 </plugin>
123                                 <!--This plugin's configuration is used to store Eclipse m2e settings 
124                                         only. It has no influence on the Maven build itself. -->
125                                 <plugin>
126                                         <groupId>org.eclipse.m2e</groupId>
127                                         <artifactId>lifecycle-mapping</artifactId>
128                                         <version>1.0.0</version>
129                                         <configuration>
130                                                 <lifecycleMappingMetadata>
131                                                         <pluginExecutions>
132                                                                 <pluginExecution>
133                                                                         <pluginExecutionFilter>
134                                                                                 <groupId>io.swagger.codegen.v3</groupId>
135                                                                                 <artifactId>swagger-codegen-maven-plugin</artifactId>
136                                                                                 <versionRange>[1.0,)</versionRange>
137                                                                                 <goals>
138                                                                                         <goal>generate</goal>
139                                                                                 </goals>
140                                                                         </pluginExecutionFilter>
141                                                                         <action>
142                                                                                 <ignore />
143                                                                         </action>
144                                                                 </pluginExecution>
145                                                         </pluginExecutions>
146                                                 </lifecycleMappingMetadata>
147                                         </configuration>
148                                 </plugin>
149                         </plugins>
150                 </pluginManagement>
151         </build>
152 </project>