Refactored yang-maven-plugin.
[controller.git] / opendaylight / sal / yang-prototype / code-generator / maven-yang-plugin / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4     <parent>
5         <artifactId>yang</artifactId>
6         <groupId>org.opendaylight.controller</groupId>
7         <version>0.5-SNAPSHOT</version>
8         <relativePath>../../yang/pom.xml</relativePath>
9     </parent>
10
11     <artifactId>yang-maven-plugin</artifactId>
12     <packaging>maven-plugin</packaging>
13     <description>
14         This plugin is a wrapper for "yang to source code" generation.
15         It can be configured by a set of third-party code generators and resource providers.
16         For further info see available goals.
17         Sample usage:
18
19         TODO: add sample usage when finished
20     </description>
21
22     <dependencies>
23         <dependency>
24             <groupId>org.apache.maven</groupId>
25             <artifactId>maven-plugin-api</artifactId>
26             <version>3.0.5</version>
27         </dependency>
28         <dependency>
29             <groupId>org.apache.maven</groupId>
30             <artifactId>maven-project</artifactId>
31             <version>2.2.1</version>
32         </dependency>
33         <dependency>
34             <groupId>org.apache.maven.plugin-tools</groupId>
35             <artifactId>maven-plugin-annotations</artifactId>
36             <version>3.2</version>
37             <scope>provided</scope>
38         </dependency>
39                 <dependency>
40                         <groupId>org.apache.maven</groupId>
41                         <artifactId>maven-artifact</artifactId>
42                         <version>2.0</version>
43                 </dependency>
44
45         <dependency>
46             <groupId>${project.groupId}</groupId>
47             <artifactId>yang-model-parser-impl</artifactId>
48             <version>0.5-SNAPSHOT</version>
49         </dependency>
50         <dependency>
51             <groupId>org.opendaylight.controller</groupId>
52             <artifactId>yang-maven-plugin-spi</artifactId>
53             <version>0.5-SNAPSHOT</version>
54         </dependency>
55
56         <dependency>
57             <groupId>commons-io</groupId>
58             <artifactId>commons-io</artifactId>
59             <version>2.4</version>
60         </dependency>
61
62         <dependency>
63             <groupId>${project.groupId}</groupId>
64             <artifactId>yang-maven-plugin-spi</artifactId>
65             <version>0.5-SNAPSHOT</version>
66             <type>test-jar</type>
67             <scope>test</scope>
68         </dependency>
69         <dependency>
70             <groupId>org.mockito</groupId>
71             <artifactId>mockito-all</artifactId>
72             <version>1.8.4</version>
73             <scope>test</scope>
74         </dependency>
75     </dependencies>
76
77     <reporting>
78         <plugins>
79             <plugin>
80                 <groupId>org.apache.maven.plugins</groupId>
81                 <artifactId>maven-plugin-plugin</artifactId>
82                 <version>3.2</version>
83             </plugin>
84         </plugins>
85     </reporting>
86
87     <build>
88         <plugins>
89             <plugin>
90                 <groupId>org.apache.maven.plugins</groupId>
91                 <artifactId>maven-plugin-plugin</artifactId>
92                 <version>3.2</version>
93                 <configuration>
94                     <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
95                 </configuration>
96                 <executions>
97                     <execution>
98                         <id>mojo-descriptor</id>
99                         <goals>
100                             <goal>descriptor</goal>
101                         </goals>
102                     </execution>
103                 </executions>
104             </plugin>
105         </plugins>
106     </build>
107
108 </project>