Release notes & Roll version after i-release 0.0.1 -> 0.1.0
[nonrtric/plt/rappmanager.git] / rapp-manager-acm / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 * ========================LICENSE_START=================================
4 * O-RAN-SC
5 * %%
6 * Copyright (C) 2023 Nordix Foundation
7 * Copyright (C) 2023 OpenInfra Foundation Europe. All rights reserved.
8 * %%
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
12 *
13 * http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 * ========================LICENSE_END===================================
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     <parent>
27         <groupId>org.o-ran-sc.nonrtric.plt</groupId>
28         <artifactId>rappmanager</artifactId>
29         <version>0.1.0-SNAPSHOT</version>
30     </parent>
31
32     <groupId>org.o-ran-sc.nonrtric.plt.rappmanager</groupId>
33     <artifactId>rapp-manager-acm</artifactId>
34
35     <properties>
36         <maven.compiler.source>${java.version}</maven.compiler.source>
37         <maven.compiler.target>${java.version}</maven.compiler.target>
38         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39     </properties>
40
41     <dependencies>
42         <dependency>
43             <groupId>org.o-ran-sc.nonrtric.plt.rappmanager</groupId>
44             <artifactId>rapp-manager-models</artifactId>
45             <version>${project.version}</version>
46         </dependency>
47         <dependency>
48             <groupId>org.o-ran-sc.nonrtric.plt.rappmanager</groupId>
49             <artifactId>rapp-manager-dme</artifactId>
50             <version>${project.version}</version>
51         </dependency>
52         <dependency>
53             <groupId>org.onap.policy.clamp</groupId>
54             <artifactId>policy-clamp-models</artifactId>
55             <version>${onap.acm.models.version}</version>
56             <exclusions>
57                 <exclusion>
58                     <groupId>org.springframework.boot</groupId>
59                     <artifactId>spring-boot-starter-data-jpa</artifactId>
60                 </exclusion>
61                 <exclusion>
62                     <groupId>org.springframework.boot</groupId>
63                     <artifactId>spring-boot-starter-aop</artifactId>
64                 </exclusion>
65                 <exclusion>
66                     <groupId>org.springframework.boot</groupId>
67                     <artifactId>spring-boot-starter-security</artifactId>
68                 </exclusion>
69                 <exclusion>
70                     <groupId>org.springframework.boot</groupId>
71                     <artifactId>spring-boot-starter-validation</artifactId>
72                 </exclusion>
73                 <exclusion>
74                     <groupId>org.springframework.boot</groupId>
75                     <artifactId>spring-boot-starter-webflux</artifactId>
76                 </exclusion>
77             </exclusions>
78         </dependency>
79         <dependency>
80             <groupId>org.openapitools</groupId>
81             <artifactId>jackson-databind-nullable</artifactId>
82             <version>${openapi.jackson.databind.nullable.version}</version>
83         </dependency>
84         <dependency>
85             <groupId>org.springframework.boot</groupId>
86             <artifactId>spring-boot-starter-test</artifactId>
87             <scope>test</scope>
88         </dependency>
89         <dependency>
90             <groupId>org.springframework.boot</groupId>
91             <artifactId>spring-boot-starter-web</artifactId>
92             <scope>test</scope>
93         </dependency>
94
95     </dependencies>
96
97     <build>
98         <plugins>
99             <plugin>
100                 <groupId>org.openapitools</groupId>
101                 <artifactId>openapi-generator-maven-plugin</artifactId>
102                 <version>${openapi.maven.version}</version>
103                 <executions>
104                     <execution>
105                         <id>acm-spec-generator</id>
106                         <goals>
107                             <goal>generate</goal>
108                         </goals>
109                         <configuration>
110                             <inputSpec>${project.parent.basedir}/openapi/acm/acm-spec.yaml</inputSpec>
111                             <generatorName>java</generatorName>
112                             <library>resttemplate</library>
113                             <generateApiTests>false</generateApiTests>
114                             <generateModelTests>false</generateModelTests>
115                             <generateApiDocumentation>false</generateApiDocumentation>
116                             <generateModelDocumentation>false</generateModelDocumentation>
117                             <generateModels>true</generateModels>
118                             <schemaMappings>
119                                 ToscaServiceTemplates=org.onap.policy.models.tosca.authorative.concepts.ToscaServiceTemplates,
120                                 ToscaServiceTemplate=org.onap.policy.models.tosca.authorative.concepts.ToscaServiceTemplate,
121                                 ToscaNodeTemplate=org.onap.policy.models.tosca.authorative.concepts.ToscaNodeTemplate,
122                                 AutomationCompositions=org.onap.policy.clamp.models.acm.concepts.AutomationCompositions,
123                                 AutomationComposition=org.onap.policy.clamp.models.acm.concepts.AutomationComposition,
124                                 AutomationCompositionDefinition=org.onap.policy.clamp.models.acm.concepts.AutomationCompositionDefinition,
125                                 SimpleResponse=org.onap.policy.clamp.models.acm.messages.rest.SimpleResponse,
126                                 AcTypeStateUpdate=org.onap.policy.clamp.models.acm.messages.rest.commissioning.AcTypeStateUpdate,
127                                 AcInstanceStateUpdate=org.onap.policy.clamp.models.acm.messages.rest.instantiation.AcInstanceStateUpdate,
128                                 InstancePropertiesResponse=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstancePropertiesResponse,
129                                 CommissioningResponse=org.onap.policy.clamp.models.acm.messages.rest.commissioning.CommissioningResponse,
130                                 InstantiationCommand=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationCommand,
131                                 InstantiationResponse=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationResponse,
132                                 InstantiationUpdate=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationUpdate,
133                                 ParticipantInformation=org.onap.policy.clamp.models.acm.concepts.ParticipantInformation
134                             </schemaMappings>
135                             <additionalProperties>
136                                 <additionalProperty>apiNameSuffix=ApiClient</additionalProperty>
137                             </additionalProperties>
138                             <configOptions>
139                                 <sourceFolder>src/main/java</sourceFolder>
140                                 <useJakartaEe>true</useJakartaEe>
141                                 <invokerPackage>com.oransc.rappmanager.acm</invokerPackage>
142                                 <apiPackage>com.oransc.rappmanager.acm.rest</apiPackage>
143                                 <modelPackage>com.oransc.rappmanager.acm.data</modelPackage>
144                                 <generateClientAsBean>false</generateClientAsBean>
145                             </configOptions>
146                         </configuration>
147                     </execution>
148                 </executions>
149             </plugin>
150         </plugins>
151     </build>
152
153 </project>