Skip Wonnell | abe9420 | 2017-08-29 22:39:17 -0500 | [diff] [blame] | 1 | <?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 Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 30 | <groupId>org.onap.appc.client</groupId>
|
Jessica Wagantall | 6536799 | 2017-11-16 17:22:13 -0800 | [diff] [blame] | 31 | <version>1.3.0-SNAPSHOT</version>
|
Skip Wonnell | abe9420 | 2017-08-29 22:39:17 -0500 | [diff] [blame] | 32 | </parent>
|
| 33 |
|
| 34 | <artifactId>client-kit</artifactId>
|
| 35 |
|
| 36 |
|
| 37 | <properties>
|
| 38 | <licenseDir>${project.parent.parent.basedir}</licenseDir>
|
| 39 | </properties>
|
| 40 |
|
Joey Sullivan | f2614e7 | 2017-12-22 15:32:48 +0000 | [diff] [blame^] | 41 | <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 Wonnell | abe9420 | 2017-08-29 22:39:17 -0500 | [diff] [blame] | 87 | <dependencies>
|
| 88 | <dependency>
|
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 89 | <groupId>org.onap.appc.client</groupId>
|
Skip Wonnell | abe9420 | 2017-08-29 22:39:17 -0500 | [diff] [blame] | 90 | <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 Sullivan | f2614e7 | 2017-12-22 15:32:48 +0000 | [diff] [blame^] | 99 |
|
Skip Wonnell | abe9420 | 2017-08-29 22:39:17 -0500 | [diff] [blame] | 100 | </dependencies>
|
| 101 | </project>
|