Initial commit of RIC Dashboard webapp
[portal/ric-dashboard.git] / xapp-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.oranosc.ric.portal.dashboard</groupId>
27                 <artifactId>ric-dash-parent</artifactId>
28                 <version>1.0.0-SNAPSHOT</version>
29         </parent>
30         <artifactId>xapp-mgr-client</artifactId>
31         <name>RIC xApp Manager client</name>
32         <version>0.0.10-SNAPSHOT</version>
33         <properties>
34                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
35                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
36                 <swagger-annotations-version>1.5.15</swagger-annotations-version>
37                 <client.base.package.name>${project.groupId}.xmc</client.base.package.name>
38         </properties>
39         <!-- Successful compilation requires generated code dependencies -->
40         <dependencies>
41                 <dependency>
42                         <groupId>io.swagger</groupId>
43                         <artifactId>swagger-annotations</artifactId>
44                         <version>${swagger-annotations-version}</version>
45                 </dependency>
46                 <dependency>
47                         <groupId>org.springframework</groupId>
48                         <artifactId>spring-context</artifactId>
49                 </dependency>
50                 <!-- HTTP client: Spring RestTemplate -->
51                 <dependency>
52                         <groupId>org.springframework</groupId>
53                         <artifactId>spring-web</artifactId>
54                         <!-- <version>${spring-web-version}</version> -->
55                 </dependency>
56                 <!-- JSON processing: jackson -->
57                 <dependency>
58                         <groupId>com.fasterxml.jackson.core</groupId>
59                         <artifactId>jackson-core</artifactId>
60                         <!-- <version>${jackson-version}</version> -->
61                 </dependency>
62                 <dependency>
63                         <groupId>com.fasterxml.jackson.core</groupId>
64                         <artifactId>jackson-annotations</artifactId>
65                         <!-- <version>${jackson-version}</version> -->
66                 </dependency>
67                 <dependency>
68                         <groupId>com.fasterxml.jackson.core</groupId>
69                         <artifactId>jackson-databind</artifactId>
70                         <!-- <version>${jackson-version}</version> -->
71                 </dependency>
72                 <dependency>
73                         <groupId>com.fasterxml.jackson.jaxrs</groupId>
74                         <artifactId>jackson-jaxrs-json-provider</artifactId>
75                         <!-- <version>${jackson-version}</version> -->
76                 </dependency>
77                 <dependency>
78                         <groupId>com.fasterxml.jackson.datatype</groupId>
79                         <artifactId>jackson-datatype-jsr310</artifactId>
80                         <!-- <version>${jackson-version}</version> -->
81                 </dependency>
82                 <!-- test dependencies -->
83                 <dependency>
84                         <groupId>junit</groupId>
85                         <artifactId>junit</artifactId>
86                         <!-- <version>${junit-version}</version> -->
87                         <scope>test</scope>
88                 </dependency>
89         </dependencies>
90         <build>
91                 <plugins>
92                         <plugin>
93                                 <groupId>io.swagger</groupId>
94                                 <artifactId>swagger-codegen-maven-plugin</artifactId>
95                                 <version>2.2.3</version>
96                                 <executions>
97                                         <execution>
98                                                 <goals>
99                                                         <goal>generate</goal>
100                                                 </goals>
101                                                 <configuration>
102                                                         <inputSpec>${project.basedir}/xapp_manager_rest_api_v0_0_10.json</inputSpec>
103                                                         <language>java</language>
104                                                         <configOptions>
105                                                                 <groupId>${project.groupId}</groupId>
106                                                                 <artifactId>${project.artifactId}</artifactId>
107                                                                 <artifactVersion>${project.version}</artifactVersion>
108                                                                 <artifactUrl>www.oran-osc.org</artifactUrl>
109                                                                 <artifactDescription>xApp manager client library</artifactDescription>
110                                                                 <library>resttemplate</library>
111                                                                 <java8>true</java8>
112                                                                 <dateLibrary>java8</dateLibrary>
113                                                                 <licenseName>Apache 2.0</licenseName>
114                                                                 <licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
115                                                                 <scmConnection></scmConnection>
116                                                                 <scmDeveloperConnection></scmDeveloperConnection>
117                                                                 <scmUrl>http://gerrit.oran-osc.org</scmUrl>
118                                                                 <developerName>RIC Team</developerName>
119                                                                 <developerEmail></developerEmail>
120                                                                 <developerOrganization>AT&amp;T and Nokia</developerOrganization>
121                                                                 <developerOrganizationUrl></developerOrganizationUrl>
122                                                         </configOptions>
123                                                         <packageName>${client.base.package.name}</packageName>
124                                                         <modelPackage>${client.base.package.name}.model</modelPackage>
125                                                         <apiPackage>${client.base.package.name}.api</apiPackage>
126                                                         <invokerPackage>${client.base.package.name}.invoker</invokerPackage>
127                                                 </configuration>
128                                         </execution>
129                                 </executions>
130                         </plugin>
131                         <!-- Require Java 1.8 -->
132                         <plugin>
133                                 <groupId>org.apache.maven.plugins</groupId>
134                                 <artifactId>maven-compiler-plugin</artifactId>
135                                 <!-- Spring sets the <version></version> -->
136                                 <configuration>
137                                         <source>1.8</source>
138                                         <target>1.8</target>
139                                 </configuration>
140                         </plugin>
141                         <!-- Generate javadoc jar; see profile for Java 8 -->
142                         <plugin>
143                                 <groupId>org.apache.maven.plugins</groupId>
144                                 <artifactId>maven-javadoc-plugin</artifactId>
145                                 <!-- <version>2.10.3</version> -->
146                                 <executions>
147                                         <execution>
148                                                 <id>attach-javadocs</id>
149                                                 <goals>
150                                                         <goal>jar</goal>
151                                                 </goals>
152                                         </execution>
153                                 </executions>
154                         </plugin>
155                         <!-- Generate source jar -->
156                         <plugin>
157                                 <groupId>org.apache.maven.plugins</groupId>
158                                 <artifactId>maven-source-plugin</artifactId>
159                                 <!-- <version>3.0.0</version> -->
160                                 <executions>
161                                         <execution>
162                                                 <id>attach-sources</id>
163                                                 <goals>
164                                                         <goal>jar</goal>
165                                                 </goals>
166                                         </execution>
167                                 </executions>
168                         </plugin>
169                 </plugins>
170         </build>
171 </project>