blob: afc4947955a431571c86dbffc3262ebea0395cdc [file] [log] [blame]
Gaurav Agrawala599a8f2017-01-10 20:45:27 +05301<!--
2 ~ Copyright 2016-present Open Networking Laboratory
3 ~
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>
24 <version>1.12-SNAPSHOT</version>
25 </parent>
26
27 <artifactId>onos-yang-compiler-maven-plugin</artifactId>
28 <version>1.12-SNAPSHOT</version>
29 <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>
59 <dependency>
60 <groupId>org.apache.maven</groupId>
61 <artifactId>maven-project</artifactId>
62 <version>3.0-alpha-2</version>
63 </dependency>
64 <dependency>
65 <groupId>org.apache.maven</groupId>
66 <artifactId>maven-model</artifactId>
67 <version>3.3.9</version>
68 </dependency>
69 <dependency>
70 <groupId>org.sonatype.plexus</groupId>
71 <artifactId>plexus-build-api</artifactId>
72 <version>0.0.7</version>
73 <scope>provided</scope>
74 </dependency>
75 <dependency>
76 <groupId>org.codehaus.mojo</groupId>
77 <artifactId>build-helper-maven-plugin</artifactId>
78 <version>1.10</version>
79 </dependency>
80 <dependency>
81 <groupId>org.slf4j</groupId>
82 <artifactId>slf4j-api</artifactId>
83 <version>1.7.21</version>
84 <scope>provided</scope>
85 </dependency>
86 <dependency>
87 <groupId>junit</groupId>
88 <artifactId>junit</artifactId>
89 <version>4.12</version>
90 <scope>test</scope>
91 </dependency>
92 <dependency>
93 <groupId>org.onosproject</groupId>
94 <artifactId>onos-yang-compiler-tool</artifactId>
95 <version>1.12-SNAPSHOT</version>
96 </dependency>
97 </dependencies>
98
99 <build>
100 <plugins>
101 <plugin>
102 <groupId>org.codehaus.mojo</groupId>
103 <artifactId>build-helper-maven-plugin</artifactId>
104 <version>1.10</version>
105 <executions>
106 <execution>
107 <id>add-source</id>
108 <phase>generate-sources</phase>
109 <goals>
110 <goal>add-source</goal>
111 </goals>
112 <configuration>
113 <sources>
114 <source>
115 target/generated-sources/org/onosproject/yangutils/parser/antlrgencode
116 </source>
117 <sourceDirectory>
118 target/generated-sources/org/onosproject/yangutils/parser/antlrgencode
119 </sourceDirectory>
120 </sources>
121 </configuration>
122 </execution>
123 </executions>
124 </plugin>
125 <plugin>
126 <groupId>org.apache.maven.plugins</groupId>
127 <artifactId>maven-plugin-plugin</artifactId>
128 <version>3.4</version>
129 <configuration>
130 <skipErrorNoDescriptorsFound>true
131 </skipErrorNoDescriptorsFound>
132 </configuration>
133 <executions>
134 <execution>
135 <phase>generate-sources</phase>
136 <goals>
137 <goal>descriptor</goal>
138 </goals>
139 </execution>
140 </executions>
141 </plugin>
142 <plugin>
143 <groupId>org.apache.felix</groupId>
144 <artifactId>maven-bundle-plugin</artifactId>
145 <version>2.5.4</version>
146 <extensions>true</extensions>
147 </plugin>
148 </plugins>
149 </build>
150</project>