blob: 7ed548c800c7b1841b9c9192c8cb805e31b2875a [file] [log] [blame]
Skip Wonnellabe94202017-08-29 22:39:17 -05001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ============LICENSE_START=======================================================
4 ONAP : APPC
5 ================================================================================
John McClungcd5f4f62018-06-13 14:03:54 -04006 Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
Skip Wonnellabe94202017-08-29 22:39:17 -05007 ================================================================================
8 Copyright (C) 2017 Amdocs
9 =============================================================================
10 Licensed under the Apache License, Version 2.0 (the "License");
11 you may not use this file except in compliance with the License.
12 You may obtain a copy of the License at
13
14 http://www.apache.org/licenses/LICENSE-2.0
15
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
21
Skip Wonnellabe94202017-08-29 22:39:17 -050022 ============LICENSE_END=========================================================
23 -->
24<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
26 <modelVersion>4.0.0</modelVersion>
27 <parent>
28 <artifactId>appc-java-client</artifactId>
Patrick Brady07567592017-12-13 11:09:30 -080029 <groupId>org.onap.appc.client</groupId>
Patrick Bradyed1cf1f2019-04-26 12:36:25 -070030 <version>1.6.0-SNAPSHOT</version>
Skip Wonnellabe94202017-08-29 22:39:17 -050031 </parent>
32
33 <artifactId>client-kit</artifactId>
34
35
36 <properties>
37 <licenseDir>${project.parent.parent.basedir}</licenseDir>
38 </properties>
39
Joey Sullivanf2614e72017-12-22 15:32:48 +000040 <build>
41 <plugins>
42 <plugin>
43 <groupId>org.onap.appc.client</groupId>
44 <artifactId>code-generator</artifactId>
45 <version>${project.parent.version}</version>
46 <dependencies>
47 <dependency>
48 <groupId>org.onap.appc</groupId>
49 <artifactId>appc-provider-model</artifactId>
50 <version>${project.parent.version}</version>
51 </dependency>
52 </dependencies>
53 <executions>
54 <execution>
55 <id>code-generate-json</id>
56 <goals>
57 <goal>generate-sources</goal>
58 </goals>
59 <configuration>
Ryan Youngb7c21e12018-08-13 22:37:11 -040060 <sourceFileName>META-INF/yang/appc-provider-lcm@2016-01-08.yang</sourceFileName>
Joey Sullivanf2614e72017-12-22 15:32:48 +000061 <outputFileName>target/generated-sources/appc-provider-lcm/appc-provider-lcm.json</outputFileName>
62 <templateName>templates/open-api/yang-to-open-api.ftl</templateName>
63 <contextBuilderClassName>org.onap.appc.tools.generator.extensions.YangContextBuilderImpl
64 </contextBuilderClassName>
65 <contextConfigFileName>APPC</contextConfigFileName>
66 </configuration>
67 </execution>
68 <execution>
69 <id>code-generate-java</id>
70 <goals>
71 <goal>generate-sources</goal>
72 </goals>
73 <configuration>
74 <sourceFileName>target/generated-sources/appc-provider-lcm/appc-provider-lcm.json</sourceFileName>
75 <outputFileName>target/generated-sources/appc-provider-lcm/output.txt</outputFileName>
76 <templateName>templates/client-kit/open-api-to-java.ftl</templateName>
77 <contextBuilderClassName>org.onap.appc.tools.generator.extensions.JsonContextBuilderImpl</contextBuilderClassName>
78 <contextConfigFileName>configuration/client-kit.properties</contextConfigFileName>
79 </configuration>
80 </execution>
81 </executions>
82 </plugin>
83 </plugins>
84 </build>
85
Skip Wonnellabe94202017-08-29 22:39:17 -050086 <dependencies>
87 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080088 <groupId>org.onap.appc.client</groupId>
Skip Wonnellabe94202017-08-29 22:39:17 -050089 <artifactId>client-lib</artifactId>
90 <version>${project.parent.version}</version>
91 </dependency>
92 <dependency>
93 <groupId>org.opendaylight.yangtools</groupId>
94 <artifactId>yang-parser-impl</artifactId>
95 <version>${yang.parser.impl.version}</version>
96 <scope>test</scope>
97 </dependency>
Joey Sullivanf2614e72017-12-22 15:32:48 +000098
Skip Wonnellabe94202017-08-29 22:39:17 -050099 </dependencies>
100</project>