blob: 1a6f20922776be9f7111a7cff7d6f0026e2ec7f3 [file] [log] [blame]
Gaurav Agrawala599a8f2017-01-10 20:45:27 +05301<!--
Brian O'Connor72b2df22017-08-03 18:48:28 -07002 ~ Copyright 2016-present Open Networking Foundation
Gaurav Agrawala599a8f2017-01-10 20:45:27 +05303 ~
4 ~ Licensed under the Apache License, Version 2.0 (the "License");
5 ~ you may not use this file except in compliance with the License.
6 ~ You may obtain a copy of the License at
7 ~
8 ~ http://www.apache.org/licenses/LICENSE-2.0
9 ~
10 ~ Unless required by applicable law or agreed to in writing, software
11 ~ distributed under the License is distributed on an "AS IS" BASIS,
12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ~ See the License for the specific language governing permissions and
14 ~ limitations under the License.
15 -->
16<project xmlns="http://maven.apache.org/POM/4.0.0"
17 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
18 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
19 <modelVersion>4.0.0</modelVersion>
20
21 <parent>
22 <groupId>org.onosproject</groupId>
23 <artifactId>onos-yang-compiler-plugin</artifactId>
Ray Milkeyfee8b902019-01-14 10:23:24 -080024 <version>2.6.1</version>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053025 </parent>
26
27 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053028 <packaging>maven-plugin</packaging>
29
30 <dependencies>
31 <dependency>
32 <groupId>org.apache.maven</groupId>
33 <artifactId>maven-core</artifactId>
34 <version>3.3.9</version>
35 </dependency>
36 <dependency>
37 <groupId>org.apache.maven</groupId>
38 <artifactId>maven-plugin-api</artifactId>
39 <version>3.3.9</version>
40 </dependency>
41 <dependency>
42 <groupId>org.apache.maven.plugin-tools</groupId>
43 <artifactId>maven-plugin-annotations</artifactId>
44 <version>3.4</version>
45 <scope>provided</scope>
46 </dependency>
47 <dependency>
48 <groupId>org.apache.felix</groupId>
49 <artifactId>maven-scr-plugin</artifactId>
50 <version>1.21.0</version>
51 <scope>compile</scope>
52 </dependency>
53 <dependency>
54 <groupId>org.apache.maven</groupId>
55 <artifactId>maven-artifact</artifactId>
56 <version>3.3.9</version>
57 </dependency>
Yuta HIGUCHI5c8fa432018-01-26 18:56:40 -080058
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053059 <dependency>
Yuta HIGUCHI5c8fa432018-01-26 18:56:40 -080060 <groupId>com.google.guava</groupId>
61 <artifactId>guava</artifactId>
62 </dependency>
63
64 <dependency>
65 <!-- FIXME avoid using alpha version -->
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053066 <groupId>org.apache.maven</groupId>
67 <artifactId>maven-project</artifactId>
68 <version>3.0-alpha-2</version>
Yuta HIGUCHI5c8fa432018-01-26 18:56:40 -080069 <exclusions>
70 <exclusion>
71 <!-- exclude from transitive dependency -->
72 <!-- since this has package collision with recent guava -->
73 <artifactId>com.google.code.google-collections</artifactId>
74 <groupId>google-collection</groupId>
75 </exclusion>
76 </exclusions>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053077 </dependency>
78 <dependency>
79 <groupId>org.apache.maven</groupId>
80 <artifactId>maven-model</artifactId>
81 <version>3.3.9</version>
82 </dependency>
83 <dependency>
84 <groupId>org.sonatype.plexus</groupId>
85 <artifactId>plexus-build-api</artifactId>
86 <version>0.0.7</version>
87 <scope>provided</scope>
88 </dependency>
89 <dependency>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053090 <groupId>org.slf4j</groupId>
91 <artifactId>slf4j-api</artifactId>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053092 <scope>provided</scope>
93 </dependency>
94 <dependency>
95 <groupId>junit</groupId>
96 <artifactId>junit</artifactId>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053097 <scope>test</scope>
98 </dependency>
sonugupta-huawei3b15f112017-10-09 16:48:14 +053099 <dependency>
100 <groupId>org.onosproject</groupId>
101 <artifactId>onos-yang-compiler-plugin-utils</artifactId>
Thomas Vachuska922b2312018-06-26 18:22:36 -0700102 <version>${project.version}</version>
sonugupta-huawei3b15f112017-10-09 16:48:14 +0530103 </dependency>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +0530104 </dependencies>
105
106 <build>
107 <plugins>
108 <plugin>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +0530109 <groupId>org.apache.maven.plugins</groupId>
110 <artifactId>maven-plugin-plugin</artifactId>
111 <version>3.4</version>
112 <configuration>
113 <skipErrorNoDescriptorsFound>true
114 </skipErrorNoDescriptorsFound>
115 </configuration>
116 <executions>
117 <execution>
118 <phase>generate-sources</phase>
119 <goals>
120 <goal>descriptor</goal>
121 </goals>
122 </execution>
123 </executions>
124 </plugin>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +0530125 </plugins>
126 </build>
127</project>