Merge "Fix for Bug 495."
[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>yang</artifactId>
15         <version>0.6.2-SNAPSHOT</version>
16     </parent>
17
18     <modelVersion>4.0.0</modelVersion>
19     <artifactId>yang-maven-plugin</artifactId>
20     <packaging>maven-plugin</packaging>
21     <description>
22         This plugin is a wrapper for "yang to source code" generation.
23         It can be configured by a set of third-party code generators and resource providers.
24         For further info see available goals.
25         Sample usage:
26
27         TODO: add sample usage when finished
28     </description>
29
30     <dependencies>
31         <dependency>
32             <groupId>org.apache.maven</groupId>
33             <artifactId>maven-core</artifactId>
34         </dependency>
35         <dependency>
36             <groupId>org.apache.maven</groupId>
37             <artifactId>maven-plugin-api</artifactId>
38         </dependency>
39         <dependency>
40             <groupId>org.apache.maven.plugin-tools</groupId>
41             <artifactId>maven-plugin-annotations</artifactId>
42             <version>3.2</version>
43             <scope>provided</scope>
44         </dependency>
45         <dependency>
46             <groupId>org.apache.maven</groupId>
47             <artifactId>maven-artifact</artifactId>
48             <version>2.0</version>
49         </dependency>
50         <dependency>
51             <groupId>com.jcabi</groupId>
52             <artifactId>jcabi-maven-slf4j</artifactId>
53             <version>0.8</version>
54         </dependency>
55         <dependency>
56             <groupId>${project.groupId}</groupId>
57             <artifactId>yang-parser-impl</artifactId>
58         </dependency>
59         <dependency>
60             <groupId>${project.groupId}</groupId>
61             <artifactId>yang-maven-plugin-spi</artifactId>
62         </dependency>
63
64         <dependency>
65             <groupId>org.sonatype.plexus</groupId>
66             <artifactId>plexus-build-api</artifactId>
67         </dependency>
68         <dependency>
69             <groupId>org.codehaus.plexus</groupId>
70             <artifactId>plexus-slf4j-logging</artifactId>
71         </dependency>
72
73         <dependency>
74             <groupId>commons-io</groupId>
75             <artifactId>commons-io</artifactId>
76         </dependency>
77
78         <dependency>
79             <groupId>${project.groupId}</groupId>
80             <artifactId>yang-maven-plugin-spi</artifactId>
81             <version>${project.version}</version>
82             <type>test-jar</type>
83             <scope>test</scope>
84         </dependency>
85         <dependency>
86             <groupId>org.mockito</groupId>
87             <artifactId>mockito-all</artifactId>
88             <scope>test</scope>
89         </dependency>
90         <dependency>
91             <groupId>junit</groupId>
92             <artifactId>junit</artifactId>
93             <scope>test</scope>
94         </dependency>
95     </dependencies>
96
97     <dependencyManagement>
98         <dependencies>
99             <dependency>
100                 <groupId>org.sonatype.sisu</groupId>
101                 <artifactId>sisu-inject-plexus</artifactId>
102                 <version>2.5.0</version>
103             </dependency>
104         </dependencies>
105     </dependencyManagement>
106
107     <reporting>
108         <plugins>
109             <plugin>
110                 <groupId>org.apache.maven.plugins</groupId>
111                 <artifactId>maven-plugin-plugin</artifactId>
112                 <version>3.2</version>
113             </plugin>
114         </plugins>
115     </reporting>
116
117     <build>
118         <plugins>
119             <plugin>
120                 <groupId>org.apache.felix</groupId>
121                 <artifactId>maven-bundle-plugin</artifactId>
122                 <configuration>
123                     <supportedProjectTypes>
124                         <supportedProjectType>maven-plugin</supportedProjectType>
125                     </supportedProjectTypes>
126                 </configuration>
127             </plugin>
128             <plugin>
129                 <groupId>org.apache.maven.plugins</groupId>
130                 <artifactId>maven-plugin-plugin</artifactId>
131                 <version>3.2</version>
132                 <configuration>
133                     <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
134                 </configuration>
135                 <executions>
136                     <execution>
137                         <id>mojo-descriptor</id>
138                         <goals>
139                             <goal>descriptor</goal>
140                         </goals>
141                     </execution>
142                 </executions>
143             </plugin>
144         </plugins>
145     </build>
146
147 </project>