blob: bc1664b905139a2ff7d4ec4bfba13ef8eb306379 [file] [log] [blame]
Yuta HIGUCHI1b151c62017-08-16 23:27:52 -07001<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 ~ Copyright 2017-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>
Ray Milkeybca90492018-04-13 12:47:31 -070025 <version>1.14.0-SNAPSHOT</version>
Yuta HIGUCHI1b151c62017-08-16 23:27:52 -070026 <relativePath>../pom.xml</relativePath>
27 </parent>
28
29 <artifactId>onos-models-l3vpn</artifactId>
30 <packaging>bundle</packaging>
31
32 <properties>
33 <onos.app.name>org.onosproject.models.l3vpn</onos.app.name>
34 </properties>
35
36 <dependencies>
37
38 <dependency>
39 <groupId>org.onosproject</groupId>
40 <artifactId>onos-yang-model</artifactId>
41 </dependency>
42
43 <dependency>
44 <groupId>org.onosproject</groupId>
Yuta HIGUCHI6160eb42017-10-06 14:56:18 -070045 <artifactId>onos-models-common</artifactId>
46 <version>${project.version}</version>
47 </dependency>
48
49 <dependency>
50 <groupId>org.onosproject</groupId>
Yuta HIGUCHI1b151c62017-08-16 23:27:52 -070051 <artifactId>onos-apps-yang</artifactId>
52 <version>${project.version}</version>
53 </dependency>
54
55 </dependencies>
56
57 <build>
58 <plugins>
59
60 <plugin>
61 <groupId>org.apache.felix</groupId>
62 <artifactId>maven-bundle-plugin</artifactId>
63 <extensions>true</extensions>
64 <configuration>
65 <instructions combine.children="append">
66 <Include-Resource>yang/resources/YangMetaData.ser=target/classes/yang/resources/YangMetaData.ser</Include-Resource>
67 </instructions>
68 </configuration>
69 </plugin>
70
71 <plugin>
72 <groupId>org.onosproject</groupId>
73 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
74 </plugin>
75
76 <plugin>
77 <groupId>org.onosproject</groupId>
78 <artifactId>onos-maven-plugin</artifactId>
79 </plugin>
80
81 <plugin>
82 <groupId>org.codehaus.mojo</groupId>
83 <artifactId>build-helper-maven-plugin</artifactId>
84 <version>3.0.0</version>
85 <executions>
86 <execution>
87 <id>add-source</id>
88 <phase>generate-sources</phase>
89 <goals>
90 <goal>add-source</goal>
91 </goals>
92 <configuration>
93 <sources>
94 <source>${project.build.directory}/generated-sources</source>
95 </sources>
96 </configuration>
97 </execution>
98 </executions>
99 </plugin>
100
101 <plugin>
102 <groupId>org.apache.maven.plugins</groupId>
103 <artifactId>maven-clean-plugin</artifactId>
104 <version>3.0.0</version>
105 <executions>
106 <execution>
107 <id>onos-yang-plugin-workaround</id>
108 <!-- yang plugin cannot handle non-clean compilation -->
109 <phase>initialize</phase>
110 <goals>
111 <goal>clean</goal>
112 </goals>
113 <configuration>
114 <excludeDefaultDirectories>true</excludeDefaultDirectories>
115 <filesets>
116 <fileset>
117 <directory>target/generated-sources</directory>
118 </fileset>
119 </filesets>
120 </configuration>
121 </execution>
122 </executions>
123 </plugin>
124
125
126 </plugins>
127
128 <pluginManagement>
129 <plugins>
130 <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.-->
131 <plugin>
132 <groupId>org.eclipse.m2e</groupId>
133 <artifactId>lifecycle-mapping</artifactId>
134 <version>1.0.0</version>
135 <configuration>
136 <lifecycleMappingMetadata>
137 <pluginExecutions>
138 <pluginExecution>
139 <pluginExecutionFilter>
140 <groupId>
141 org.apache.maven.plugins
142 </groupId>
143 <artifactId>
144 maven-clean-plugin
145 </artifactId>
146 <versionRange>
147 [3.0.0,)
148 </versionRange>
149 <goals>
150 <goal>clean</goal>
151 </goals>
152 </pluginExecutionFilter>
153 <action>
154 <ignore></ignore>
155 </action>
156 </pluginExecution>
157 </pluginExecutions>
158 </lifecycleMappingMetadata>
159 </configuration>
160 </plugin>
161 </plugins>
162 </pluginManagement>
163 </build>
164
165</project>