0a1f67a373474942009394e131205d4271bf1ae4
[portal/ric-dashboard.git] / e2-mgr-client / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--<![CDATA[
3 ========================LICENSE_START=================================
4 ORAN-OSC
5 %%
6 Copyright (C) 2019 AT&T Intellectual Property and Nokia
7 %%
8 Licensed under the Apache License, Version 2.0 (the "License");
9 you may not use this file except in compliance with the License.
10 You may obtain a copy of the License at
11
12      http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing, software
15 distributed under the License is distributed on an "AS IS" BASIS,
16 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 See the License for the specific language governing permissions and
18 limitations under the License.
19 ========================LICENSE_END===================================
20 ]]>-->
21 <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.o-ran-sc.portal.ric-dashboard</groupId>
27                 <artifactId>ric-dash-parent</artifactId>
28                 <version>1.0.1-SNAPSHOT</version>
29         </parent>
30         <!-- This groupId will NOT allow deployment in LF -->
31         <groupId>org.o-ran-sc.ric.e2mgr.client</groupId>
32         <artifactId>e2-mgr-client</artifactId>
33         <name>RIC E2 Manager client</name>
34         <version>02052019-SNAPSHOT</version>
35         <properties>
36                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38                 <client.base.package.name>org.oransc.ric.e2mgr.client</client.base.package.name>
39         </properties>
40         <!-- Successful compilation requires generated code dependencies -->
41         <dependencies>
42                 <dependency>
43                         <groupId>io.swagger.core.v3</groupId>
44                         <artifactId>swagger-annotations</artifactId>
45                         <version>2.0.8</version>
46                 </dependency>
47                 <dependency>
48                         <groupId>org.springframework</groupId>
49                         <artifactId>spring-context</artifactId>
50                 </dependency>
51                 <!-- HTTP client: Spring RestTemplate -->
52                 <dependency>
53                         <groupId>org.springframework</groupId>
54                         <artifactId>spring-web</artifactId>
55                         <!-- <version>${spring-web-version}</version> -->
56                 </dependency>
57                 <!-- JSON processing: jackson -->
58                 <dependency>
59                         <groupId>com.fasterxml.jackson.core</groupId>
60                         <artifactId>jackson-core</artifactId>
61                         <!-- <version>${jackson-version}</version> -->
62                 </dependency>
63                 <dependency>
64                         <groupId>com.fasterxml.jackson.core</groupId>
65                         <artifactId>jackson-annotations</artifactId>
66                         <!-- <version>${jackson-version}</version> -->
67                 </dependency>
68                 <dependency>
69                         <groupId>com.fasterxml.jackson.core</groupId>
70                         <artifactId>jackson-databind</artifactId>
71                         <!-- <version>${jackson-version}</version> -->
72                 </dependency>
73                 <dependency>
74                         <groupId>com.fasterxml.jackson.jaxrs</groupId>
75                         <artifactId>jackson-jaxrs-json-provider</artifactId>
76                         <!-- <version>${jackson-version}</version> -->
77                 </dependency>
78                 <dependency>
79                         <groupId>com.fasterxml.jackson.datatype</groupId>
80                         <artifactId>jackson-datatype-jsr310</artifactId>
81                         <!-- <version>${jackson-version}</version> -->
82                 </dependency>
83                 <!-- test dependencies -->
84                 <dependency>
85                         <groupId>org.junit.jupiter</groupId>
86                         <artifactId>junit-jupiter-api</artifactId>
87                         <!-- spring sets the <version>5.4.2</version> -->
88                         <scope>test</scope>
89                 </dependency>
90         </dependencies>
91         <build>
92                 <plugins>
93                         <plugin>
94                                 <!-- This 2019 version is required for OpenAPI 3 -->
95                                 <groupId>io.swagger.codegen.v3</groupId>
96                                 <artifactId>swagger-codegen-maven-plugin</artifactId>
97                                 <version>3.0.8</version>
98                                 <executions>
99                                         <execution>
100                                                 <goals>
101                                                         <goal>generate</goal>
102                                                 </goals>
103                                                 <configuration>
104                                                         <inputSpec>${project.basedir}/src/main/resources/e2_manager_02052019_2.yaml</inputSpec>
105                                                         <language>java</language>
106                                                         <packageName>${client.base.package.name}</packageName>
107                                                         <modelPackage>${client.base.package.name}.model</modelPackage>
108                                                         <apiPackage>${client.base.package.name}.api</apiPackage>
109                                                         <invokerPackage>${client.base.package.name}.invoker</invokerPackage>
110                                                         <configOptions>
111                                                                 <groupId>${project.groupId}</groupId>
112                                                                 <artifactId>${project.artifactId}</artifactId>
113                                                                 <artifactVersion>${project.version}</artifactVersion>
114                                                                 <library>resttemplate</library>
115                                                                 <java8>true</java8>
116                                                                 <dateLibrary>java8</dateLibrary>
117                                                                 <licenseName>Apache 2.0</licenseName>
118                                                                 <licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
119                                                         </configOptions>
120                                                 </configuration>
121                                         </execution>
122                                 </executions>
123                         </plugin>
124                         <!-- Require Java 1.8 -->
125                         <plugin>
126                                 <groupId>org.apache.maven.plugins</groupId>
127                                 <artifactId>maven-compiler-plugin</artifactId>
128                                 <!-- Spring sets the <version></version> -->
129                                 <configuration>
130                                         <source>1.8</source>
131                                         <target>1.8</target>
132                                 </configuration>
133                         </plugin>
134                         <!-- Generate javadoc jar; see profile for Java 8 -->
135                         <plugin>
136                                 <groupId>org.apache.maven.plugins</groupId>
137                                 <artifactId>maven-javadoc-plugin</artifactId>
138                                 <!-- <version>2.10.3</version> -->
139                                 <executions>
140                                         <execution>
141                                                 <id>attach-javadocs</id>
142                                                 <goals>
143                                                         <goal>jar</goal>
144                                                 </goals>
145                                         </execution>
146                                 </executions>
147                         </plugin>
148                         <!-- Generate source jar -->
149                         <plugin>
150                                 <groupId>org.apache.maven.plugins</groupId>
151                                 <artifactId>maven-source-plugin</artifactId>
152                                 <!-- <version>3.0.0</version> -->
153                                 <executions>
154                                         <execution>
155                                                 <id>attach-sources</id>
156                                                 <goals>
157                                                         <goal>jar</goal>
158                                                 </goals>
159                                         </execution>
160                                 </executions>
161                         </plugin>
162                         <!-- Skip the deploy-jar-to-nexus step -->
163                         <plugin>
164                                 <groupId>org.apache.maven.plugins</groupId>
165                                 <artifactId>maven-deploy-plugin</artifactId>
166                                 <!-- Spring sets the <version>2.8</version> -->
167                                 <configuration>
168                                         <skip>true</skip>
169                                 </configuration>
170                         </plugin>
171                 </plugins>
172                 <pluginManagement>
173                         <plugins>
174                                 <!--This plugin's configuration is used to store Eclipse m2e settings 
175                                         only. It has no influence on the Maven build itself. -->
176                                 <plugin>
177                                         <groupId>org.eclipse.m2e</groupId>
178                                         <artifactId>lifecycle-mapping</artifactId>
179                                         <version>1.0.0</version>
180                                         <configuration>
181                                                 <lifecycleMappingMetadata>
182                                                         <pluginExecutions>
183                                                                 <pluginExecution>
184                                                                         <pluginExecutionFilter>
185                                                                                 <groupId>io.swagger.codegen.v3</groupId>
186                                                                                 <artifactId>swagger-codegen-maven-plugin</artifactId>
187                                                                                 <versionRange>[1.0,)</versionRange>
188                                                                                 <goals>
189                                                                                         <goal>generate</goal>
190                                                                                 </goals>
191                                                                         </pluginExecutionFilter>
192                                                                         <action>
193                                                                                 <ignore />
194                                                                         </action>
195                                                                 </pluginExecution>
196                                                         </pluginExecutions>
197                                                 </lifecycleMappingMetadata>
198                                         </configuration>
199                                 </plugin>
200                         </plugins>
201                 </pluginManagement>
202         </build>
203 </project>