1 <?xml version="1.0" encoding="UTF-8"?>
3 ========================LICENSE_START=================================
6 Copyright (C) 2019 AT&T Intellectual Property and Nokia
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
12 http://www.apache.org/licenses/LICENSE-2.0
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===================================
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>
26 <groupId>org.o-ran-sc.portal.ric-dashboard</groupId>
27 <artifactId>ric-dash-parent</artifactId>
28 <version>1.0.4-SNAPSHOT</version>
30 <!-- This groupId will NOT allow deployment in LF -->
31 <groupId>org.o-ran-sc.ric.plt.e2mgr.client</groupId>
32 <artifactId>e2-mgr-client</artifactId>
33 <name>RIC E2 Manager client</name>
34 <version>20190620-SNAPSHOT</version>
36 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
37 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38 <!-- Jenkins invokes maven with -Dbuild.number=.. -->
39 <build.number>0</build.number>
40 <!-- same as groupId BUT without hyphens -->
41 <client.base.package.name>org.oransc.ric.e2mgr.client</client.base.package.name>
43 <!-- Successful compilation requires generated code dependencies -->
46 <groupId>io.swagger.core.v3</groupId>
47 <artifactId>swagger-annotations</artifactId>
48 <version>2.0.8</version>
51 <groupId>org.springframework</groupId>
52 <artifactId>spring-context</artifactId>
54 <!-- HTTP client: Spring RestTemplate -->
56 <groupId>org.springframework</groupId>
57 <artifactId>spring-web</artifactId>
58 <!-- <version>${spring-web-version}</version> -->
60 <!-- JSON processing: jackson -->
62 <groupId>com.fasterxml.jackson.core</groupId>
63 <artifactId>jackson-core</artifactId>
64 <!-- <version>${jackson-version}</version> -->
67 <groupId>com.fasterxml.jackson.core</groupId>
68 <artifactId>jackson-annotations</artifactId>
69 <!-- <version>${jackson-version}</version> -->
72 <groupId>com.fasterxml.jackson.core</groupId>
73 <artifactId>jackson-databind</artifactId>
74 <!-- <version>${jackson-version}</version> -->
77 <groupId>com.fasterxml.jackson.jaxrs</groupId>
78 <artifactId>jackson-jaxrs-json-provider</artifactId>
79 <!-- <version>${jackson-version}</version> -->
82 <groupId>com.fasterxml.jackson.datatype</groupId>
83 <artifactId>jackson-datatype-jsr310</artifactId>
84 <!-- <version>${jackson-version}</version> -->
86 <!-- test dependencies -->
88 <groupId>org.junit.jupiter</groupId>
89 <artifactId>junit-jupiter-api</artifactId>
90 <!-- spring sets the <version>5.4.2</version> -->
97 <!-- This 2019 version is required for OpenAPI 3 -->
98 <groupId>io.swagger.codegen.v3</groupId>
99 <artifactId>swagger-codegen-maven-plugin</artifactId>
100 <version>3.0.8</version>
104 <goal>generate</goal>
107 <inputSpec>${project.basedir}/src/main/resources/E2_Manager_API_2019-06-20.yaml</inputSpec>
108 <language>java</language>
109 <packageName>${client.base.package.name}</packageName>
110 <modelPackage>${client.base.package.name}.model</modelPackage>
111 <apiPackage>${client.base.package.name}.api</apiPackage>
112 <invokerPackage>${client.base.package.name}.invoker</invokerPackage>
114 <groupId>${project.groupId}</groupId>
115 <artifactId>${project.artifactId}</artifactId>
116 <artifactVersion>${project.version}</artifactVersion>
117 <library>resttemplate</library>
119 <dateLibrary>java8</dateLibrary>
120 <licenseName>Apache 2.0</licenseName>
121 <licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
127 <!-- Require Java 1.8 -->
129 <groupId>org.apache.maven.plugins</groupId>
130 <artifactId>maven-compiler-plugin</artifactId>
131 <!-- Spring sets the <version></version> -->
137 <!-- Generate source jar -->
139 <groupId>org.apache.maven.plugins</groupId>
140 <artifactId>maven-source-plugin</artifactId>
141 <!-- <version>3.0.0</version> -->
144 <id>attach-sources</id>
151 <!-- add build information to manifest. Java provides access to the implementation
152 version for a package, so cram the build number into there. -->
154 <groupId>org.apache.maven.plugins</groupId>
155 <artifactId>maven-jar-plugin</artifactId>
156 <!-- version>2.5</version> -->
160 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
163 <Implementation-Version>${project.version}-b${build.number}</Implementation-Version>
168 <!-- Skip the deploy-jar-to-nexus step -->
170 <groupId>org.apache.maven.plugins</groupId>
171 <artifactId>maven-deploy-plugin</artifactId>
172 <!-- Spring sets the <version>2.8</version> -->
180 <!--This plugin's configuration is used to store Eclipse m2e settings
181 only. It has no influence on the Maven build itself. -->
183 <groupId>org.eclipse.m2e</groupId>
184 <artifactId>lifecycle-mapping</artifactId>
185 <version>1.0.0</version>
187 <lifecycleMappingMetadata>
190 <pluginExecutionFilter>
191 <groupId>io.swagger.codegen.v3</groupId>
192 <artifactId>swagger-codegen-maven-plugin</artifactId>
193 <versionRange>[1.0,)</versionRange>
195 <goal>generate</goal>
197 </pluginExecutionFilter>
203 </lifecycleMappingMetadata>