Add initial version of code
[nonrtric/plt/rappmanager.git] / rapp-manager-acm / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5     <modelVersion>4.0.0</modelVersion>
6     <parent>
7         <groupId>com.oransc</groupId>
8         <artifactId>rappmanager</artifactId>
9         <version>0.0.1-SNAPSHOT</version>
10     </parent>
11
12     <groupId>com.oransc.rappmanager</groupId>
13     <artifactId>rapp-manager-acm</artifactId>
14
15     <properties>
16         <maven.compiler.source>${java.version}</maven.compiler.source>
17         <maven.compiler.target>${java.version}</maven.compiler.target>
18         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
19     </properties>
20
21     <dependencies>
22         <dependency>
23             <groupId>com.oransc.rappmanager</groupId>
24             <artifactId>rapp-manager-models</artifactId>
25             <version>${project.version}</version>
26         </dependency>
27         <dependency>
28             <groupId>org.onap.policy.clamp</groupId>
29             <artifactId>policy-clamp-models</artifactId>
30             <version>6.4.2</version>
31             <exclusions>
32                 <exclusion>
33                     <groupId>org.springframework.boot</groupId>
34                     <artifactId>spring-boot-starter-data-jpa</artifactId>
35                 </exclusion>
36                 <exclusion>
37                     <groupId>org.springframework.boot</groupId>
38                     <artifactId>spring-boot-starter-aop</artifactId>
39                 </exclusion>
40                 <exclusion>
41                     <groupId>org.springframework.boot</groupId>
42                     <artifactId>spring-boot-starter-security</artifactId>
43                 </exclusion>
44                 <exclusion>
45                     <groupId>org.springframework.boot</groupId>
46                     <artifactId>spring-boot-starter-validation</artifactId>
47                 </exclusion>
48                 <exclusion>
49                     <groupId>org.springframework.boot</groupId>
50                     <artifactId>spring-boot-starter-webflux</artifactId>
51                 </exclusion>
52             </exclusions>
53         </dependency>
54         <dependency>
55             <groupId>org.openapitools</groupId>
56             <artifactId>jackson-databind-nullable</artifactId>
57             <version>0.2.6</version>
58         </dependency>
59         <dependency>
60             <groupId>org.springframework.boot</groupId>
61             <artifactId>spring-boot-starter-test</artifactId>
62             <scope>test</scope>
63         </dependency>
64
65     </dependencies>
66
67     <build>
68         <plugins>
69             <plugin>
70                 <groupId>org.openapitools</groupId>
71                 <artifactId>openapi-generator-maven-plugin</artifactId>
72                 <version>${openapi.maven.version}</version>
73                 <executions>
74                     <execution>
75                         <id>acm-spec-generator</id>
76                         <goals>
77                             <goal>generate</goal>
78                         </goals>
79                         <configuration>
80                             <inputSpec>rapp-manager-acm/src/main/resources/openapi/acm-spec.yaml</inputSpec>
81                             <generatorName>java</generatorName>
82                             <library>resttemplate</library>
83                             <generateApiTests>false</generateApiTests>
84                             <generateModelTests>false</generateModelTests>
85                             <generateApiDocumentation>false</generateApiDocumentation>
86                             <generateModelDocumentation>false</generateModelDocumentation>
87                             <generateModels>true</generateModels>
88                             <schemaMappings>
89                                 ToscaServiceTemplates=org.onap.policy.models.tosca.authorative.concepts.ToscaServiceTemplates,
90                                 ToscaServiceTemplate=org.onap.policy.models.tosca.authorative.concepts.ToscaServiceTemplate,
91                                 ToscaNodeTemplate=org.onap.policy.models.tosca.authorative.concepts.ToscaNodeTemplate,
92                                 AutomationCompositions=org.onap.policy.clamp.models.acm.concepts.AutomationCompositions,
93                                 AutomationComposition=org.onap.policy.clamp.models.acm.concepts.AutomationComposition,
94                                 <!--                                AutomationCompositionDefinition=org.onap.policy.clamp.models.acm.concepts.AutomationCompositionDefinition,-->
95                                 SimpleResponse=org.onap.policy.clamp.models.acm.messages.rest.SimpleResponse,
96                                 AcTypeStateUpdate=org.onap.policy.clamp.models.acm.messages.rest.commissioning.AcTypeStateUpdate,
97                                 AcInstanceStateUpdate=org.onap.policy.clamp.models.acm.messages.rest.instantiation.AcInstanceStateUpdate,
98                                 InstancePropertiesResponse=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstancePropertiesResponse,
99                                 CommissioningResponse=org.onap.policy.clamp.models.acm.messages.rest.commissioning.CommissioningResponse,
100                                 InstantiationCommand=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationCommand,
101                                 InstantiationResponse=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationResponse,
102                                 InstantiationUpdate=org.onap.policy.clamp.models.acm.messages.rest.instantiation.InstantiationUpdate,
103                                 ParticipantInformation=org.onap.policy.clamp.models.acm.concepts.ParticipantInformation
104                             </schemaMappings>
105                             <additionalProperties>
106                                 <additionalProperty>apiNameSuffix=ApiClient</additionalProperty>
107                             </additionalProperties>
108                             <configOptions>
109                                 <sourceFolder>src/main/java</sourceFolder>
110                                 <useJakartaEe>true</useJakartaEe>
111                                 <invokerPackage>com.oransc.rappmanager.acm</invokerPackage>
112                                 <apiPackage>com.oransc.rappmanager.acm.rest</apiPackage>
113                                 <modelPackage>com.oransc.rappmanager.acm.data</modelPackage>
114                                 <generateClientAsBean>false</generateClientAsBean>
115                             </configOptions>
116                         </configuration>
117                     </execution>
118                 </executions>
119             </plugin>
120         </plugins>
121     </build>
122
123 </project>