Yuta HIGUCHI | 2f5182d | 2018-05-03 16:37:12 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright 2018-present Open Networking Foundation |
| 4 | ~ |
| 5 | ~ Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | ~ you may not use this file except in compliance with the License. |
| 7 | ~ You may obtain a copy of the License at |
| 8 | ~ |
| 9 | ~ http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | ~ |
| 11 | ~ Unless required by applicable law or agreed to in writing, software |
| 12 | ~ distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | ~ See the License for the specific language governing permissions and |
| 15 | ~ limitations under the License. |
| 16 | --> |
| 17 | <project xmlns="http://maven.apache.org/POM/4.0.0" |
| 18 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 19 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 20 | <modelVersion>4.0.0</modelVersion> |
| 21 | |
| 22 | <parent> |
| 23 | <groupId>org.onosproject</groupId> |
| 24 | <artifactId>onos-models</artifactId> |
ONOS Jenkins User | 8bb3a78 | 2018-08-21 00:46:20 +0000 | [diff] [blame^] | 25 | <version>1.14.0-rc3</version> |
Yuta HIGUCHI | 2f5182d | 2018-05-03 16:37:12 -0700 | [diff] [blame] | 26 | <relativePath>../../pom.xml</relativePath> |
| 27 | </parent> |
| 28 | |
| 29 | <artifactId>onos-models-ciena-waveserverai</artifactId> |
| 30 | <packaging>bundle</packaging> |
| 31 | <description>Ciena Waveserver Ai YANG Models</description> |
| 32 | |
| 33 | <properties> |
| 34 | <onos.app.name>org.onosproject.models.ciena.waveserverai</onos.app.name> |
| 35 | </properties> |
| 36 | |
| 37 | <dependencies> |
| 38 | |
| 39 | <dependency> |
| 40 | <groupId>org.onosproject</groupId> |
| 41 | <artifactId>onos-yang-model</artifactId> |
| 42 | </dependency> |
| 43 | |
| 44 | <dependency> |
| 45 | <groupId>org.onosproject</groupId> |
| 46 | <artifactId>onos-apps-yang</artifactId> |
| 47 | <version>${project.version}</version> |
| 48 | </dependency> |
| 49 | |
| 50 | </dependencies> |
| 51 | |
| 52 | <build> |
| 53 | <plugins> |
| 54 | |
| 55 | <plugin> |
| 56 | <groupId>org.apache.felix</groupId> |
| 57 | <artifactId>maven-bundle-plugin</artifactId> |
| 58 | <extensions>true</extensions> |
| 59 | <configuration> |
| 60 | <instructions combine.children="append"> |
| 61 | <Include-Resource>yang/resources/YangMetaData.ser=target/classes/yang/resources/YangMetaData.ser</Include-Resource> |
| 62 | </instructions> |
| 63 | </configuration> |
| 64 | </plugin> |
| 65 | |
| 66 | <plugin> |
| 67 | <groupId>org.onosproject</groupId> |
| 68 | <artifactId>onos-yang-compiler-maven-plugin</artifactId> |
| 69 | </plugin> |
| 70 | |
| 71 | <plugin> |
| 72 | <groupId>org.onosproject</groupId> |
| 73 | <artifactId>onos-maven-plugin</artifactId> |
| 74 | </plugin> |
| 75 | |
| 76 | <plugin> |
| 77 | <groupId>org.codehaus.mojo</groupId> |
| 78 | <artifactId>build-helper-maven-plugin</artifactId> |
| 79 | <version>3.0.0</version> |
| 80 | <executions> |
| 81 | <execution> |
| 82 | <id>add-source</id> |
| 83 | <phase>generate-sources</phase> |
| 84 | <goals> |
| 85 | <goal>add-source</goal> |
| 86 | </goals> |
| 87 | <configuration> |
| 88 | <sources> |
| 89 | <source>${project.build.directory}/generated-sources</source> |
| 90 | </sources> |
| 91 | </configuration> |
| 92 | </execution> |
| 93 | </executions> |
| 94 | </plugin> |
| 95 | |
| 96 | <plugin> |
| 97 | <groupId>org.apache.maven.plugins</groupId> |
| 98 | <artifactId>maven-clean-plugin</artifactId> |
| 99 | <version>3.0.0</version> |
| 100 | <executions> |
| 101 | <execution> |
| 102 | <id>onos-yang-plugin-workaround</id> |
| 103 | <!-- yang plugin cannot handle non-clean compilation --> |
| 104 | <phase>initialize</phase> |
| 105 | <goals> |
| 106 | <goal>clean</goal> |
| 107 | </goals> |
| 108 | <configuration> |
| 109 | <excludeDefaultDirectories>true</excludeDefaultDirectories> |
| 110 | <filesets> |
| 111 | <fileset> |
| 112 | <directory>target/generated-sources</directory> |
| 113 | </fileset> |
| 114 | </filesets> |
| 115 | </configuration> |
| 116 | </execution> |
| 117 | </executions> |
| 118 | </plugin> |
| 119 | |
| 120 | <!-- FIXME: YANG tool generates problematic code --> |
| 121 | <plugin> |
| 122 | <groupId>org.apache.maven.plugins</groupId> |
| 123 | <artifactId>maven-compiler-plugin</artifactId> |
| 124 | <configuration> |
| 125 | <compilerArgs> |
| 126 | <arg>-XepDisableAllChecks</arg> |
| 127 | <arg>-Xep:BetaApi:OFF</arg> |
| 128 | </compilerArgs> |
| 129 | </configuration> |
| 130 | </plugin> |
| 131 | |
| 132 | </plugins> |
| 133 | |
| 134 | <pluginManagement> |
| 135 | <plugins> |
| 136 | <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
| 137 | <plugin> |
| 138 | <groupId>org.eclipse.m2e</groupId> |
| 139 | <artifactId>lifecycle-mapping</artifactId> |
| 140 | <version>1.0.0</version> |
| 141 | <configuration> |
| 142 | <lifecycleMappingMetadata> |
| 143 | <pluginExecutions> |
| 144 | <pluginExecution> |
| 145 | <pluginExecutionFilter> |
| 146 | <groupId> |
| 147 | org.apache.maven.plugins |
| 148 | </groupId> |
| 149 | <artifactId> |
| 150 | maven-clean-plugin |
| 151 | </artifactId> |
| 152 | <versionRange> |
| 153 | [3.0.0,) |
| 154 | </versionRange> |
| 155 | <goals> |
| 156 | <goal>clean</goal> |
| 157 | </goals> |
| 158 | </pluginExecutionFilter> |
| 159 | <action> |
| 160 | <ignore></ignore> |
| 161 | </action> |
| 162 | </pluginExecution> |
| 163 | </pluginExecutions> |
| 164 | </lifecycleMappingMetadata> |
| 165 | </configuration> |
| 166 | </plugin> |
| 167 | </plugins> |
| 168 | </pluginManagement> |
| 169 | </build> |
| 170 | |
| 171 | </project> |