blob: a7bbdd8568b8e261c706517f8b675d6ec20ad476 [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>
ONOS Jenkins User04270962018-05-15 21:06:41 +000024 <version>2.5-SNAPSHOT</version>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053025 </parent>
26
27 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
ONOS Jenkins User04270962018-05-15 21:06:41 +000028 <version>2.5-SNAPSHOT</version>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053029 <packaging>maven-plugin</packaging>
30
31 <dependencies>
32 <dependency>
33 <groupId>org.apache.maven</groupId>
34 <artifactId>maven-core</artifactId>
35 <version>3.3.9</version>
36 </dependency>
37 <dependency>
38 <groupId>org.apache.maven</groupId>
39 <artifactId>maven-plugin-api</artifactId>
40 <version>3.3.9</version>
41 </dependency>
42 <dependency>
43 <groupId>org.apache.maven.plugin-tools</groupId>
44 <artifactId>maven-plugin-annotations</artifactId>
45 <version>3.4</version>
46 <scope>provided</scope>
47 </dependency>
48 <dependency>
49 <groupId>org.apache.felix</groupId>
50 <artifactId>maven-scr-plugin</artifactId>
51 <version>1.21.0</version>
52 <scope>compile</scope>
53 </dependency>
54 <dependency>
55 <groupId>org.apache.maven</groupId>
56 <artifactId>maven-artifact</artifactId>
57 <version>3.3.9</version>
58 </dependency>
Yuta HIGUCHI5c8fa432018-01-26 18:56:40 -080059
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053060 <dependency>
Yuta HIGUCHI5c8fa432018-01-26 18:56:40 -080061 <groupId>com.google.guava</groupId>
62 <artifactId>guava</artifactId>
63 </dependency>
64
65 <dependency>
66 <!-- FIXME avoid using alpha version -->
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053067 <groupId>org.apache.maven</groupId>
68 <artifactId>maven-project</artifactId>
69 <version>3.0-alpha-2</version>
Yuta HIGUCHI5c8fa432018-01-26 18:56:40 -080070 <exclusions>
71 <exclusion>
72 <!-- exclude from transitive dependency -->
73 <!-- since this has package collision with recent guava -->
74 <artifactId>com.google.code.google-collections</artifactId>
75 <groupId>google-collection</groupId>
76 </exclusion>
77 </exclusions>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053078 </dependency>
79 <dependency>
80 <groupId>org.apache.maven</groupId>
81 <artifactId>maven-model</artifactId>
82 <version>3.3.9</version>
83 </dependency>
84 <dependency>
85 <groupId>org.sonatype.plexus</groupId>
86 <artifactId>plexus-build-api</artifactId>
87 <version>0.0.7</version>
88 <scope>provided</scope>
89 </dependency>
90 <dependency>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053091 <groupId>org.slf4j</groupId>
92 <artifactId>slf4j-api</artifactId>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053093 <scope>provided</scope>
94 </dependency>
95 <dependency>
96 <groupId>junit</groupId>
97 <artifactId>junit</artifactId>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +053098 <scope>test</scope>
99 </dependency>
sonugupta-huawei3b15f112017-10-09 16:48:14 +0530100 <dependency>
101 <groupId>org.onosproject</groupId>
102 <artifactId>onos-yang-compiler-plugin-utils</artifactId>
ONOS Jenkins User04270962018-05-15 21:06:41 +0000103 <version>2.5-SNAPSHOT</version>
sonugupta-huawei3b15f112017-10-09 16:48:14 +0530104 </dependency>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +0530105 </dependencies>
106
107 <build>
108 <plugins>
109 <plugin>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +0530110 <groupId>org.apache.maven.plugins</groupId>
111 <artifactId>maven-plugin-plugin</artifactId>
112 <version>3.4</version>
113 <configuration>
114 <skipErrorNoDescriptorsFound>true
115 </skipErrorNoDescriptorsFound>
116 </configuration>
117 <executions>
118 <execution>
119 <phase>generate-sources</phase>
120 <goals>
121 <goal>descriptor</goal>
122 </goals>
123 </execution>
124 </executions>
125 </plugin>
Gaurav Agrawala599a8f2017-01-10 20:45:27 +0530126 </plugins>
127 </build>
128</project>