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 | ================================================================================ |
| 6 | Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. |
| 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========================================================= |
| 21 | ECOMP is a trademark and service mark of AT&T Intellectual Property. |
| 22 | --> |
Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -0500 | [diff] [blame] | 23 | <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 24 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 25 | <modelVersion>4.0.0</modelVersion> |
| 26 | <parent> |
| 27 | <artifactId>appc-design-services</artifactId> |
Patrick Brady | 0756759 | 2017-12-13 11:09:30 -0800 | [diff] [blame] | 28 | <groupId>org.onap.appc</groupId> |
Jessica Wagantall | 6536799 | 2017-11-16 17:22:13 -0800 | [diff] [blame] | 29 | <version>1.3.0-SNAPSHOT</version> |
Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -0500 | [diff] [blame] | 30 | </parent> |
| 31 | <artifactId>appc-design-services-model</artifactId> |
| 32 | <packaging>bundle</packaging> |
| 33 | |
| 34 | <build> |
| 35 | |
| 36 | <plugins> |
| 37 | <plugin> |
| 38 | <groupId>org.apache.felix</groupId> |
| 39 | <artifactId>maven-bundle-plugin</artifactId> |
| 40 | <extensions>true</extensions> |
| 41 | <configuration> |
| 42 | <instructions> |
| 43 | <Import-Package>*</Import-Package> |
| 44 | </instructions> |
| 45 | </configuration> |
| 46 | </plugin> |
Patrick Brady | 7670600 | 2017-09-04 21:37:25 -0700 | [diff] [blame] | 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> |
| 68 | <codeGeneratorClass>org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl</codeGeneratorClass> |
| 69 | <outputBaseDir>${salGeneratorPath}</outputBaseDir> |
| 70 | </generator> |
| 71 | </codeGenerators> |
| 72 | <inspectDependencies>true</inspectDependencies> |
| 73 | </configuration> |
| 74 | </execution> |
| 75 | </executions> |
| 76 | </plugin> |
Skip Wonnell | ab6c2c0 | 2017-08-14 17:47:10 -0500 | [diff] [blame] | 77 | <plugin> |
| 78 | <groupId>org.codehaus.mojo</groupId> |
| 79 | <artifactId>exec-maven-plugin</artifactId> |
| 80 | <version>1.2.1</version> |
| 81 | <executions> |
| 82 | <execution> |
| 83 | <configuration> |
| 84 | <executable>python</executable> |
| 85 | <arguments> |
| 86 | <argument>scripts/python/yang2props.py</argument> |
| 87 | <argument>src/main/yang/appc-design-services.yang</argument> |
| 88 | <argument>target/appc-design-services.properties</argument> |
| 89 | </arguments> |
| 90 | </configuration> |
| 91 | <id>generation</id> |
| 92 | <phase>generate-resources</phase> |
| 93 | <goals> |
| 94 | <goal>exec</goal> |
| 95 | </goals> |
| 96 | </execution> |
| 97 | </executions> |
| 98 | </plugin> |
| 99 | <plugin> |
| 100 | <groupId>org.codehaus.mojo</groupId> |
| 101 | <artifactId>build-helper-maven-plugin</artifactId> |
| 102 | <executions> |
| 103 | <execution> |
| 104 | <id>attach-artifacts</id> |
| 105 | <goals> |
| 106 | <goal>attach-artifact</goal> |
| 107 | </goals> |
| 108 | <phase>package</phase> |
| 109 | <configuration> |
| 110 | <artifacts> |
| 111 | <artifact> |
| 112 | <file>${project.build.directory}/appc-design-services.properties</file> |
| 113 | <type>properties</type> |
| 114 | <classifier>appc-design-services</classifier> |
| 115 | </artifact> |
| 116 | </artifacts> |
| 117 | </configuration> |
| 118 | </execution> |
| 119 | </executions> |
| 120 | </plugin> |
| 121 | </plugins> |
| 122 | <pluginManagement> |
| 123 | <plugins> |
| 124 | <!--This plugin's configuration is used to store Eclipse m2e settings |
| 125 | only. It has no influence on the Maven build itself. --> |
| 126 | <plugin> |
| 127 | <groupId>org.eclipse.m2e</groupId> |
| 128 | <artifactId>lifecycle-mapping</artifactId> |
| 129 | <version>1.0.0</version> |
| 130 | <configuration> |
| 131 | <lifecycleMappingMetadata> |
| 132 | <pluginExecutions> |
| 133 | <pluginExecution> |
| 134 | <pluginExecutionFilter> |
| 135 | <groupId> |
| 136 | org.codehaus.mojo |
| 137 | </groupId> |
| 138 | <artifactId> |
| 139 | exec-maven-plugin |
| 140 | </artifactId> |
| 141 | <versionRange> |
| 142 | [1.2.1,) |
| 143 | </versionRange> |
| 144 | <goals> |
| 145 | <goal>exec</goal> |
| 146 | </goals> |
| 147 | </pluginExecutionFilter> |
| 148 | <action> |
| 149 | <ignore /> |
| 150 | </action> |
| 151 | </pluginExecution> |
| 152 | </pluginExecutions> |
| 153 | </lifecycleMappingMetadata> |
| 154 | </configuration> |
| 155 | </plugin> |
| 156 | </plugins> |
| 157 | </pluginManagement> |
| 158 | </build> |
| 159 | <dependencies> |
| 160 | <dependency> |
| 161 | <groupId>org.opendaylight.mdsal</groupId> |
| 162 | <artifactId>yang-binding</artifactId> |
| 163 | </dependency> |
| 164 | <dependency> |
| 165 | <groupId>org.opendaylight.yangtools</groupId> |
| 166 | <artifactId>yang-common</artifactId> |
| 167 | </dependency> |
| 168 | <dependency> |
| 169 | <groupId>org.opendaylight.mdsal.model</groupId> |
| 170 | <artifactId>ietf-inet-types</artifactId> |
| 171 | </dependency> |
| 172 | <dependency> |
| 173 | <groupId>org.opendaylight.mdsal.model</groupId> |
| 174 | <artifactId>ietf-yang-types</artifactId> |
| 175 | </dependency> |
| 176 | </dependencies> |
| 177 | </project> |