Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Skip Wonnell | eb27ca3 | 2018-01-12 10:17:57 -0600 | [diff] [blame] | 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | ONAP : APPC |
| 5 | ================================================================================ |
Patrick Brady | 5b81764 | 2018-03-22 15:12:48 -0700 | [diff] [blame] | 6 | Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. |
Skip Wonnell | eb27ca3 | 2018-01-12 10:17:57 -0600 | [diff] [blame] | 7 | Copyright (C) 2017 Amdocs |
| 8 | ================================================================================ |
| 9 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 10 | you may not use this file except in compliance with the License. |
| 11 | You may obtain a copy of the License at |
| 12 | |
| 13 | http://www.apache.org/licenses/LICENSE-2.0 |
| 14 | |
| 15 | Unless required by applicable law or agreed to in writing, software |
| 16 | distributed under the License is distributed on an "AS IS" BASIS, |
| 17 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 18 | See the License for the specific language governing permissions and |
| 19 | limitations under the License. |
| 20 | ============LICENSE_END========================================================= |
Skip Wonnell | eb27ca3 | 2018-01-12 10:17:57 -0600 | [diff] [blame] | 21 | --> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 23 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 24 | <modelVersion>4.0.0</modelVersion> |
| 25 | <parent> |
| 26 | <artifactId>appc-provider</artifactId> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 27 | <groupId>org.onap.appc</groupId> |
Patrick Brady | 84d0a25 | 2018-05-22 10:42:55 -0700 | [diff] [blame] | 28 | <version>1.4.0-SNAPSHOT</version> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 29 | </parent> |
| 30 | <artifactId>appc-provider-model</artifactId> |
| 31 | <packaging>bundle</packaging> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 32 | |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 33 | <build> |
Patrick Brady | 57b5eef | 2017-02-10 15:00:49 -0800 | [diff] [blame] | 34 | |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 35 | <plugins> |
| 36 | <plugin> |
| 37 | <groupId>org.apache.felix</groupId> |
| 38 | <artifactId>maven-bundle-plugin</artifactId> |
| 39 | <extensions>true</extensions> |
| 40 | <configuration> |
| 41 | <instructions> |
Patrick Brady | 5b81764 | 2018-03-22 15:12:48 -0700 | [diff] [blame] | 42 | <Import-Package>!com.google.common.collect,!com.google.common.base,*</Import-Package> |
| 43 | <Embed-Dependency>guava</Embed-Dependency> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 44 | </instructions> |
| 45 | </configuration> |
| 46 | </plugin> |
| 47 | <plugin> |
| 48 | <groupId>org.opendaylight.yangtools</groupId> |
| 49 | <artifactId>yang-maven-plugin</artifactId> |
| 50 | <version>${odl.yangtools.version}</version> |
| 51 | <dependencies> |
| 52 | <dependency> |
| 53 | <groupId>org.opendaylight.mdsal</groupId> |
| 54 | <artifactId>maven-sal-api-gen-plugin</artifactId> |
| 55 | <version>${odl.sal.api.gen.plugin.version}</version> |
| 56 | <type>jar</type> |
| 57 | </dependency> |
| 58 | </dependencies> |
| 59 | <executions> |
| 60 | <execution> |
| 61 | <goals> |
| 62 | <goal>generate-sources</goal> |
| 63 | </goals> |
| 64 | <configuration> |
| 65 | <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir> |
| 66 | <codeGenerators> |
| 67 | <generator> |
Patrick Brady | 7670600 | 2017-09-04 21:37:25 -0700 | [diff] [blame] | 68 | <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 69 | <outputBaseDir>${salGeneratorPath}</outputBaseDir> |
| 70 | </generator> |
| 71 | </codeGenerators> |
| 72 | <inspectDependencies>true</inspectDependencies> |
| 73 | </configuration> |
| 74 | </execution> |
| 75 | </executions> |
| 76 | </plugin> |
| 77 | <!-- <plugin> --> |
| 78 | <!-- <groupId>org.codehaus.mojo</groupId> --> |
| 79 | <!-- <artifactId>build-helper-maven-plugin</artifactId> --> |
| 80 | <!-- <version>1.12</version> --> |
| 81 | <!-- <executions> --> |
| 82 | <!-- <execution> --> |
| 83 | <!-- <id>add-generated-source</id> --> |
| 84 | <!-- <phase>generate-sources</phase> --> |
| 85 | <!-- <goals> --> |
| 86 | <!-- <goal>add-source</goal> --> |
| 87 | <!-- </goals> --> |
| 88 | <!-- <configuration> --> |
| 89 | <!-- <sources> --> |
| 90 | <!-- project.build.directory defaults to be the "target" folder --> |
| 91 | <!-- <source>${project.build.directory}/generated-sources/yang-gen-sal</source> --> |
| 92 | <!-- </sources> --> |
| 93 | <!-- </configuration> --> |
| 94 | <!-- </execution> --> |
| 95 | <!-- </executions> --> |
| 96 | <!-- </plugin> --> |
| 97 | <plugin> |
| 98 | <groupId>org.apache.maven.plugins</groupId> |
| 99 | <artifactId>maven-install-plugin</artifactId> |
| 100 | <version>2.5.2</version> |
| 101 | <executions> |
| 102 | <execution> |
| 103 | <id>yang</id> |
| 104 | <phase>initialize</phase> |
| 105 | <goals> |
| 106 | <goal>install-file</goal> |
| 107 | </goals> |
| 108 | <configuration> |
| 109 | <file>${project.basedir}/src/main/yang/appc-provider-lcm.yang</file> |
| 110 | <groupId>${project.groupId}</groupId> |
| 111 | <artifactId>${project.artifactId}</artifactId> |
| 112 | <version>${project.version}</version> |
| 113 | <packaging>yang</packaging> |
| 114 | </configuration> |
| 115 | </execution> |
| 116 | </executions> |
| 117 | </plugin> |
| 118 | </plugins> |
| 119 | |
| 120 | </build> |
| 121 | <dependencies> |
| 122 | <dependency> |
| 123 | <groupId>org.opendaylight.mdsal</groupId> |
| 124 | <artifactId>yang-binding</artifactId> |
| 125 | </dependency> |
| 126 | <dependency> |
| 127 | <groupId>org.opendaylight.yangtools</groupId> |
| 128 | <artifactId>yang-common</artifactId> |
| 129 | </dependency> |
| 130 | <dependency> |
| 131 | <groupId>org.opendaylight.mdsal.model</groupId> |
| 132 | <artifactId>ietf-inet-types</artifactId> |
| 133 | </dependency> |
| 134 | <dependency> |
| 135 | <groupId>org.opendaylight.mdsal.model</groupId> |
| 136 | <artifactId>ietf-yang-types</artifactId> |
| 137 | </dependency> |
Patrick Brady | 5b81764 | 2018-03-22 15:12:48 -0700 | [diff] [blame] | 138 | <dependency> |
| 139 | <groupId>com.google.guava</groupId> |
| 140 | <artifactId>guava</artifactId> |
| 141 | </dependency> |
Patrick Brady | c7d0075 | 2017-06-01 10:45:37 -0700 | [diff] [blame] | 142 | </dependencies> |
Skip Wonnell | eb27ca3 | 2018-01-12 10:17:57 -0600 | [diff] [blame] | 143 | </project> |