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