Add snapshot repository
[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 * %%
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/xsd/maven-4.0.0.xsd">
24     <modelVersion>4.0.0</modelVersion>
25     <parent>
26         <groupId>org.o-ran-sc.nonrtric.plt</groupId>
27         <artifactId>rappmanager</artifactId>
28         <version>0.0.1-SNAPSHOT</version>
29     </parent>
30
31     <groupId>org.o-ran-sc.nonrtric.plt.rappmanager</groupId>
32     <artifactId>rapp-manager-acm</artifactId>
33
34     <properties>
35         <maven.compiler.source>${java.version}</maven.compiler.source>
36         <maven.compiler.target>${java.version}</maven.compiler.target>
37         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
38     </properties>
39
40     <dependencies>
41         <dependency>
42             <groupId>org.o-ran-sc.nonrtric.plt.rappmanager</groupId>
43             <artifactId>rapp-manager-models</artifactId>
44             <version>${project.version}</version>
45         </dependency>
46         <dependency>
47             <groupId>org.onap.policy.clamp</groupId>
48             <artifactId>policy-clamp-models</artifactId>
49             <version>${onap.acm.models.version}</version>
50             <exclusions>
51                 <exclusion>
52                     <groupId>org.springframework.boot</groupId>
53                     <artifactId>spring-boot-starter-data-jpa</artifactId>
54                 </exclusion>
55                 <exclusion>
56                     <groupId>org.springframework.boot</groupId>
57                     <artifactId>spring-boot-starter-aop</artifactId>
58                 </exclusion>
59                 <exclusion>
60                     <groupId>org.springframework.boot</groupId>
61                     <artifactId>spring-boot-starter-security</artifactId>
62                 </exclusion>
63                 <exclusion>
64                     <groupId>org.springframework.boot</groupId>
65                     <artifactId>spring-boot-starter-validation</artifactId>
66                 </exclusion>
67                 <exclusion>
68                     <groupId>org.springframework.boot</groupId>
69                     <artifactId>spring-boot-starter-webflux</artifactId>
70                 </exclusion>
71             </exclusions>
72         </dependency>
73         <dependency>
74             <groupId>org.openapitools</groupId>
75             <artifactId>jackson-databind-nullable</artifactId>
76             <version>${openapi.jackson.databind.nullable.version}</version>
77         </dependency>
78         <dependency>
79             <groupId>org.springframework.boot</groupId>
80             <artifactId>spring-boot-starter-test</artifactId>
81             <scope>test</scope>
82         </dependency>
83         <dependency>
84             <groupId>org.springframework.boot</groupId>
85             <artifactId>spring-boot-starter-web</artifactId>
86             <scope>test</scope>
87         </dependency>
88
89     </dependencies>
90
91     <build>
92         <plugins>
93             <plugin>
94                 <groupId>org.openapitools</groupId>
95                 <artifactId>openapi-generator-maven-plugin</artifactId>
96                 <version>${openapi.maven.version}</version>
97                 <executions>
98                     <execution>
99                         <id>acm-spec-generator</id>
100                         <goals>
101                             <goal>generate</goal>
102                         </goals>
103                         <configuration>
104                             <inputSpec>${project.parent.basedir}/openapi/acm/acm-spec.yaml</inputSpec>
105                             <generatorName>java</generatorName>
106                             <library>resttemplate</library>
107                             <generateApiTests>false</generateApiTests>
108                             <generateModelTests>false</generateModelTests>
109                             <generateApiDocumentation>false</generateApiDocumentation>
110                             <generateModelDocumentation>false</generateModelDocumentation>
111                             <generateModels>true</generateModels>
112                             <schemaMappings>
113                                 ToscaServiceTemplates=org.onap.policy.models.tosca.authorative.concepts.ToscaServiceTemplates,
114                                 ToscaServiceTemplate=org.onap.policy.models.tosca.authorative.concepts.ToscaServiceTemplate,
115                                 ToscaNodeTemplate=org.onap.policy.models.tosca.authorative.concepts.ToscaNodeTemplate,
116                                 AutomationCompositions=org.onap.policy.clamp.models.acm.concepts.AutomationCompositions,
117                                 AutomationComposition=org.onap.policy.clamp.models.acm.concepts.AutomationComposition,
118                                 AutomationCompositionDefinition=org.onap.policy.clamp.models.acm.concepts.AutomationCompositionDefinition,
119                                 SimpleResponse=org.onap.policy.clamp.models.acm.messages.rest.SimpleResponse,
120                                 AcTypeStateUpdate=org.onap.policy.clamp.models.acm.messages.rest.commissioning.AcTypeStateUpdate,
121                                 AcInstanceStateUpdate=org.onap.policy.clamp.models.acm.messages.rest.instantiation.AcInstanceStateUpdate,
122                                 InstancePropertiesResponse=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstancePropertiesResponse,
123                                 CommissioningResponse=org.onap.policy.clamp.models.acm.messages.rest.commissioning.CommissioningResponse,
124                                 InstantiationCommand=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationCommand,
125                                 InstantiationResponse=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationResponse,
126                                 InstantiationUpdate=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationUpdate,
127                                 ParticipantInformation=org.onap.policy.clamp.models.acm.concepts.ParticipantInformation
128                             </schemaMappings>
129                             <additionalProperties>
130                                 <additionalProperty>apiNameSuffix=ApiClient</additionalProperty>
131                             </additionalProperties>
132                             <configOptions>
133                                 <sourceFolder>src/main/java</sourceFolder>
134                                 <useJakartaEe>true</useJakartaEe>
135                                 <invokerPackage>com.oransc.rappmanager.acm</invokerPackage>
136                                 <apiPackage>com.oransc.rappmanager.acm.rest</apiPackage>
137                                 <modelPackage>com.oransc.rappmanager.acm.data</modelPackage>
138                                 <generateClientAsBean>false</generateClientAsBean>
139                             </configOptions>
140                         </configuration>
141                     </execution>
142                 </executions>
143             </plugin>
144         </plugins>
145     </build>
146
147 </project>