blob: 3ff3b7844ae447057977dc57ad23a55b9261b1b8 [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 ================================================================================
6 Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
7 ================================================================================
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
22 ECOMP is a trademark and service mark of AT&T Intellectual Property.
23 ============LICENSE_END=========================================================
24 -->
25<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
26 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
27 <modelVersion>4.0.0</modelVersion>
28 <parent>
29 <artifactId>appc-java-client</artifactId>
Patrick Brady07567592017-12-13 11:09:30 -080030 <groupId>org.onap.appc.client</groupId>
Jessica Wagantall65367992017-11-16 17:22:13 -080031 <version>1.3.0-SNAPSHOT</version>
Skip Wonnellabe94202017-08-29 22:39:17 -050032 </parent>
33
34 <artifactId>client-kit</artifactId>
35
36
37 <properties>
38 <licenseDir>${project.parent.parent.basedir}</licenseDir>
39 </properties>
40
Joey Sullivanf2614e72017-12-22 15:32:48 +000041 <build>
42 <plugins>
43 <plugin>
44 <groupId>org.onap.appc.client</groupId>
45 <artifactId>code-generator</artifactId>
46 <version>${project.parent.version}</version>
47 <dependencies>
48 <dependency>
49 <groupId>org.onap.appc</groupId>
50 <artifactId>appc-provider-model</artifactId>
51 <version>${project.parent.version}</version>
52 </dependency>
53 </dependencies>
54 <executions>
55 <execution>
56 <id>code-generate-json</id>
57 <goals>
58 <goal>generate-sources</goal>
59 </goals>
60 <configuration>
61 <sourceFileName>META-INF/yang/appc-provider-lcm.yang</sourceFileName>
62 <outputFileName>target/generated-sources/appc-provider-lcm/appc-provider-lcm.json</outputFileName>
63 <templateName>templates/open-api/yang-to-open-api.ftl</templateName>
64 <contextBuilderClassName>org.onap.appc.tools.generator.extensions.YangContextBuilderImpl
65 </contextBuilderClassName>
66 <contextConfigFileName>APPC</contextConfigFileName>
67 </configuration>
68 </execution>
69 <execution>
70 <id>code-generate-java</id>
71 <goals>
72 <goal>generate-sources</goal>
73 </goals>
74 <configuration>
75 <sourceFileName>target/generated-sources/appc-provider-lcm/appc-provider-lcm.json</sourceFileName>
76 <outputFileName>target/generated-sources/appc-provider-lcm/output.txt</outputFileName>
77 <templateName>templates/client-kit/open-api-to-java.ftl</templateName>
78 <contextBuilderClassName>org.onap.appc.tools.generator.extensions.JsonContextBuilderImpl</contextBuilderClassName>
79 <contextConfigFileName>configuration/client-kit.properties</contextConfigFileName>
80 </configuration>
81 </execution>
82 </executions>
83 </plugin>
84 </plugins>
85 </build>
86
Skip Wonnellabe94202017-08-29 22:39:17 -050087 <dependencies>
88 <dependency>
Patrick Brady07567592017-12-13 11:09:30 -080089 <groupId>org.onap.appc.client</groupId>
Skip Wonnellabe94202017-08-29 22:39:17 -050090 <artifactId>client-lib</artifactId>
91 <version>${project.parent.version}</version>
92 </dependency>
93 <dependency>
94 <groupId>org.opendaylight.yangtools</groupId>
95 <artifactId>yang-parser-impl</artifactId>
96 <version>${yang.parser.impl.version}</version>
97 <scope>test</scope>
98 </dependency>
Joey Sullivanf2614e72017-12-22 15:32:48 +000099
Skip Wonnellabe94202017-08-29 22:39:17 -0500100 </dependencies>
101</project>