NonRT-RIC A1 Northbound API
[nonrtric.git] / sdnc-a1-controller / northbound / nonrt-ric-api / a1-client / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3   ============LICENSE_START=======================================================
4    Copyright (C) 2019-2020 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 -->
21
22 <project xmlns="http://maven.apache.org/POM/4.0.0"
23         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
24         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
25         <modelVersion>4.0.0</modelVersion>
26
27         <parent>
28                 <groupId>org.onap.ccsdk.parent</groupId>
29                 <artifactId>binding-parent</artifactId>
30                 <version>1.4.3</version>
31                 <relativePath />
32         </parent>
33
34         <groupId>org.onap.sdnc.northbound</groupId>
35         <artifactId>nonrt-ric-api-a1-client</artifactId>
36         <version>1.7.3-SNAPSHOT</version>
37         <packaging>bundle</packaging>
38
39         <name>sdnc-northbound :: nonrt-ric-api :: ${project.artifactId}</name>
40
41         <properties>
42                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
43                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
44                 <client.base.package.name>org.oransc.ric.a1med.client</client.base.package.name>
45         </properties>
46
47         <dependencies>
48                 <dependency>
49                         <groupId>io.swagger.core.v3</groupId>
50                         <artifactId>swagger-annotations</artifactId>
51                         <version>2.0.8</version>
52                         <scope>provided</scope>
53                 </dependency>
54                 <dependency>
55                         <groupId>org.springframework</groupId>
56                         <artifactId>spring-context</artifactId>
57                         <scope>provided</scope>
58                 </dependency>
59                 <dependency>
60                         <groupId>org.springframework</groupId>
61                         <artifactId>spring-web</artifactId>
62                         <scope>provided</scope>
63                 </dependency>
64                 <dependency>
65                         <groupId>com.fasterxml.jackson.core</groupId>
66                         <artifactId>jackson-core</artifactId>
67                         <version>2.9.0</version>
68                         <scope>provided</scope>
69                 </dependency>
70                 <dependency>
71                         <groupId>com.fasterxml.jackson.core</groupId>
72                         <artifactId>jackson-annotations</artifactId>
73                         <version>2.9.0</version>
74                         <scope>provided</scope>
75                 </dependency>
76                 <dependency>
77                         <groupId>com.fasterxml.jackson.core</groupId>
78                         <artifactId>jackson-databind</artifactId>
79                         <version>2.9.0</version>
80                         <scope>provided</scope>
81                 </dependency>
82                 <dependency>
83                         <groupId>com.fasterxml.jackson.jaxrs</groupId>
84                         <artifactId>jackson-jaxrs-json-provider</artifactId>
85                         <version>2.9.0</version>
86                         <scope>provided</scope>
87                 </dependency>
88                 <dependency>
89                         <groupId>com.fasterxml.jackson.datatype</groupId>
90                         <artifactId>jackson-datatype-jsr310</artifactId>
91                         <version>2.9.0</version>
92                         <scope>provided</scope>
93                 </dependency>
94         </dependencies>
95         <build>
96                 <plugins>
97                         <plugin>
98                                 <groupId>org.apache.maven.plugins</groupId>
99                                 <artifactId>maven-compiler-plugin</artifactId>
100                         </plugin>
101                         <plugin>
102                                 <groupId>org.apache.maven.plugins</groupId>
103                                 <artifactId>maven-dependency-plugin</artifactId>
104                                 <configuration>
105                                         <includeGroupIds>org.onap.sdnc.northbound</includeGroupIds>
106                                 </configuration>
107                         </plugin>
108                         <plugin>
109                                 <groupId>org.apache.felix</groupId>
110                                 <artifactId>maven-bundle-plugin</artifactId>
111                                 <version>3.0.1</version>
112                                 <extensions>true</extensions>
113                                 <configuration>
114                                         <instructions>
115                                                 <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
116                                                 <Bundle-Version>${project.version}</Bundle-Version>
117                                                 <Export-Package>*</Export-Package>
118                                                 <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
119                                                 <Embed-Transitive>true</Embed-Transitive>
120                                                 <Embed-Directory>target/dependency</Embed-Directory>
121                                                 <Import-Package>*;resolution:=optional</Import-Package>
122                                                 <Spring-Context>*</Spring-Context>
123                                         </instructions>
124                                 </configuration>
125                         </plugin>
126                         <plugin>
127                                 <groupId>io.swagger.codegen.v3</groupId>
128                                 <artifactId>swagger-codegen-maven-plugin</artifactId>
129                                 <version>3.0.8</version>
130                                 <executions>
131                                         <execution>
132                                                 <goals>
133                                                         <goal>generate</goal>
134                                                 </goals>
135                                                 <configuration>
136                                                         <inputSpec>${project.basedir}/src/main/resources/a1_mediator_0.11.0.yaml</inputSpec>
137                                                         <language>java</language>
138                                                         <configOptions>
139                                                                 <packageName>${client.base.package.name}</packageName>
140                                                                 <modelPackage>${client.base.package.name}.model</modelPackage>
141                                                                 <apiPackage>${client.base.package.name}.api</apiPackage>
142                                                                 <invokerPackage>${client.base.package.name}.invoker</invokerPackage>
143                                                                 <groupId>${project.groupId}</groupId>
144                                                                 <artifactId>${project.artifactId}</artifactId>
145                                                                 <artifactVersion>${project.version}</artifactVersion>
146                                                                 <library>resttemplate</library>
147                                                                 <java8>true</java8>
148                                                                 <output>${project.build.directory}/generated-sources/swagger</output>
149                                                                 <generateApis>false</generateApis>
150                                                                 <generateApiTests>false</generateApiTests>
151                                                                 <generateModels>true</generateModels>
152                                                                 <generateModelTests>false</generateModelTests>
153                                                                 <generateSupportingFiles>true</generateSupportingFiles>
154                                                                 <sourceFolder>src/main/java</sourceFolder>
155                                                                 <dateLibrary>java8</dateLibrary>
156                                                                 <licenseName>Apache 2.0</licenseName>
157                                                                 <licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
158                                                         </configOptions>
159                                                 </configuration>
160                                         </execution>
161                                 </executions>
162                         </plugin>
163                 </plugins>
164                 <pluginManagement>
165                         <plugins>
166                                 <!--This plugin's configuration is used to store Eclipse m2e settings 
167                                         only. It has no influence on the Maven build itself. -->
168                                 <plugin>
169                                         <groupId>org.eclipse.m2e</groupId>
170                                         <artifactId>lifecycle-mapping</artifactId>
171                                         <version>1.0.0</version>
172                                         <configuration>
173                                                 <lifecycleMappingMetadata>
174                                                         <pluginExecutions>
175                                                                 <pluginExecution>
176                                                                         <pluginExecutionFilter>
177                                                                                 <groupId>io.swagger.codegen.v3</groupId>
178                                                                                 <artifactId>swagger-codegen-maven-plugin</artifactId>
179                                                                                 <versionRange>[1.0,)</versionRange>
180                                                                                 <goals>
181                                                                                         <goal>generate</goal>
182                                                                                 </goals>
183                                                                         </pluginExecutionFilter>
184                                                                         <action>
185                                                                                 <ignore />
186                                                                         </action>
187                                                                 </pluginExecution>
188                                                         </pluginExecutions>
189                                                 </lifecycleMappingMetadata>
190                                         </configuration>
191                                 </plugin>
192                         </plugins>
193                 </pluginManagement>
194         </build>
195 </project>