188fb925ba05a22624a2a416ea05c17afc6a08e7
[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     <version>${release.version}</version>
13     <packaging>maven-plugin</packaging>
14     <description>
15         This plugin is a wrapper for "yang to source code" generation.
16         It can be configured by a set of third-party code generators and resource providers.
17         For further info see available goals.
18         Sample usage:
19
20         TODO: add sample usage when finished
21     </description>
22
23     <dependencies>
24         <dependency>
25             <groupId>org.apache.maven</groupId>
26             <artifactId>maven-core</artifactId>
27             <version>3.0.5</version>
28         </dependency>
29         <dependency>
30             <groupId>org.apache.maven</groupId>
31             <artifactId>maven-plugin-api</artifactId>
32             <version>3.0.5</version>
33         </dependency>
34         <dependency>
35             <groupId>org.apache.maven.plugin-tools</groupId>
36             <artifactId>maven-plugin-annotations</artifactId>
37             <version>3.2</version>
38             <scope>provided</scope>
39         </dependency>
40                 <dependency>
41                         <groupId>org.apache.maven</groupId>
42                         <artifactId>maven-artifact</artifactId>
43                         <version>2.0</version>
44                 </dependency>
45
46         <dependency>
47             <groupId>${project.groupId}</groupId>
48             <artifactId>yang-model-parser-impl</artifactId>
49         </dependency>
50         <dependency>
51             <groupId>org.opendaylight.controller</groupId>
52             <artifactId>yang-maven-plugin-spi</artifactId>
53         </dependency>
54
55         <dependency>
56             <groupId>commons-io</groupId>
57             <artifactId>commons-io</artifactId>
58             <version>2.4</version>
59         </dependency>
60
61         <dependency>
62             <groupId>${project.groupId}</groupId>
63             <artifactId>yang-maven-plugin-spi</artifactId>
64             <version>${release.version}</version>
65             <type>test-jar</type>
66             <scope>test</scope>
67         </dependency>
68         <dependency>
69             <groupId>org.mockito</groupId>
70             <artifactId>mockito-all</artifactId>
71             <version>1.8.4</version>
72             <scope>test</scope>
73         </dependency>
74         <dependency>
75                 <groupId>junit</groupId>
76                 <artifactId>junit</artifactId>
77                 <scope>test</scope>
78         </dependency>
79     </dependencies>
80
81     <reporting>
82         <plugins>
83             <plugin>
84                 <groupId>org.apache.maven.plugins</groupId>
85                 <artifactId>maven-plugin-plugin</artifactId>
86                 <version>3.2</version>
87             </plugin>
88         </plugins>
89     </reporting>
90
91     <build>
92         <plugins>
93             <plugin>
94                 <groupId>org.apache.maven.plugins</groupId>
95                 <artifactId>maven-plugin-plugin</artifactId>
96                 <version>3.2</version>
97                 <configuration>
98                     <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
99                 </configuration>
100                 <executions>
101                     <execution>
102                         <id>mojo-descriptor</id>
103                         <goals>
104                             <goal>descriptor</goal>
105                         </goals>
106                     </execution>
107                 </executions>
108             </plugin>
109         </plugins>
110     </build>
111
112 </project>