blob: 9acae97959ccff90f3fb78e80997d3ac4a91357f [file] [log] [blame]
Ray Milkeyb322f082016-10-06 11:06:10 -07001<!--
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-plugins</artifactId>
24 <version>1.9-SNAPSHOT</version>
25 </parent>
26
27 <artifactId>onos-yang-maven-plugin</artifactId>
28 <version>1.9-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 </dependencies>
87
88 <build>
89 <plugins>
90 <plugin>
91 <groupId>org.codehaus.mojo</groupId>
92 <artifactId>build-helper-maven-plugin</artifactId>
93 <version>1.10</version>
94 <executions>
95 <execution>
96 <id>add-source</id>
97 <phase>generate-sources</phase>
98 <goals>
99 <goal>add-source</goal>
100 </goals>
101 <configuration>
102 <sources>
103 <source>
104 target/generated-sources/org/onosproject/yangutils/parser/antlrgencode
105 </source>
106 <sourceDirectory>
107 target/generated-sources/org/onosproject/yangutils/parser/antlrgencode
108 </sourceDirectory>
109 </sources>
110 </configuration>
111 </execution>
112 </executions>
113 </plugin>
114 <plugin>
115 <groupId>org.apache.maven.plugins</groupId>
116 <artifactId>maven-plugin-plugin</artifactId>
117 <version>3.4</version>
118 <configuration>
119 <skipErrorNoDescriptorsFound>true
120 </skipErrorNoDescriptorsFound>
121 </configuration>
122 <executions>
123 <execution>
124 <phase>generate-sources</phase>
125 <goals>
126 <goal>descriptor</goal>
127 </goals>
128 </execution>
129 </executions>
130 </plugin>
131 <plugin>
132 <groupId>org.apache.felix</groupId>
133 <artifactId>maven-bundle-plugin</artifactId>
134 <version>2.5.4</version>
135 <extensions>true</extensions>
136 </plugin>
137 </plugins>
138 </build>
139</project>