Merge "Improvements REST documentation generation"
[yangtools.git] / yang / yang-maven-plugin / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set et smarttab sw=4 tabstop=4: -->
3 <!--
4  Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
5
6  This program and the accompanying materials are made available under the
7  terms of the Eclipse Public License v1.0 which accompanies this distribution,
8  and is available at http://www.eclipse.org/legal/epl-v10.html
9 -->
10 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
11
12     <parent>
13         <groupId>org.opendaylight.yangtools</groupId>
14         <artifactId>yangtools-parent</artifactId>
15         <version>0.6.2-SNAPSHOT</version>
16         <relativePath>/../../common/parent/pom.xml</relativePath>
17     </parent>
18
19     <modelVersion>4.0.0</modelVersion>
20     <artifactId>yang-maven-plugin</artifactId>
21     <packaging>maven-plugin</packaging>
22     <description>
23         This plugin is a wrapper for "yang to source code" generation.
24         It can be configured by a set of third-party code generators and resource providers.
25         For further info see available goals.
26         Sample usage:
27
28         TODO: add sample usage when finished
29     </description>
30
31     <dependencies>
32         <dependency>
33             <groupId>org.apache.maven</groupId>
34             <artifactId>maven-core</artifactId>
35         </dependency>
36         <dependency>
37             <groupId>org.apache.maven</groupId>
38             <artifactId>maven-plugin-api</artifactId>
39         </dependency>
40         <dependency>
41             <groupId>org.apache.maven.plugin-tools</groupId>
42             <artifactId>maven-plugin-annotations</artifactId>
43             <version>3.2</version>
44             <scope>provided</scope>
45         </dependency>
46         <dependency>
47             <groupId>org.apache.maven</groupId>
48             <artifactId>maven-artifact</artifactId>
49             <version>2.0</version>
50         </dependency>
51         <dependency>
52             <groupId>com.jcabi</groupId>
53             <artifactId>jcabi-maven-slf4j</artifactId>
54             <version>0.8</version>
55         </dependency>
56         <dependency>
57             <groupId>${project.groupId}</groupId>
58             <artifactId>yang-parser-impl</artifactId>
59         </dependency>
60         <dependency>
61             <groupId>${project.groupId}</groupId>
62             <artifactId>yang-maven-plugin-spi</artifactId>
63         </dependency>
64
65         <dependency>
66             <groupId>org.sonatype.plexus</groupId>
67             <artifactId>plexus-build-api</artifactId>
68         </dependency>
69         <dependency>
70             <groupId>org.codehaus.plexus</groupId>
71             <artifactId>plexus-slf4j-logging</artifactId>
72         </dependency>
73
74         <dependency>
75             <groupId>commons-io</groupId>
76             <artifactId>commons-io</artifactId>
77         </dependency>
78
79         <dependency>
80             <groupId>${project.groupId}</groupId>
81             <artifactId>yang-maven-plugin-spi</artifactId>
82             <version>${project.version}</version>
83             <type>test-jar</type>
84             <scope>test</scope>
85         </dependency>
86         <dependency>
87             <groupId>org.mockito</groupId>
88             <artifactId>mockito-all</artifactId>
89             <scope>test</scope>
90         </dependency>
91         <dependency>
92             <groupId>junit</groupId>
93             <artifactId>junit</artifactId>
94             <scope>test</scope>
95         </dependency>
96     </dependencies>
97
98     <dependencyManagement>
99         <dependencies>
100             <dependency>
101                 <groupId>org.sonatype.sisu</groupId>
102                 <artifactId>sisu-inject-plexus</artifactId>
103                 <version>2.5.0</version>
104             </dependency>
105         </dependencies>
106     </dependencyManagement>
107
108     <reporting>
109         <plugins>
110             <plugin>
111                 <groupId>org.apache.maven.plugins</groupId>
112                 <artifactId>maven-plugin-plugin</artifactId>
113                 <version>3.2</version>
114             </plugin>
115         </plugins>
116     </reporting>
117
118     <build>
119         <plugins>
120             <plugin>
121                 <groupId>org.apache.felix</groupId>
122                 <artifactId>maven-bundle-plugin</artifactId>
123                 <configuration>
124                     <supportedProjectTypes>
125                         <supportedProjectType>maven-plugin</supportedProjectType>
126                     </supportedProjectTypes>
127                 </configuration>
128             </plugin>
129             <plugin>
130                 <groupId>org.apache.maven.plugins</groupId>
131                 <artifactId>maven-plugin-plugin</artifactId>
132                 <version>3.2</version>
133                 <configuration>
134                     <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
135                 </configuration>
136                 <executions>
137                     <execution>
138                         <id>mojo-descriptor</id>
139                         <goals>
140                             <goal>descriptor</goal>
141                         </goals>
142                     </execution>
143                 </executions>
144             </plugin>
145         </plugins>
146     </build>
147
148 </project>