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 | ================================================================================ |
John McClung | 3a78edb | 2018-06-13 17:17:15 -0400 | [diff] [blame] | 6 | Copyright (C) 2017-2018 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 | 9d38008 | 2018-10-09 11:32:38 -0700 | [diff] [blame] | 28 | <version>1.4.0</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-design-services-model</artifactId> |
| 33 | <packaging>bundle</packaging> |
| 34 | |
| 35 | <build> |
| 36 | |
| 37 | <plugins> |
| 38 | <plugin> |
| 39 | <groupId>org.apache.felix</groupId> |
| 40 | <artifactId>maven-bundle-plugin</artifactId> |
| 41 | <extensions>true</extensions> |
| 42 | <configuration> |
| 43 | <instructions> |
| 44 | <Import-Package>*</Import-Package> |
| 45 | </instructions> |
| 46 | </configuration> |
| 47 | </plugin> |
Patrick Brady | 7670600 | 2017-09-04 21:37:25 -0700 | [diff] [blame] | 48 | <plugin> |
| 49 | <groupId>org.opendaylight.yangtools</groupId> |
| 50 | <artifactId>yang-maven-plugin</artifactId> |
| 51 | <version>${odl.yangtools.version}</version> |
| 52 | <dependencies> |
| 53 | <dependency> |
| 54 | <groupId>org.opendaylight.mdsal</groupId> |
| 55 | <artifactId>maven-sal-api-gen-plugin</artifactId> |
| 56 | <version>${odl.sal.api.gen.plugin.version}</version> |
| 57 | <type>jar</type> |
| 58 | </dependency> |
| 59 | </dependencies> |
| 60 | <executions> |
| 61 | <execution> |
| 62 | <goals> |
| 63 | <goal>generate-sources</goal> |
| 64 | </goals> |
| 65 | <configuration> |
| 66 | <yangFilesRootDir>${yang.file.directory}</yangFilesRootDir> |
| 67 | <codeGenerators> |
| 68 | <generator> |
| 69 | <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass> |
| 70 | <outputBaseDir>${salGeneratorPath}</outputBaseDir> |
| 71 | </generator> |
| 72 | </codeGenerators> |
| 73 | <inspectDependencies>true</inspectDependencies> |
| 74 | </configuration> |
| 75 | </execution> |
| 76 | </executions> |
| 77 | </plugin> |
Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -0500 | [diff] [blame] | 78 | <plugin> |
| 79 | <groupId>org.codehaus.mojo</groupId> |
| 80 | <artifactId>exec-maven-plugin</artifactId> |
| 81 | <version>1.2.1</version> |
| 82 | <executions> |
| 83 | <execution> |
| 84 | <configuration> |
| 85 | <executable>python</executable> |
| 86 | <arguments> |
| 87 | <argument>scripts/python/yang2props.py</argument> |
| 88 | <argument>src/main/yang/appc-design-services.yang</argument> |
| 89 | <argument>target/appc-design-services.properties</argument> |
| 90 | </arguments> |
| 91 | </configuration> |
| 92 | <id>generation</id> |
| 93 | <phase>generate-resources</phase> |
| 94 | <goals> |
| 95 | <goal>exec</goal> |
| 96 | </goals> |
| 97 | </execution> |
| 98 | </executions> |
| 99 | </plugin> |
| 100 | <plugin> |
| 101 | <groupId>org.codehaus.mojo</groupId> |
| 102 | <artifactId>build-helper-maven-plugin</artifactId> |
| 103 | <executions> |
| 104 | <execution> |
| 105 | <id>attach-artifacts</id> |
| 106 | <goals> |
| 107 | <goal>attach-artifact</goal> |
| 108 | </goals> |
| 109 | <phase>package</phase> |
| 110 | <configuration> |
| 111 | <artifacts> |
| 112 | <artifact> |
| 113 | <file>${project.build.directory}/appc-design-services.properties</file> |
| 114 | <type>properties</type> |
| 115 | <classifier>appc-design-services</classifier> |
| 116 | </artifact> |
| 117 | </artifacts> |
| 118 | </configuration> |
| 119 | </execution> |
| 120 | </executions> |
| 121 | </plugin> |
| 122 | </plugins> |
| 123 | <pluginManagement> |
| 124 | <plugins> |
| 125 | <!--This plugin's configuration is used to store Eclipse m2e settings |
| 126 | only. It has no influence on the Maven build itself. --> |
| 127 | <plugin> |
| 128 | <groupId>org.eclipse.m2e</groupId> |
| 129 | <artifactId>lifecycle-mapping</artifactId> |
| 130 | <version>1.0.0</version> |
| 131 | <configuration> |
| 132 | <lifecycleMappingMetadata> |
| 133 | <pluginExecutions> |
| 134 | <pluginExecution> |
| 135 | <pluginExecutionFilter> |
| 136 | <groupId> |
| 137 | org.codehaus.mojo |
| 138 | </groupId> |
| 139 | <artifactId> |
| 140 | exec-maven-plugin |
| 141 | </artifactId> |
| 142 | <versionRange> |
| 143 | [1.2.1,) |
| 144 | </versionRange> |
| 145 | <goals> |
| 146 | <goal>exec</goal> |
| 147 | </goals> |
| 148 | </pluginExecutionFilter> |
| 149 | <action> |
| 150 | <ignore /> |
| 151 | </action> |
| 152 | </pluginExecution> |
| 153 | </pluginExecutions> |
| 154 | </lifecycleMappingMetadata> |
| 155 | </configuration> |
| 156 | </plugin> |
| 157 | </plugins> |
| 158 | </pluginManagement> |
| 159 | </build> |
| 160 | <dependencies> |
| 161 | <dependency> |
| 162 | <groupId>org.opendaylight.mdsal</groupId> |
| 163 | <artifactId>yang-binding</artifactId> |
| 164 | </dependency> |
| 165 | <dependency> |
| 166 | <groupId>org.opendaylight.yangtools</groupId> |
| 167 | <artifactId>yang-common</artifactId> |
| 168 | </dependency> |
| 169 | <dependency> |
| 170 | <groupId>org.opendaylight.mdsal.model</groupId> |
| 171 | <artifactId>ietf-inet-types</artifactId> |
| 172 | </dependency> |
| 173 | <dependency> |
| 174 | <groupId>org.opendaylight.mdsal.model</groupId> |
| 175 | <artifactId>ietf-yang-types</artifactId> |
| 176 | </dependency> |
| 177 | </dependencies> |
Patrick Brady | ccd67e9 | 2018-11-12 12:14:11 -0800 | [diff] [blame] | 178 | <version>1.5.0-SNAPSHOT</version> |
Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -0500 | [diff] [blame] | 179 | </project> |