Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
Skip Wonnell | 463f70e | 2018-01-12 10:00:59 -0600 | [diff] [blame] | 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | ONAP : APPC |
| 5 | ================================================================================ |
Patrick Brady | a6fbd20 | 2019-01-22 14:19:54 -0800 | [diff] [blame] | 6 | Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. |
Skip Wonnell | 463f70e | 2018-01-12 10:00:59 -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 | 463f70e | 2018-01-12 10:00:59 -0600 | [diff] [blame] | 21 | --> |
Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -0500 | [diff] [blame] | 22 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 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> |
Patrick Brady | ca4f7e1 | 2018-08-13 22:38:26 -0700 | [diff] [blame] | 26 | <groupId>org.onap.appc.parent</groupId> |
| 27 | <artifactId>binding-parent</artifactId> |
Patrick Brady | 19ae780 | 2019-01-08 12:25:10 -0800 | [diff] [blame] | 28 | <version>1.5.0-SNAPSHOT</version> |
Patrick Brady | ca4f7e1 | 2018-08-13 22:38:26 -0700 | [diff] [blame] | 29 | <relativePath /> |
Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -0500 | [diff] [blame] | 30 | </parent> |
Patrick Brady | ca4f7e1 | 2018-08-13 22:38:26 -0700 | [diff] [blame] | 31 | <groupId>org.onap.appc</groupId> |
Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -0500 | [diff] [blame] | 32 | <artifactId>appc-artifact-handler-model</artifactId> |
| 33 | <packaging>bundle</packaging> |
Patrick Brady | 13c0353 | 2019-02-22 13:37:19 -0800 | [diff] [blame] | 34 | <name>APPC Artifact Handler - Model</name> |
Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -0500 | [diff] [blame] | 35 | |
| 36 | <build> |
| 37 | |
| 38 | <plugins> |
| 39 | <plugin> |
| 40 | <groupId>org.apache.felix</groupId> |
| 41 | <artifactId>maven-bundle-plugin</artifactId> |
| 42 | <extensions>true</extensions> |
| 43 | <configuration> |
| 44 | <instructions> |
Patrick Brady | 13c0353 | 2019-02-22 13:37:19 -0800 | [diff] [blame] | 45 | <Import-Package>com.google.common.collect,com.google.common.base,*</Import-Package> |
Patrick Brady | 226725a | 2018-05-11 09:06:09 -0700 | [diff] [blame] | 46 | <Embed-Dependency>guava</Embed-Dependency> |
Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -0500 | [diff] [blame] | 47 | </instructions> |
| 48 | </configuration> |
| 49 | </plugin> |
| 50 | <plugin> |
| 51 | <groupId>org.opendaylight.yangtools</groupId> |
| 52 | <artifactId>yang-maven-plugin</artifactId> |
| 53 | <dependencies> |
| 54 | <dependency> |
| 55 | <groupId>org.opendaylight.mdsal</groupId> |
| 56 | <artifactId>maven-sal-api-gen-plugin</artifactId> |
Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -0500 | [diff] [blame] | 57 | <version>${odl.sal.api.gen.plugin.version}</version> |
| 58 | <type>jar</type> |
| 59 | </dependency> |
| 60 | </dependencies> |
| 61 | <executions> |
| 62 | <execution> |
| 63 | <goals> |
| 64 | <goal>generate-sources</goal> |
| 65 | </goals> |
| 66 | <configuration> |
| 67 | <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir> |
| 68 | <codeGenerators> |
| 69 | <generator> |
Patrick Brady | 7670600 | 2017-09-04 21:37:25 -0700 | [diff] [blame] | 70 | <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass> |
Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -0500 | [diff] [blame] | 71 | <outputBaseDir>${salGeneratorPath}</outputBaseDir> |
| 72 | </generator> |
| 73 | </codeGenerators> |
| 74 | <inspectDependencies>true</inspectDependencies> |
| 75 | </configuration> |
| 76 | </execution> |
| 77 | </executions> |
| 78 | </plugin> |
Patrick Brady | 13c0353 | 2019-02-22 13:37:19 -0800 | [diff] [blame] | 79 | |
Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -0500 | [diff] [blame] | 80 | <plugin> |
Patrick Brady | 226725a | 2018-05-11 09:06:09 -0700 | [diff] [blame] | 81 | <groupId>org.apache.maven.plugins</groupId> |
| 82 | <artifactId>maven-install-plugin</artifactId> |
| 83 | <version>2.5.2</version> |
| 84 | <executions> |
| 85 | <execution> |
| 86 | <id>yang</id> |
| 87 | <phase>initialize</phase> |
| 88 | <goals> |
| 89 | <goal>install-file</goal> |
| 90 | </goals> |
| 91 | <configuration> |
| 92 | <file>${project.basedir}/src/main/yang/artifact-handler.yang</file> |
| 93 | <groupId>${project.groupId}</groupId> |
| 94 | <artifactId>${project.artifactId}</artifactId> |
| 95 | <version>${project.version}</version> |
| 96 | <packaging>yang</packaging> |
| 97 | </configuration> |
| 98 | </execution> |
| 99 | </executions> |
| 100 | </plugin> |
Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -0500 | [diff] [blame] | 101 | </plugins> |
Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -0500 | [diff] [blame] | 102 | </build> |
| 103 | <dependencies> |
| 104 | <dependency> |
| 105 | <groupId>org.opendaylight.mdsal</groupId> |
| 106 | <artifactId>yang-binding</artifactId> |
| 107 | </dependency> |
| 108 | <dependency> |
| 109 | <groupId>org.opendaylight.yangtools</groupId> |
| 110 | <artifactId>yang-common</artifactId> |
| 111 | </dependency> |
| 112 | <dependency> |
| 113 | <groupId>org.opendaylight.mdsal.model</groupId> |
Patrick Brady | 13c0353 | 2019-02-22 13:37:19 -0800 | [diff] [blame] | 114 | <artifactId>ietf-inet-types-2013-07-15</artifactId> |
Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -0500 | [diff] [blame] | 115 | </dependency> |
| 116 | <dependency> |
| 117 | <groupId>org.opendaylight.mdsal.model</groupId> |
Patrick Brady | 13c0353 | 2019-02-22 13:37:19 -0800 | [diff] [blame] | 118 | <artifactId>ietf-yang-types-20130715</artifactId> |
Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -0500 | [diff] [blame] | 119 | </dependency> |
| 120 | </dependencies> |
Patrick Brady | ed1cf1f | 2019-04-26 12:36:25 -0700 | [diff] [blame] | 121 | <version>1.6.0-SNAPSHOT</version> |
Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -0500 | [diff] [blame] | 122 | </project> |